In the version of 2.1.1, there is some problem with ScatterChart, maybe it's a bug.
1.The ScatterChart hasn't the method of setDataProvider(), so, in the class of ChatModel, method updateYScale() always throw NullPointException, because the var of "max" and "min" always is null. So I modified this class add the method of setDataProvider().
2.There is no DataProvider can used by ScatterChart, so I created a class named ScatterDataProvider, like this:

public void populateData(ChartConfig config) {
ScatterChart chart = (ScatterChart) config;

for (ModelData m : store.getModels()) {
Number n = getValue(m);
Number l = getNumberLabel(m);
if (n != null && l!=null) {
chart.addPoint(n, l);

private Number getNumberLabel(ModelData model){
Number value = null;
if (labelProperty != null) {
Object o = model.<Object> get(labelProperty);
if (o != null) {
if (o instanceof String) {
value = Double.parseDouble((String) o);
} else if (o instanceof Number) {
value = (Number) o;
return value;
I used the ScatterDataProvider, but it always can't display the data
How can I do???