rwlogo

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvAxisElement Class Reference

Class holding all components of a chart axis. More...

#include <ilviews/charts/graphic.h>

Inheritance diagram for IlvAxisElement:
IlvAbscissaAxisElement

Public Member Functions

 IlvAxisElement (IlvChartGraphic *parent, IlvCoordinateInfo *info, IlvAxisCrossing *crossing)
 Constructor. More...
 
IlvAxisCrossing * getAxisCrossing () const
 Return the axis crossing of this element.
 
IlvChartGraphic * getChart () const
 Return the parent chart of this element.
 
IlvCoordinateInfo * getCoordinateInfo () const
 Return the coordinate info of this element.
 
IlvAbstractGridDisplayer * getGrid () const
 Return the grid displayer of this element.
 
IlvAbstractScaleDisplayer * getScale () const
 Return the scale of this element.
 
void setAxisCrossing (IlvAxisCrossing *crossing)
 Set the IlvAxisCrossing for this element. More...
 
void setGrid (IlvAbstractGridDisplayer *griddisplayer)
 Set the IlvAbstractGridDisplayer for this element. More...
 
virtual void setScale (IlvAbstractScaleDisplayer *scaledisp)
 Set the IlvAbstractScaleDisplayer for this element. More...
 

Detailed Description

Class holding all components of a chart axis.

Library: ilvcharts

This class is used to manage all the elements related to a chart axis: scale, coordinate info, crossing, and grid.

Constructor & Destructor Documentation

IlvAxisElement::IlvAxisElement ( IlvChartGraphic *  parent,
IlvCoordinateInfo *  info,
IlvAxisCrossing *  crossing 
)

Constructor.

Create a new IlvAxisElement attached to the specified IlvChartGraphic.

Parameters
parentthe IlvChartGraphic this element is attached to.
infothe IlvCoordinateInfo for this element.
crossingthe IlvAxisCrossing for this element.

Member Function Documentation

void IlvAxisElement::setAxisCrossing ( IlvAxisCrossing *  crossing)

Set the IlvAxisCrossing for this element.

The previously set IlvAxisCrossing is deleted.

Parameters
crossingthe new IlvAxisCrossing this element will use.
void IlvAxisElement::setGrid ( IlvAbstractGridDisplayer *  griddisplayer)

Set the IlvAbstractGridDisplayer for this element.

The previously set IlvAbstractGridDisplayer is deleted.

Parameters
griddisplayerthe new IlvAbstractGridDisplayer this element will use.
virtual void IlvAxisElement::setScale ( IlvAbstractScaleDisplayer *  scaledisp)
virtual

Set the IlvAbstractScaleDisplayer for this element.

The previously set IlvAbstractScaleDisplayer is deleted.

Parameters
scaledispthe new IlvAbstractScaleDisplayer this element will use.

Reimplemented in IlvAbscissaAxisElement.


© Copyright 2015, 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.