Class ChartFormatAxisLabelEventArgs
Argument that is to be used with ChartControl.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartFormatAxisLabelEventArgs : EventArgs
Constructors
ChartFormatAxisLabelEventArgs(String, Double, ChartAxis)
Initializes a new instance of ChartFormatAxisLabelEventArgs class.
Declaration
public ChartFormatAxisLabelEventArgs(string label, double value, ChartAxis axis)
Parameters
Type | Name | Description |
---|---|---|
System.String | label | The text of the label. |
System.Double | value | The value of the point associated with the label. |
ChartAxis | axis | The axis associated with the label. |
Properties
Axis
Gets the Chart axis.
Declaration
public ChartAxis Axis { get; }
Property Value
Type | Description |
---|---|
ChartAxis | The axis. |
AxisLabelPlacement
Gets or sets a value indicates whether every label is located Right or Left of Y-axis and Top or Bottom of X-Axis line.
Declaration
public ChartPlacement AxisLabelPlacement { get; set; }
Property Value
Type |
---|
ChartPlacement |
AxisOrientation
Returns the orientation of the axis for which the label is being generated.
Declaration
public ChartOrientation AxisOrientation { get; }
Property Value
Type |
---|
ChartOrientation |
Handled
Indicates whether this event was handled and no further processing is required from the chart.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAxisPrimary
Indicates whether the axis for which the label is being generated is a primary axis.
Declaration
public bool IsAxisPrimary { get; }
Property Value
Type |
---|
System.Boolean |
Label
Gets or sets the label that is to be rendered.
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
ToolTip
Gets or sets the tooltip for the label that is to be rendered.
Declaration
public string ToolTip { get; set; }
Property Value
Type |
---|
System.String |
Value
Returns the value associated with the position of the label.
Declaration
public double Value { get; }
Property Value
Type |
---|
System.Double |
ValueAsDate
Returns the value associated with the position of the label as DateTime.
Declaration
public DateTime ValueAsDate { get; }
Property Value
Type |
---|
System.DateTime |