NChartValueAxis Methods |
The NChartValueAxis type exposes the following members.
Name | Description | |
---|---|---|
AddMark |
Add axis mark.
| |
CalcOptimalMinTickSpacing |
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.
| |
Equals | (Inherited from Object.) | |
FitZoomByMinTickSpacing |
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.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
RemoveAllMarks |
Remove all axis marks.
| |
RemoveMark |
Remove axis mark.
| |
ToString | (Inherited from Object.) | |
ZoomToRegion(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.
| |
ZoomToRegion(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.
|