ahlvarun - 2006-06-30

hi all

this is my snippet of code ..in ChartProcessor extending from ChartPostProcessor

JFreeChart jfc = (JFreeChart) chart;
        jfc.clearSubtitles();
        XYPlot plot = (XYPlot) jfc.getPlot();
        plot.addRangeMarker(new ValueMarker(10000));
         ValueAxis va1 = new NumberAxis();
        va1.setLabel("#POPULATION");
        ValueAxis va2 = new NumberAxis();
        va2.setLabel("GROWTH RATE");
        Plot.setRangeAxis(1,va2,false);
        plot.setRangeAxis(0,va1,false);
        plot.mapDatasetToRangeAxis(0,0);
        plot.mapDatasetToRangeAxis(1,1);

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.

regards
varun ahluwalia.