CustomLabel Constructors

Definition

Creates a new instance of the CustomLabel class.

Overloads

CustomLabel()

Creates a new instance of the CustomLabel class.

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

Initializes a new instance of the CustomLabel class with the specified fromPosition, toPosition, text, labelRow, and markStyle parameters.

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

Initializes a new instance of the CustomLabel class with the specified fromPosition, toPosition, text, labelRow, markStyle and gridTick parameters.

CustomLabel()

Creates a new instance of the CustomLabel class.

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

Remarks

This constructor can be used to create and initialize a new instance of the CustomLabel class.

However, it is recommended that you use one of the Add methods in the CustomLabelsCollection class to add custom labels.

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

Initializes a new instance of the CustomLabel class with the specified fromPosition, toPosition, text, labelRow, and markStyle parameters.

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

Parameters

fromPosition
Double

The beginning of the axis range the label applies to.

toPosition
Double

The end of the axis range the label applies to.

text
String

The label text.

labelRow
Int32

The label row index.

markStyle
LabelMarkStyle

The label mark style.

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

Initializes a new instance of the CustomLabel class with the specified fromPosition, toPosition, text, labelRow, markStyle and gridTick parameters.

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

Parameters

fromPosition
Double

The beginning of the axis range the label applies to.

toPosition
Double

The end of the axis range the label applies to.

text
String

The label text.

labelRow
Int32

The label row index.

markStyle
LabelMarkStyle

The label mark style.

gridTick
GridTickTypes

The custom grid line and/or tick marks flag.

Applies to