Click or drag to resize
NChartValueAxis Methods

The NChartValueAxis type exposes the following members.

Methods
  NameDescription
Public methodAddMark
Add axis mark.
Public methodCalcOptimalMinTickSpacing
Calculate optimal value for MinTickSpacing. Use this method if you want to get MinTickSpacing that corresponds to the actual lengths of axis ticks' labels. You should call this method _after_ the UpdateData call of the chart, because this method operates with the data obtained from data source. If you call it before the data are updated, the result will be wrong.
Public methodEquals (Inherited from Object.)
Public methodFitZoomByMinTickSpacing
Fit the zoom according to the current MinTickSpacing. Use this method if you want to zoom the chart so that the maximal number of points is visible with no skipping of ticks on the axis. This method requires frame of the chart to be determined. So if you call this method before the chart's layout, it will fail. If you want the axes to be automatically zoomed according to the MinTickSpacing, use the flag ShouldAutoFitZoomByMinTickSpacing.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemoveAllMarks
Remove all axis marks.
Public methodRemoveMark
Remove axis mark.
Public methodToString (Inherited from Object.)
Public methodZoomToRegion(Single, Single, Single, Single)
Zoom to given region by specifying the least and the greatest values that should be visible on the axis. If the axis has array of ticks indices in this array can be used. Use this method after you updated data of the chart with UpdateData call.
Public methodZoomToRegion(DateTimeOffset, DateTimeOffset, Single, Single)
Zoom to given region by specifying the earliest and the latest dates that should be visible on the axis. This method works in date mode only, if property HasDates is true. Use this method after you updated data of the chart with UpdateData call.
Top
See Also