Base class for the logic used to compute the scale on the charts. There are two
implementations provided and you are free to implement your own if you do not like
the default implementations provided.
round(double value, double powerOfTen) Rounds the passed value by the power of ten specified
Parameters: value - the value to round Parameters: powerOfTen - the product of 10 times the rounding property.
protected void
roundTheIncrement(double powerOfTen) Rounds the scale increment up by the power of ten specified in the properties.
Drives the computation of the axis increment and related values taking into account the
user specified rounding criteria.
So if you specify to round to the nearest 100 and give an increment of 2.5, the increment
will become 100.
Rounds the passed value by the power of ten specified
Parameters: value - the value to round Parameters: powerOfTen - the product of 10 times the rounding property. double the rounded result