Chart Class

Main class for the charts. More...

Header: #include <Chart>

Public Types

enum ChartType { CT_Area, CT_Area3D, CT_Line, CT_Line3D, ..., CT_Bar3D }

Public Functions

~Chart()
void addSeries(const CellRange & range, AbstractSheet * sheet = 0)
void setChartType(ChartType type)

Detailed Description

Main class for the charts.

Member Type Documentation

enum Chart::ChartType

ConstantValueDescription
Chart::CT_Area1 
Chart::CT_Area3D2,
Chart::CT_Line3,
Chart::CT_Line3D4,
Chart::CT_Scatter7,
Chart::CT_Pie8,
Chart::CT_Pie3D9,
Chart::CT_Doughnut10,
Chart::CT_Bar11,
Chart::CT_Bar3D12,

, , , , ,

Member Function Documentation

Chart::~Chart()

Destroys the chart.

void Chart::addSeries(const CellRange & range, AbstractSheet * sheet = 0)

Add the data series which is in the range range of the sheet.

void Chart::setChartType(ChartType type)

Set the type of the chart to type