Class ChartAxis
Represents the chart axis common properties and base of Horizontal and Radial Axis.
Implements
Inherited Members
Namespace: Syncfusion.WinForms.SmithChart
Assembly: Syncfusion.SfSmithChart.WinForms.dll
Syntax
public class ChartAxis : IDisposable
Constructors
ChartAxis(SfSmithChart)
Initializes a new instance of the ChartAxis class.
Declaration
public ChartAxis(SfSmithChart chart)
Parameters
| Type | Name | Description |
|---|---|---|
| SfSmithChart | chart | instance of SfSmithChart |
Properties
AxisLineVisible
Gets or sets a value indicating whether the axis line is visible.
Declaration
public bool AxisLineVisible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
LabelIntersectAction
Gets or sets the intersect action for axis labels.
Declaration
public LabelIntersectActions LabelIntersectAction { get; set; }
Property Value
| Type |
|---|
| LabelIntersectActions |
LabelPlacement
Gets or sets the axis label position.
Declaration
public LabelPlacement LabelPlacement { get; set; }
Property Value
| Type |
|---|
| LabelPlacement |
MajorGridlinesVisible
Gets or sets a value indicating whether the major grid lines are visible.
Declaration
public bool MajorGridlinesVisible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
MinorGridlinesCount
Gets or sets the maximum minor grid lines render per 100 pixels
Declaration
public int MinorGridlinesCount { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
MinorGridlinesVisible
Gets or sets a value indicating whether the minor grid lines are visible.
Declaration
public bool MinorGridlinesVisible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Style
Gets or sets the AxisStyle value used to customize the appearance of the axes.
Declaration
public AxisStyle Style { get; set; }
Property Value
| Type |
|---|
| AxisStyle |
Visible
Gets or sets a value indicating whether chart axis is visible.
Declaration
public bool Visible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
OnAxisLabelCreated(ChartAxisLabelEventArgs)
Axis Label created event, to customize the axis label.
Declaration
protected void OnAxisLabelCreated(ChartAxisLabelEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartAxisLabelEventArgs | args | Axis label event arguments |
Events
LabelCreated
Customizing the ChartAxis label text and styles.
Declaration
public event EventHandler LabelCreated
Event Type
| Type |
|---|
| System.EventHandler |