Rogue Wave Views |
Rogue Wave Views Documentation Home |
Class holding all components of a chart axis. More...
#include <ilviews/charts/graphic.h>
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... | |
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.
IlvAxisElement::IlvAxisElement | ( | IlvChartGraphic * | parent, |
IlvCoordinateInfo * | info, | ||
IlvAxisCrossing * | crossing | ||
) |
Constructor.
Create a new IlvAxisElement
attached to the specified IlvChartGraphic
.
parent | the IlvChartGraphic this element is attached to. |
info | the IlvCoordinateInfo for this element. |
crossing | the IlvAxisCrossing for this element. |
void IlvAxisElement::setAxisCrossing | ( | IlvAxisCrossing * | crossing | ) |
Set the IlvAxisCrossing
for this element.
The previously set IlvAxisCrossing
is deleted.
crossing | the new IlvAxisCrossing this element will use. |
void IlvAxisElement::setGrid | ( | IlvAbstractGridDisplayer * | griddisplayer | ) |
Set the IlvAbstractGridDisplayer
for this element.
The previously set IlvAbstractGridDisplayer
is deleted.
griddisplayer | the new IlvAbstractGridDisplayer this element will use. |
|
virtual |
Set the IlvAbstractScaleDisplayer
for this element.
The previously set IlvAbstractScaleDisplayer
is deleted.
scaledisp | the 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.