List of usage examples for org.jfree.chart.plot DefaultDrawingSupplier createStandardSeriesShapes
public static Shape[] createStandardSeriesShapes()
From source file:com.xpn.xwiki.plugin.charts.params.ShapeChartParam.java
public void init() { choice = new ChoiceChartParam(getName()) { @Override//from w ww.j a v a2s.c o m protected void init() { Shape[] shapes = DefaultDrawingSupplier.createStandardSeriesShapes(); addChoice("square", shapes[0]); addChoice("circle", shapes[1]); addChoice("triangle-up", shapes[2]); addChoice("diamond", shapes[3]); addChoice("rectangle-horizontal", shapes[4]); addChoice("triangle-down", shapes[5]); addChoice("ellipse", shapes[6]); addChoice("triangle-right", shapes[7]); addChoice("rectangle-vertical", shapes[8]); addChoice("triangle-left", shapes[9]); } @Override public Class getType() { return Shape.class; } }; }