7 #ifndef CHART_CONFIG_H_
8 #define CHART_CONFIG_H_
10 #include <Wt/WContainerWidget.h>
11 #include <Wt/Chart/WDataSeries.h>
18 class WStandardItemModel;
24 class WCartesianChart;
A class that allows configuration of a cartesian chart.
std::vector< SeriesControl > seriesControls_
Controls for series.
void addAxis(Wt::Chart::Axis axis, int axisId)
Wt::WComboBox * legendAlignmentEdit_
Wt::WComboBox * legendLocationEdit_
std::shared_ptr< Wt::WValidator > angleValidator_
Wt::WComboBox * legendSideEdit_
void removeXAxis(const Wt::Chart::WAxis *axis)
std::shared_ptr< Wt::WValidator > anyNumberValidator_
void setValueFill(Wt::Chart::FillRangeType fill)
Wt::WLineEdit * chartWidthEdit_
Wt::WLineEdit * titleEdit_
void removeYAxis(const Wt::Chart::WAxis *axis)
std::shared_ptr< Wt::WStandardItemModel > xAxesModel_
static bool validate(Wt::WFormWidget *w)
void connectSignals(Wt::WFormWidget *w)
Wt::Chart::WCartesianChart * chart_
std::vector< AxisControl > axisControls_
Controls for axes.
ChartConfig(Wt::Chart::WCartesianChart *chart)
Constructor.
std::shared_ptr< Wt::WStandardItemModel > xScales_
Wt::Chart::FillRangeType fill_
Wt::WCheckBox * borderEdit_
Wt::WLineEdit * chartHeightEdit_
std::shared_ptr< Wt::WStandardItemModel > yAxesModel_
Wt::WComboBox * chartOrientationEdit_
std::shared_ptr< Wt::WStandardItemModel > yScales_
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
Wt::WComboBox * xAxisEdit
Wt::WComboBox * yAxisEdit