INChartValueAxisDataSource Methods |
The INChartValueAxisDataSource type exposes the following members.
Name | Description | |
---|---|---|
DateStep |
Get date step value for axis. If there is no implementation, the step, min and max values are beautified.
This method is called in date mode of the value axis only. See HasDates property of the NChartValueAxis for details.
| |
DateToString |
Convert date to string.
| |
DoubleToString |
Convert double value to string.
| |
ExtraTicks |
Get array of extra ticks for discrete axis.
Use this method to provide additional ticks for axis. This method is called after you call NChart.ExtendData().
The ticks from the array returned are _added_ to the axis' array of ticks, so axis will have more data.
The maximal length of ticks array is determined by PointsHistoryLength property of NChart.
Due to performance reasons you won't have access to the newly created ticks through the Ticks
property of the NChartValueAxis.
| |
Length |
Get length of axis in 3D scene units. If there is no implementation 1 is used. See length of NChartValueAxis for
details.
| |
Max |
Get the maximal value for the axis. If there is no implementation the axis is assumed to be discrete and you should
provide an array of ticks. If neither min and max nor an array of ticks are provided the axis is assumed to be
continuous and both min and max are calculated automatically based on the values for the series.
| |
MaxDate |
Get the maximal date for the axis. If there is no implementation, both min and max are calculated automatically based
on the date from the series.
This method is called in date mode of the value axis only. See HasDates property of the NChartValueAxis for details.
| |
Min |
Get the minimal value for the axis. If there is no implementation the axis is assumed to be discrete and you should
provide an array of ticks. If neither min and max nor an array of ticks are provided the axis is assumed to be
continuous and both min and max are calculated automatically based on the values for the series.
| |
MinDate |
Get the minimal date for the axis. If there is no implementation, both min and max are calculated automatically based
on the date from the series.
This method is called in date mode of the value axis only. See HasDates property of the NChartValueAxis for details.
| |
Name |
Get the name that is displayed in the axis' caption.
| |
Step |
Get step value for axis. If there is no implementation the step min and max values are beautified.
| |
Ticks |
Get array of ticks for the discrete axis. You should provide it if min and max are not implemented. If they are
implemented the array of ticks is ignored. If neither min and max nor the array of ticks are provided axis is
assumed to be continuous and both min and max are calculated automatically based on the values for the series.
|