ChartConfig Class Reference
[Charts example]

A class that allows configuration of a cartesian chart. More...

#include <ChartConfig.h>

Inheritance diagram for ChartConfig:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ChartConfig (Wt::Chart::WCartesianChart *chart, Wt::WContainerWidget *parent)
 Constructor.
void setValueFill (Wt::Chart::FillRangeType fill)

Private Member Functions

void connectSignals (Wt::WFormWidget *w)
void update ()

Static Private Member Functions

static bool validate (Wt::WFormWidget *w)

Private Attributes

Wt::Chart::WCartesianChart * chart_
Wt::Chart::FillRangeType fill_
std::vector< SeriesControl > seriesControls_
 Controls for series.
std::vector< AxisControl > axisControls_
 Controls for axes.
Wt::WLineEdit * titleEdit_
Wt::WLineEdit * chartWidthEdit_
Wt::WLineEdit * chartHeightEdit_
Wt::WComboBox * chartOrientationEdit_

Classes

struct  AxisControl
 Struct that holds the controls for one axis. More...
struct  SeriesControl
 Struct that holds the controls for one series. More...


Detailed Description

A class that allows configuration of a cartesian chart.

This widget provides forms for configuring chart, series, and axis properties and manipulates the chart according to user settings.

This widget is part of the Wt charts example.

Definition at line 37 of file ChartConfig.h.


Constructor & Destructor Documentation

ChartConfig::ChartConfig ( Wt::Chart::WCartesianChart *  chart,
Wt::WContainerWidget *  parent 
)

Constructor.

Definition at line 52 of file ChartConfig.C.


Member Function Documentation

void ChartConfig::setValueFill ( Wt::Chart::FillRangeType  fill  ) 

Definition at line 333 of file ChartConfig.C.

void ChartConfig::connectSignals ( Wt::WFormWidget *  w  )  [private]

Definition at line 506 of file ChartConfig.C.

void ChartConfig::update (  )  [private]

Definition at line 338 of file ChartConfig.C.

bool ChartConfig::validate ( Wt::WFormWidget *  w  )  [static, private]

Definition at line 494 of file ChartConfig.C.


Member Data Documentation

Definition at line 47 of file ChartConfig.h.

Definition at line 48 of file ChartConfig.h.

Controls for series.

Definition at line 61 of file ChartConfig.h.

std::vector<AxisControl> ChartConfig::axisControls_ [private]

Controls for axes.

Definition at line 75 of file ChartConfig.h.

Definition at line 77 of file ChartConfig.h.

Definition at line 78 of file ChartConfig.h.

Definition at line 79 of file ChartConfig.h.

Definition at line 80 of file ChartConfig.h.


The documentation for this class was generated from the following files:

Generated on Fri Sep 12 16:53:53 2008 for Wt by doxygen 1.5.6