Base class for computing the graduations of a scale.
More...
#include <ilviews/charts/scaledis.h>
|
class | IlvSingleScaleDisplayer |
|
Base class for computing the graduations of a scale.
Library: ilvcharts
IlvScaleStepsUpdater
is an abstract base class that allows you to compute the steps and the substeps for a single scale.
- See also
IlvNamedProperty
, IlvSingleScaleDisplayer
.
Constructor.
Initializes a new IlvScaleStepsUpdater
object.
- Parameters
-
scale | The scale associated with the current scale steps updater. |
Checks whether an interval is valid with respect to the step definition.
Called whenever the range of the coordinate associated with the current scale is modified. With this method, you can modify the interval range so that it becomes consistent with the steps definition. The default implementation simply returns IlTrue
.
- Parameters
-
- Returns
IlFalse
if the range was not correct and had to be modified, and IlTrue
otherwise.
Reimplemented in IlvLogScaleStepsUpdater, and IlvConstantScaleStepsUpdater.
virtual char* IlvScaleStepsUpdater::computeStepLabel |
( |
IlDouble |
value | ) |
const |
|
virtual |
Returns the scale steps updater set on a given scale.
- Returns
- A pointer to the scale steps updater set on a given scale. This scale steps updater is the one used to compute the graduations for the scale.
- Parameters
-
scale | The scale on which the returned scale steps updater is set. |
Returns the scale associated with the current scale steps updater.
- Returns
- The scale associated with the current scale steps updater.
virtual void IlvScaleStepsUpdater::getStepSubStepValues |
( |
const IlvProjectorArea & |
area, |
|
|
IlUInt & |
stepsCount, |
|
|
IlDouble *& |
stepValues, |
|
|
IlUInt & |
subStepsCount, |
|
|
IlDouble *& |
subStepValues |
|
) |
| const |
|
pure virtual |
Removes the scale steps updater set on a given scale.
- Parameters
-
scale | The scale for which the scale steps updater is removed. |
Sets a scale steps updater on a given scale.
The scale steps updater updater will be used to compute the graduations for the scale scale.
- Parameters
-
scale | The scale on which the scale steps updater updater is set. |
updater | The new scale steps updater that is set on the scale scale. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.