Views
Charts Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Macros | Typedefs
scaledis.h File Reference
#include <ilviews/base/value.h>
#include <ilviews/base/string.h>
#include <ilviews/util/proplist.h>
#include <ilviews/charts/macros.h>
#include <ilviews/charts/common.h>

Classes

class  IlvAbstractScaleDisplayer
 Base class for scales. More...
 
class  IlvAutoScaleStepsUpdater
 Class for computing the graduations of a scale. More...
 
class  IlvCircularScaleDisplayer
 Implementation of circular scales. More...
 
class  IlvConstantScaleStepsUpdater
 Class for computing the graduations of a scale. More...
 
class  IlvLogScaleStepsUpdater
 Class for computing the graduations of a scale. More...
 
class  IlvRectangularScaleDisplayer
 Implementation of rectangular scales. More...
 
class  IlvScaleStepsUpdater
 Base class for computing the graduations of a scale. More...
 
class  IlvSingleScaleDisplayer
 Base class for standard scales. More...
 
class  IlvZoomCoordinateTransformer
 Class for computing the graduations of a scale. More...
 
class  IlvZoomScaleStepsUpdater
 Class for computing the graduations of a scale. More...
 

Macros

#define IlvDefaultScaleArrowLength
 
#define IlvDefaultScaleArrowWidth
 
#define IlvDefaultScaleMajorTickSize
 
#define IlvDefaultScaleMinorTickSize
 
#define IlvDefaultScaleOffset
 
#define IlvDefaultStepLabelFormat
 

Typedefs

typedef char *(* IlvValueToLabelCB) (IlDouble, IlAny)
 Defines the type of the callback function used to convert data values into step labels within an IlvAbstractScaleDisplayer object. More...
 

Detailed Description

Library: ilvcharts
Declaration of the classes involved in the scales display.

Macro Definition Documentation

◆ IlvDefaultScaleArrowLength

#define IlvDefaultScaleArrowLength

This constant defines the default length for the arrow at the end of the scale axis.
The value of this constant is 8.

◆ IlvDefaultScaleArrowWidth

#define IlvDefaultScaleArrowWidth

This constant defines the default width for the arrow at the end of the scale axis.
The value of this constant is 8.

◆ IlvDefaultScaleMajorTickSize

#define IlvDefaultScaleMajorTickSize

This constant defines the default size of the tick marks drawn for each step of a scale.
We call steps the main graduations of a scale.
The value of this constant is 4.

◆ IlvDefaultScaleMinorTickSize

#define IlvDefaultScaleMinorTickSize

This constant defines the default size of the tick marks drawn for each substep of a scale.
We call substeps the secondary graduations of a scale.
The value of this constant is 2.

◆ IlvDefaultScaleOffset

#define IlvDefaultScaleOffset

This constant defines the default offset between a graduation (or tick) and its associated label for a scale.
The value of this constant is 4.

◆ IlvDefaultStepLabelFormat

#define IlvDefaultStepLabelFormat

This constant defines the default format for the numerical step labels of a scale.
We call steps the main graduations of a scale.
The value of this constant is "%g".

Typedef Documentation

◆ IlvValueToLabelCB

IlvValueToLabelCB

Defines the type of the callback function used to convert data values into step labels within an IlvAbstractScaleDisplayer object.

Given the data value associated with a step of a scale, the callback function returns the actual label that will be displayed for this step. The returned label must be a valid (not 0) C string allocated with the new operator.