Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Class for computing the graduations of a scale. More...
#include <ilviews/charts/scaledis.h>
Public Member Functions | |
IlvZoomScaleStepsUpdater (IlvSingleScaleDisplayer *scale) | |
Constructor. | |
virtual char * | computeStepLabel (IlDouble value) const |
Computes and returns the label displayed for a given data value. | |
virtual void | getStepSubStepValues (const IlvProjectorArea &area, IlUInt &stepsCount, IlDouble *&stepValues, IlUInt &subStepsCount, IlDouble *&subStepValues) const |
Computes and returns the step and substep values for the associated scale. |
Class for computing the graduations of a scale.
Library: ilvcharts
IlvZoomScaleStepsUpdater
is a subclass of IlvScaleStepsUpdater
that allows you to display graduations that are zoomed locally on a part of the scale and that are displayed normally on the rest of the scale.
IlvZoomCoordinateTransformer
type is also set on the coordinate represented by the scale.IlvScaleStepsUpdater
, IlvSingleScaleDisplayer
. IlvZoomScaleStepsUpdater::IlvZoomScaleStepsUpdater | ( | IlvSingleScaleDisplayer * | scale | ) |
Constructor.
Initializes a new IlvZoomScaleStepsUpdater
object.
scale | The scale associated with the current scale steps updater. |
virtual char* IlvZoomScaleStepsUpdater::computeStepLabel | ( | IlDouble | value | ) | const [virtual] |
Computes and returns the label displayed for a given data value.
value | The data value for which the label to be displayed is computed. |
Reimplemented from IlvScaleStepsUpdater.
virtual void IlvZoomScaleStepsUpdater::getStepSubStepValues | ( | const IlvProjectorArea & | area, | |
IlUInt & | stepsCount, | |||
IlDouble *& | stepValues, | |||
IlUInt & | subStepsCount, | |||
IlDouble *& | subStepValues | |||
) | const [virtual] |
Computes and returns the step and substep values for the associated scale.
area | The data area definition. This data area definition can be retrieved with the IlvChartGraphic::getProjectorArea method. | |
stepsCount | Returns the number of major steps. | |
stepValues | Returns the values associated with the major steps. | |
subStepsCount | Returns the number of minor steps. | |
subStepValues | Returns the values associated with the minor steps. |
Implements IlvScaleStepsUpdater.
© Copyright 2012, 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.