plane.drawValuesOnYAxis(valuesOnLeftY);
{// we draw the last points in another axis
ArrayList<String> labels;
ArrayList<DPoint> truePoints;
YAxisPlacer placer;
DecimalFormat formatter = new DecimalFormat("0.000");
labels = new ArrayList<String>();
truePoints = new ArrayList<DPoint>();
for (int i = 0; i < valuesOnRightY.size(); i++) {
labels.add(formatter.format(valuesOnRightY.get(i).getY()));
truePoints.add(plane.getTruePoint(valuesOnRightY.get(i)));
}
placer = new YAxisPlacer(labels, truePoints);
placer.place((Graphics2D) g, plane.getTrueX(1) + 10);
plane.drawSegment(new DPoint(1, 0), new DPoint(1, 1));
}
plane.draw("% " + data.getClassNames()[0], "Utilization");