final ChartModel model = ChartModel.New()..addColumn(Column.New(Type.STRING, "bubbletext", "Bubbletext"))
.addColumn(Column.New(Type.NUMBER, "x-value", "X-Axis"))
.addColumn(Column.New(Type.NUMBER, "x-value", "Y-Axis"))
.addColumn(Column.New(Type.STRING, "category", "Category"))
.addColumn(Column.New(Type.NUMBER, "bubblesize", "Bubblesize"));
model.addRow("CAN", 80.66, 1.67, "North America", 33739900d);
model.addRow("GBR", 79.84, 1.36, "Europe", 81902307d);
model.addRow("USA", 72.73, 1.84, "North America", 5523095d);
model.addRow("IRN", 80.05, 4.77, "Middle East", 79716203d);
model.addRow("DEU", 68.09, 2.96, "Europe", 61801570d);
model.addRow("RUS", 81.55, 2.05, "Europe", 73137148d);
model.addRow("ISR", 78.09, 2.78, "Middle East", 31090763d);
this.bubbleChart.setModel(model); |