19 package org.turro.dossier.dw;
21 import java.util.List;
22 import org.turro.charts.Chart;
23 import org.turro.charts.Data;
24 import org.turro.charts.Series;
25 import org.turro.elephant.context.IConstructor;
26 import org.turro.i18n.I_;
38 protected void setData(String title, List<Object[]> list) {
40 for(Object[] obj : list) {
41 if(obj[0] instanceof Enum) {
44 for(
int i = 1; i < obj.length; i++) {
45 data.
addValue(((Number) obj[i]).doubleValue());
50 for(
int i = 1; i < obj.length; i++) {
51 data.
addValue(((Number) obj[i]).doubleValue());
Series addSeries(String name)
void addValue(Object value)
Data addData(String name)
void setData(String title, List< Object[]> list)
DWWebChart(IConstructor constructor)
void onCreate(Data data, Object[] pars)
static String byKey(String key)