A model class. More...
#include <ilviews/dataccess/gadgets/chartmodel.h>
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... | |
| IliChartGraphic * | getChartGraphic () 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 IliValue & | getPropertyValue (const char *name) const |
| Returns a property value. More... | |
| const IliValue & | getPropertyValue (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... | |
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.
| IliChartSeriesModel::IliChartSeriesModel | ( | ) |
Constructor of the IliChartSeriesModel class.
Initializes an IliChartSeriesModel object.
|
virtual |
Called to compute the series color name.
| id | The data set identifier. |
|
virtual |
Called to compute the series displayer.
| id | The data set identifier. |
getDefaultDisplayer function of the IliChartGraphic class. | IliChartGraphic* IliChartSeriesModel::getChartGraphic | ( | ) | const |
Returns the IliChartDataModel object which is connected to this model.
IliChartGraphic object which is connected to this model.