rwlogo

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

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

A model class. More...

#include <ilviews/dataccess/gadgets/chartmodel.h>

Inheritance diagram for IliChartSeriesModel:
IliModel

Public Member Functions

 IliChartSeriesModel ()
 Constructor of the IliChartSeriesModel class. More...
 
virtual const char * computeSeriesColor (const IliDataSetIdentifier &id) const
 Called to compute the series color name. More...
 
virtual IlvAbstractChartDisplayer * computeSeriesDisplayer (const IliDataSetIdentifier &id) const
 Called to compute the series displayer. More...
 
IliChartGraphicgetChartGraphic () const
 Returns the IliChartDataModel object which is connected to this model. More...
 
- Public Member Functions inherited from IliModel
 IliModel ()
 The constructor initializes a new IliModel instance.
 
IlInt declareProperty (const IliDatatype *typ, const char *name, const char *title, IlBoolean pub)
 Declares a new property. More...
 
virtual void defineProperties ()
 Called to define the list of properties. More...
 
virtual const char * getLabel () const =0
 Returns the model label, it is used by the gadget inspector. More...
 
virtual const char * getMappingInspectorModelName () const
 Returns the mapping inspector model name. More...
 
virtual const char * getName () const
 Returns the model name. More...
 
IlInt getPropertyCount () const
 Returns the property count. More...
 
IlInt getPropertyIndex (const char *name) const
 Returns a property index. More...
 
const char * getPropertyName (IlInt index) const
 Returns a property name. More...
 
const IliValuegetPropertyValue (const char *name) const
 Returns a property value. More...
 
const IliValuegetPropertyValue (IlInt index) const
 Returns a property value. More...
 
virtual IlBoolean isPublic () const
 Returns the model visibility. More...
 
void setPropertyValue (const char *name, const IliValue &val)
 Sets a property value. More...
 
void setPropertyValue (IlInt index, const IliValue &val)
 Sets a property value. More...
 

Detailed Description

A model class.

Library: dbchart

The class defines a chart Series model. A chart series model is used by the IliChartGraphic class to handle the series. There is one predefined model: IliChartSeriesModel.

See Also
IliChartGraphic, IliChartSeriesModel, IliModel, IliGadgetModel.

Constructor & Destructor Documentation

IliChartSeriesModel::IliChartSeriesModel ( )

Constructor of the IliChartSeriesModel class.

Initializes an IliChartSeriesModel object.

Member Function Documentation

virtual const char* IliChartSeriesModel::computeSeriesColor ( const IliDataSetIdentifier id) const
virtual

Called to compute the series color name.

Parameters
idThe data set identifier.
Returns
The series color name.
virtual IlvAbstractChartDisplayer* IliChartSeriesModel::computeSeriesDisplayer ( const IliDataSetIdentifier id) const
virtual

Called to compute the series displayer.

Parameters
idThe data set identifier.
Returns
The series displayer, by default this function returns the result of the getDefaultDisplayer function of the IliChartGraphic class.
IliChartGraphic* IliChartSeriesModel::getChartGraphic ( ) const

Returns the IliChartDataModel object which is connected to this model.

Returns
The IliChartGraphic object which is connected to this model.

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