how to add Domain Markers on X-axis (Day axis)?
Posted: Mon Jul 03, 2006 5:00 pm
hi
i am trying to add marker on domain axis i.e. x-axis , which is of type day in my case.
-- my snippet of code in chart processor--
XYPlot plot = (XYPlot) jfc.getPlot();
Day day = new Day(11,02,2006);
Marker m3 = new ValueMarker(day.getSerialIndex());
plot.addDomainMarker(m3);
But this does not give any marker on my chart.
Is there any marker where i can give day as input rather than a double??
Any clue??
Varun Ahluwalia.
i am trying to add marker on domain axis i.e. x-axis , which is of type day in my case.
-- my snippet of code in chart processor--
XYPlot plot = (XYPlot) jfc.getPlot();
Day day = new Day(11,02,2006);
Marker m3 = new ValueMarker(day.getSerialIndex());
plot.addDomainMarker(m3);
But this does not give any marker on my chart.
Is there any marker where i can give day as input rather than a double??
Any clue??
Varun Ahluwalia.