this is my snippet of code ..in ChartProcessor extending from ChartPostProcessor
JFreeChart jfc = (JFreeChart) chart;
XYPlot plot = (XYPlot) jfc.getPlot();
ValueAxis va1 = new NumberAxis();
ValueAxis va2 = new NumberAxis();
i am basically trying to make a XY-graph(double axis graph). what i want is one horizontal marker of Y1 axis and one horizontal marker on Y2 axis.
doing plot--addRangeMarker(new ValueMarker(10000));--give me one horizontal marker on Y1 axis. but i want one horizontal marker on Y2 also.
Also i need one vertical marker.
can anyone help me here how to get these marker and if possible how to set color for these markers.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.