Sdílet prostřednictvím


CustomLabel Konstruktory

Definice

Vytvoří novou instanci třídy CustomLabel.

Přetížení

CustomLabel()

Vytvoří novou instanci třídy CustomLabel.

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

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

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

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

CustomLabel()

Vytvoří novou instanci třídy CustomLabel.

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

Poznámky

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

Doporučuje se ale použít jednu z Add metod ve CustomLabelsCollection třídě k přidání vlastních popisků.

Platí pro

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

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

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 vztahuje popisek.

toPosition
Double

Konec rozsahu osy, na který se vztahuje popisek.

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ými fromPosition parametry,,, toPosition text labelRow markStyle a gridTick .

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 vztahuje popisek.

toPosition
Double

Konec rozsahu osy, na který se vztahuje popisek.

text
String

Text popisku

labelRow
Int32

Index řádku popisku

markStyle
LabelMarkStyle

Styl značky popisku

gridTick
GridTickTypes

Příznak vlastní čáry mřížky a značky zaškrtnutí.

Platí pro