CustomLabel Konstruktory

Definice

Vytvoří novou instanci CustomLabel třídy.

Přetížení

Name Description
CustomLabel()

Vytvoří novou instanci CustomLabel třídy.

CustomLabel(Double, Double, String, Int32, LabelMarkStyle)

Inicializuje novou instanci CustomLabel třídy se zadaným fromPosition, toPosition, text, labelRow, a markStyle parametry.

CustomLabel(Double, Double, String, Int32, LabelMarkStyle, GridTickTypes)

Inicializuje novou instanci CustomLabel třídy se zadaným fromPosition, toPosition, text, labelRowmarkStyle , a gridTick parametry.

CustomLabel()

Vytvoří novou instanci CustomLabel třídy.

public:
 CustomLabel();
public CustomLabel();
Public Sub New ()

Poznámky

Tento konstruktor lze použít k vytvoření a inicializaci nové instance CustomLabel třídy.

K přidání vlastních popisků však doporučujeme použít některou z Add metod ve CustomLabelsCollection třídě.

Platí pro

CustomLabel(Double, Double, String, Int32, LabelMarkStyle)

Inicializuje novou instanci CustomLabel třídy se zadaným fromPosition, toPosition, text, labelRow, a markStyle parametry.

public:
 CustomLabel(double fromPosition, double toPosition, System::String ^ text, int labelRow, System::Windows::Forms::DataVisualization::Charting::LabelMarkStyle markStyle);
public CustomLabel(double fromPosition, double toPosition, string text, int labelRow, System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle markStyle);
new System.Windows.Forms.DataVisualization.Charting.CustomLabel : double * double * string * int * System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle -> System.Windows.Forms.DataVisualization.Charting.CustomLabel
Public Sub New (fromPosition As Double, toPosition As Double, text As String, labelRow As Integer, markStyle As LabelMarkStyle)

Parametry

fromPosition
Double

Začátek rozsahu osy, na který se popisek vztahuje.

toPosition
Double

Konec rozsahu osy, na který se popisek vztahuje.

text
String

Text popisku.

labelRow
Int32

Index řádku popisku.

markStyle
LabelMarkStyle

Styl značky popisku.

Platí pro

CustomLabel(Double, Double, String, Int32, LabelMarkStyle, GridTickTypes)

Inicializuje novou instanci CustomLabel třídy se zadaným fromPosition, toPosition, text, labelRowmarkStyle , a gridTick parametry.

public:
 CustomLabel(double fromPosition, double toPosition, System::String ^ text, int labelRow, System::Windows::Forms::DataVisualization::Charting::LabelMarkStyle markStyle, System::Windows::Forms::DataVisualization::Charting::GridTickTypes gridTick);
public CustomLabel(double fromPosition, double toPosition, string text, int labelRow, System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle markStyle, System.Windows.Forms.DataVisualization.Charting.GridTickTypes gridTick);
new System.Windows.Forms.DataVisualization.Charting.CustomLabel : double * double * string * int * System.Windows.Forms.DataVisualization.Charting.LabelMarkStyle * System.Windows.Forms.DataVisualization.Charting.GridTickTypes -> System.Windows.Forms.DataVisualization.Charting.CustomLabel
Public Sub New (fromPosition As Double, toPosition As Double, text As String, labelRow As Integer, markStyle As LabelMarkStyle, gridTick As GridTickTypes)

Parametry

fromPosition
Double

Začátek rozsahu osy, na který se popisek vztahuje.

toPosition
Double

Konec rozsahu osy, na který se popisek vztahuje.

text
String

Text popisku.

labelRow
Int32

Index řádku popisku.

markStyle
LabelMarkStyle

Styl značky popisku.

gridTick
GridTickTypes

Příznak vlastní mřížky a/nebo značky.

Platí pro