{
DefaultValueDataset dataset = createDefaultValueDataset(values);
MeterPlot plot = new MeterPlot(dataset);
plot.setRange(new Range(0, 60));
plot.addInterval(new MeterInterval("Normal", new Range(0.0, 35.0),
Color.lightGray, new BasicStroke(2.0f), new Color(0, 255, 0, 64)));
plot.addInterval(new MeterInterval("Warning", new Range(35.0, 50.0),
Color.lightGray, new BasicStroke(2.0f), new Color(255, 255, 0, 64)));
plot.addInterval(new MeterInterval("Critical", new Range(50.0, 60.0),
Color.lightGray, new BasicStroke(2.0f), new Color(255, 0, 0, 128)));
plot.setNeedlePaint(Color.darkGray);
plot.setDialBackgroundPaint(Color.white);
plot.setDialOutlinePaint(Color.gray);
plot.setDialShape(DialShape.CHORD);