01: package org.krysalis.jcharts.test;
02:
03: import org.krysalis.jcharts.axisChart.customRenderers.axisValue.PreAxisValueRenderListener;
04: import org.krysalis.jcharts.axisChart.customRenderers.axisValue.AxisValueRenderEvent;
05:
06: public class MultiPaintRenderer implements PreAxisValueRenderListener {
07:
08: /*********************************************************************************
09: *
10: * @param axisValueRenderEvent
11: *********************************************************************************/
12: public void preRender(AxisValueRenderEvent axisValueRenderEvent) {
13: axisValueRenderEvent.getGraphics2D().setPaint(
14: TestDataGenerator.getRandomPaint());
15: }
16:
17: }
|