ChartDirector 6.0 (C++ Edition)
void setMinTickInc(double inc);
Sets the minimum distance between two ticks on the axis for auto-scaled axis.
The most common use of this method is to ensure the ticks are of integer values (the minimum distance set to 1).
ChartDirector auto-scaling will automatically determine the optimal number of ticks and labels on the axis. However, in some cases, the nature of the data may be such that the ticks should assume only certain discrete values (such as must be integers). This method will inform ChartDirector for this constraint when performing auto-scaling.
For a log scale axis, because the axis ticks are unevenly spaced, the minimum distance will be treated as the minimum value allowed for the axis scale.
|inc||(Mandatory)||The minimum distance between two ticks on the axis as a data value.
© 2017 Advanced Software Engineering Limited. All rights reserved.