P
- type of Plot objectpublic final class PieTimeChart<P extends PeriodSetPlot> extends SetPeriodChart<P>
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 |
PieTimeChart(AppContext c) |
Modifier and Type | Method and Description |
---|---|
P |
addPieChart(int nset) |
P |
addPieChart(int nset,
java.awt.Color[] custom) |
static PieTimeChart |
getInstance(AppContext c,
java.util.Calendar s,
java.util.Calendar e) |
static PieTimeChart |
getInstance(AppContext c,
Period p) |
P |
getPlot() |
void |
setPlot(P ds) |
getTable
addData, addDataArray, addDataIterator, addMapData, getChartData, getEndDate, getPeriod, getStartDate
getLegendName, makeDataset, setChartData, setLegendName, sortSets, sortSets, sortSets
getContext, getLogger, resetLogger
protected PieTimeChart(AppContext c)
public P addPieChart(int nset)
public P addPieChart(int nset, java.awt.Color[] custom)
public static PieTimeChart getInstance(AppContext c, Period p)
public static PieTimeChart getInstance(AppContext c, java.util.Calendar s, java.util.Calendar e)
public P getPlot()
getPlot
in class SetPeriodChart<P extends PeriodSetPlot>
public void setPlot(P ds)
setPlot
in class SetPeriodChart<P extends PeriodSetPlot>