rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvCartesianChart Class Reference

Implementation of predefined Cartesian charts. More...

#include <ilviews/charts/simplegr.h>

Inheritance diagram for IlvCartesianChart:
IlvChartGraphic IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IlvCartesianChart (IlvDisplay *display, const IlvRect &bbox, IlBoolean useGrid=IlFalse, IlvCartesianProjector::Orientation orientation=IlvCartesianProjector::IlvXRightYTop, IlvPalette *palette=0, IlvPalette *gridPalette=0)
 Constructor.

Detailed Description

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:

img_cartesian.gif
See also:
IlvChartGraphic.

Constructor & Destructor Documentation

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.

Parameters:
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).
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.