7 #ifndef CHART_CONFIG_H_
8 #define CHART_CONFIG_H_
10 #include <Wt/WContainerWidget>
11 #include <Wt/Chart/WDataSeries>
18 class WStandardItemModel;
24 class WCartesianChart;
45 ChartConfig(Wt::Chart::WCartesianChart *chart, Wt::WContainerWidget *parent);
101 void addAxis(Wt::Chart::Axis axis,
int yAxis);
105 static bool validate(Wt::WFormWidget *w);
A class that allows configuration of a cartesian chart.
std::vector< SeriesControl > seriesControls_
Controls for series.
Wt::WComboBox * legendAlignmentEdit_
ChartConfig(Wt::Chart::WCartesianChart *chart, Wt::WContainerWidget *parent)
Constructor.
Wt::WComboBox * legendLocationEdit_
Wt::WComboBox * legendSideEdit_
void addAxis(Wt::Chart::Axis axis, int yAxis)
Wt::WStandardItemModel * yScales_
void setValueFill(Wt::Chart::FillRangeType fill)
Wt::WLineEdit * chartWidthEdit_
Wt::WLineEdit * titleEdit_
void removeYAxis(const Wt::Chart::WAxis *axis)
static bool validate(Wt::WFormWidget *w)
Wt::WStandardItemModel * xScales_
void connectSignals(Wt::WFormWidget *w)
Wt::WValidator * angleValidator_
Wt::Chart::WCartesianChart * chart_
std::vector< AxisControl > axisControls_
Controls for axes.
Wt::Chart::FillRangeType fill_
Wt::WValidator * anyNumberValidator_
Wt::WCheckBox * borderEdit_
Wt::WLineEdit * chartHeightEdit_
Wt::WComboBox * chartOrientationEdit_
Wt::WStandardItemModel * yAxesModel_
Struct that holds the controls for one axis.
Wt::WLineEdit * maximumEdit
Wt::WComboBox * tickDirectionEdit
Wt::WLineEdit * titleEdit
Wt::WLineEdit * labelAngleEdit
Wt::WComboBox * titleOrientationEdit
Wt::WCheckBox * gridLinesEdit
Wt::WLineEdit * minimumEdit
Wt::WComboBox * locationEdit
Wt::WComboBox * scaleEdit
Wt::WCheckBox * visibleEdit
Struct that holds the controls for one series.
Wt::WComboBox * markerEdit
Wt::WComboBox * labelsEdit
Wt::WCheckBox * enabledEdit
Wt::WCheckBox * legendEdit
Wt::WCheckBox * shadowEdit