Click or drag to resize
INChartValueAxisDataSource Interface
The INChartValueAxisDataSource interface provides methods to control data displayed on value axis.

Namespace:  NChart3D_UWP
Assembly:  NChart3D_UWP (in NChart3D_UWP.dll)
Syntax
public interface INChartValueAxisDataSource

The INChartValueAxisDataSource type exposes the following members.

Methods
  NameDescription
Public methodDateStep
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.
Public methodDateToString
Convert date to string.
Public methodDoubleToString
Convert double value to string.
Public methodExtraTicks
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.
Public methodLength
Get length of axis in 3D scene units. If there is no implementation 1 is used. See length of NChartValueAxis for details.
Public methodMax
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.
Public methodMaxDate
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.
Public methodMin
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.
Public methodMinDate
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.
Public methodName
Get the name that is displayed in the axis' caption.
Public methodStep
Get step value for axis. If there is no implementation the step min and max values are beautified.
Public methodTicks
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.
Top
See Also