rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvAxisElement Class Reference

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

#include <ilviews/charts/graphic.h>

Inheritance diagram for IlvAxisElement:
IlvAbscissaAxisElement

List of all members.

Public Member Functions

 IlvAxisElement (IlvChartGraphic *parent, IlvCoordinateInfo *info, IlvAxisCrossing *crossing)
 Constructor.
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.
void setGrid (IlvAbstractGridDisplayer *griddisplayer)
 Set the IlvAbstractGridDisplayer for this element.
virtual void setScale (IlvAbstractScaleDisplayer *scaledisp)
 Set the IlvAbstractScaleDisplayer for this element.

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:
parent the IlvChartGraphic this element is attached to.
info the IlvCoordinateInfo for this element.
crossing the 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:
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.

Parameters:
griddisplayer the 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:
scaledisp the new IlvAbstractScaleDisplayer this element will use.

Reimplemented in IlvAbscissaAxisElement.


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