Modifier and Type | Field and Description |
---|---|
static double |
other_frac |
conn
Modifier | Constructor and Description |
---|---|
protected |
PieChart(AppContext conn) |
Modifier and Type | Method and Description |
---|---|
SingleValueSetPlot |
getData(java.util.Map<java.lang.String,java.lang.Number> data)
Generate a Plot from a Map setting legends to the key values
|
boolean |
getData(Table t,
java.lang.String col_key)
create a piechart from a column of a table.
|
boolean |
getData(Table t,
java.lang.String label_key,
java.lang.String col_key)
create a PieChart from a column of a table labeled by the values of a different column.
|
static PieChart |
getInstance(AppContext c) |
boolean |
hasSignificantData(SetPlot ds) |
getChartData, getLegendName, makeDataset, setChartData, setLegendName, sortSets, sortSets, sortSets
getContext, getLogger, resetLogger
protected PieChart(AppContext conn)
public boolean getData(Table t, java.lang.String col_key) throws InvalidArgument
t
- col_key
- InvalidArgument
public boolean hasSignificantData(SetPlot ds)
public boolean getData(Table t, java.lang.String label_key, java.lang.String col_key) throws InvalidArgument
t
- label_key
- col_key
- InvalidArgument
public SingleValueSetPlot getData(java.util.Map<java.lang.String,java.lang.Number> data)
data
- public static PieChart getInstance(AppContext c)