HI,
In my system I have draw createTimeSeriesChart but the problem is when The size of the grppah reduce to smaller size then the level of X axis is changed. It seems ok with rendam values choosed XYPlot class. But I want to display particular label in the X axis( domain label).
Sush as 9,12,15,18,21 etc. But How can I control this?
Please help me.
Thanks in advance.
Amin
help needed in createTimeSeriesChart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can call setTickUnit() on the axis. But if you manually fix the tick unit this way, then when the chart resizes you may get labels overlapping.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Hi,You can call setTickUnit() on the axis. But if you manually fix the tick unit this way, then when the chart resizes you may get labels overlapping.
Thx for ur reply. Sorry to say that have missed one point that is
in that timeseries chart chart should be generate according to hour.
The chart has MajorTick(Hour.class) and minorTick(Day.class). I want to display the label of the MajorTick as 0 blank blank 3 blank blank 6.... etc. I have change the numberAxis by extending NumberAxis class but failed to customized the domain axis
Please have a look on the pic.This is my desired chart
http : //imageshare.web.id/images/ 811hfjvzjf1l9bbhyykk.jpg
I could not post image as I am new member.
and The bar should be displayed in the interval of the majorTickmark(as the image)
now showing at the position of the majorTickmark.
Please show me the way to do that.
Thanks in advanced