public class JRScatterPlotFactory extends JRBaseFactory {
private static final String ATTRIBUTE_isShowShapes = "isShowShapes";
private static final String ATTRIBUTE_isShowLines = "isShowLines";
public Object createObject( Attributes attrs ){
JRChart chart = (JRChart)digester.peek();
JRDesignScatterPlot plot = (JRDesignScatterPlot)chart.getPlot();
String isShowShapes = attrs.getValue( ATTRIBUTE_isShowShapes );
if( isShowShapes != null && isShowShapes.length() > 0 ){
plot.setShowShapes(Boolean.valueOf(isShowShapes) );
}