147 wxChartsDoubleDataset *
data [3];
Pie chart for panel #3 using wxCharts.
void PlotData(ClusterType, AggregateType)
Plotting interface for yatishFrame:
yatishChartPie(wxWindow *, yatishDBsqlite *)
wxPieChartData::ptr chartData
wxVector< wxChartSliceData > slices
wxString TotalFormatted()
wxPieChartCtrl * pieChartCtrl
wxChartsLegendCtrl * legendCtrl
Time series for panel #3 using wxCharts.
wxChartsDoubleDataset * data[3]
wxChartsLegendCtrl * legendCtrl
wxChartsCategoricalData::ptr chartData
yatishChartSerie(wxWindow *, yatishDBsqlite *)
wxLineChartCtrl * lineChartCtrl
wxVector< wxString > labels
wxChartsDoubleDataset::ptr dataset[3]
void PlotData(ClusterType, AggregateType)
Plotting interface for yatishFrame:
wxVector< wxDouble > points[3]
ClusterType currentClusters
Interacts with yatish tables in a SQLite database.
Pie chart for panel #3 using wxFreeChart.
CategoryRenderer * renderer
ColorScheme * colorScheme
CategorySimpleDataset * dataset
void PlotData(ClusterType, AggregateType)
Plotting interface for yatishFrame:
wxString TotalFormatted()
yatishFreePie(wxWindow *, yatishDBsqlite *)
Time series for panel #3 using wxFreeChart.
void PlotData(ClusterType, AggregateType)
Plotting interface for yatishFrame:
XYSimpleDataset * dataset
yatishFreeSerie(wxWindow *, yatishDBsqlite *)
XYLineRenderer * renderer
Time series for panel #3 using wxMathPlot.
yatishMathPlot(wxWindow *, yatishDBsqlite *)
void PlotData(ClusterType, AggregateType)
Plotting interface for yatishFrame:
Abstract Base class for the plots of panel #3.
virtual void ClearCurves()
wxString TotalFormattedFromPie()
Creates a wxString with the total hours in the current pie chart.
yatishPlot(yatishDBsqlite *)
The constructor of yatishPlot:
static vector< double > vector_Y[3]
user selected data
static RawData big_data
all timeslot records from the database
void Aggregates()
Builds all the weekly time series (non-clustered aggregates).
void NoMoreThan4()
Modifies member pieData so that there is no more than four record.
static vector< double > vector_X2
week number, counted from the first year in the time series
virtual void PlotData(ClusterType, AggregateType)=0
Plotting interface for yatishFrame:
void SetLastDay(const wxDateTime &dt)
static vector< double > vector_X
epoch time
Map4pie pieData
total durations (between firstDay and lastDay), in minutes
bool SelectData(ClusterType, AggregateType)
Updates vector_Y[3] if need be (for the plotting libraries).
AggregateType formerAggregate
virtual wxString TotalFormatted()
void ComputePie(ClusterType)
Fills member pieData with data for a pie chart with 4 sectors.
void SetFirstDay(const wxDateTime &dt)
void ClusteredSeries(ClusterType)
Updates the clustered time series.
void GetWeekRange(unsigned int &, unsigned int &)
Computes the week numbers corresponding to members firstDay and lastDay.
static ProcessedData data
weekly times series: various aggregates and clustered sums
static string legends[3]
names of the 3 weekly clustered sums, for the current clustering scheme
ClusterType
Same order as yatishFrame::choiceCluster.
vector< RawRecord > RawData
vector< ProcessedRecord > ProcessedData
map< string, unsigned long > Map4pie
AggregateType
Same order as yatishFrame::choiceAggregate (except invalid of course).