Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Implementation of predefined Cartesian charts. More...
#include <ilviews/charts/simplegr.h>
Public Member Functions | |
IlvCartesianChart (IlvDisplay *display, const IlvRect &bbox, IlBoolean useGrid=IlFalse, IlvCartesianProjector::Orientation orientation=IlvCartesianProjector::IlvXRightYTop, IlvPalette *palette=0, IlvPalette *gridPalette=0) | |
Constructor. |
Implementation of predefined Cartesian charts.
Library: ilvcharts
This class is a subclass of IlvChartGraphic
which allows you to display a Cartesian chart.
A Cartesian chart represents data in a standard way: the data are expressed in Cartesian coordinates (x, y). The abscissa and ordinate scales which represent the x-and y-coordinates, respectively, are orthogonal.
Example of a Cartesian chart:
IlvChartGraphic
. IlvCartesianChart::IlvCartesianChart | ( | IlvDisplay * | display, | |
const IlvRect & | bbox, | |||
IlBoolean | useGrid = IlFalse , |
|||
IlvCartesianProjector::Orientation | orientation = IlvCartesianProjector::IlvXRightYTop , |
|||
IlvPalette * | palette = 0 , |
|||
IlvPalette * | gridPalette = 0 | |||
) |
Constructor.
Initializes a new IlvCartesianChart
object. The constructor creates a Cartesian chart with two default scales. The associated projector is an instance of IlvCartesianProjector
and the scales are instances of IlvRectangularScaleDisplayer
.
display | The display connection that will handle the drawing of this object. | |
bbox | The initial bounding box of the chart graphic. | |
useGrid | A Boolean indicating whether grids should be added to the created scales. | |
orientation | The orientation of the Cartesian projector. | |
palette | The palette associated with the chart. | |
gridPalette | The palette associated with the grids (meaningful only if useGrid is equal to IlTrue ). |
© 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.