P
- type of Plot objectpublic final class BarTimeChart<S extends PeriodSetPlot> extends PeriodChart<S>
PieTimeChart
.
It plots the sum
of quantities over a period and uses the same mapping classes the intention
is that you can use this to generate barcharts and timecharts interchangably.
Unlike TimeChart
s only a single dataset is plotted. This defaults to the
last created Plot
but can be reset using the #setPlot(PeriodSetPlot)
method.conn
Modifier | Constructor and Description |
---|---|
protected |
BarTimeChart(AppContext c) |
Modifier and Type | Method and Description |
---|---|
S |
getBarChartSeries(java.lang.String series,
int nset) |
static BarTimeChart |
getInstance(AppContext c,
java.util.Calendar s,
java.util.Calendar e) |
static BarTimeChart |
getInstance(AppContext c,
Period p) |
Table |
getTable()
Generate a table representing the Chart
|
addData, addDataArray, addDataIterator, addMapData, getChartData, getEndDate, getPeriod, getStartDate
getLegendName, makeDataset, setChartData, setLegendName, sortSets, sortSets, sortSets
getContext, getLogger, resetLogger
protected BarTimeChart(AppContext c)
public S getBarChartSeries(java.lang.String series, int nset)
public static BarTimeChart getInstance(AppContext c, Period p) throws java.lang.Exception
java.lang.Exception
public static BarTimeChart getInstance(AppContext c, java.util.Calendar s, java.util.Calendar e) throws java.lang.Exception
java.lang.Exception
public Table getTable()
PeriodChart
getTable
in class PeriodChart<S extends PeriodSetPlot>