// Start by creating the plot that will hold the meter
MeterPlot chartPlot = new MeterPlot((ValueDataset)getDataset());
// Set the shape
MeterShapeEnum shape = jrPlot.getShapeValue() == null ? MeterShapeEnum.PIE : jrPlot.getShapeValue();
if (shape == MeterShapeEnum.CHORD)
chartPlot.setDialShape(DialShape.CHORD);
else if (shape == MeterShapeEnum.CIRCLE)
chartPlot.setDialShape(DialShape.CIRCLE);
else if (shape == MeterShapeEnum.DIAL)