-
Notifications
You must be signed in to change notification settings - Fork 14
Axis
RadialAxis / XAxis / YAxis
This class contains methods and properties related to the Radial-, the X- and the Y-Axis.
- none
The following sections contain a detailed description of the methods and properties.
In this property you can control the type of the axis.
Usually, the default value gives satisfactory results.
This property is not available for radial axis.
- (not defined)
- linear
- logarithmic
- category
- time
- timeseries
- (not defined) This will lead to "linear" for dates and numbers and "category" for textual values.
myChart.Chart.XAxis.AxisType = chAxisType.atLogarithmic
--
With this property you can specify if the axis starts with zero instead of the smallest value.
False
myChart.Chart.XAxis.BeginAtZero= True
In this property you pass the text for the label of the axis.
This property is not used by radial axis.
--
myChart.Chart.XAxis.LabelText = "Demo for x-axes label"
With this property you can specify if an axis is shown.
The default value depends on the chart type:
- Line, Bar, Bubble, Scatter: True
- Radar, Doughnut, Pie, PolarArea: False
myChart.Chart.XAxis.Show = True
This property allows you to control the increment of the ticks on the axis.
--
myChart.Chart.XAxis.StepSize = 2
In this property you pass the maximum value for the ticks of the axis. This can be a number, a date or the name of a category.
In polar and radar charts only, numbers are allowed.
--
myChart.Chart.XAxis.TicksMax = 2
StepSize, TicksMin, BeginAtZero
In this property you pass the minimum value for the ticks of the axis. This can be a number, a date or the name of a category.
In polar and radar charts only, numbers are allowed.
--
myChart.Chart.XAxis.TicksMin = 2