rwlogo

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

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...
 
IlvAxisCrossinggetAxisCrossing () const
 Return the axis crossing of this element.
 
IlvChartGraphicgetChart () const
 Return the parent chart of this element.
 
IlvCoordinateInfogetCoordinateInfo () const
 Return the coordinate info of this element.
 
IlvAbstractGridDisplayergetGrid () const
 Return the grid displayer of this element.
 
IlvAbstractScaleDisplayergetScale () 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 2014, 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.