Results 1 to 1 of 1
Thread: Ask to Jfreechart
- 07-23-2011, 08:47 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
Ask to Jfreechart
Hi
I am working on creating jfreechart, i want to solve the problem that setting the 'domainAxis'.
I want to fix the domain values gap, but my graph depend on a graph size. For example, it has to be setted up at an interval of 5minute. So i was trying to do like following souce code. but it had trouble with a interval. it's setted up at an interval of only 7 minute every hour.
----------------------------------------------
plot.(subplot1, 1);
plot.(subplot2, 1);
DateAxis domainAxis = (DateAxis)plot.getDomainAxis()
domainAxis.setVerticalTickLabel(true);
domainAxis.setTickUnit(new DateTickUnit(DateTickUnit.Minute,10, new SimpleDateFormat("HH:MM")))
Jfreechart chart = new Chart(plot, width, height, info);
----------------------------------------------
I am not good at English so you will have a difficulty to read this question.
hope to good answer
Similar Threads
-
JFreeChart help
By lowlyintern in forum Advanced JavaReplies: 8Last Post: 06-15-2011, 04:30 PM -
Jfreechart
By aaruviswa in forum Web FrameworksReplies: 2Last Post: 03-17-2011, 06:51 AM -
JfreeChart
By puk284 in forum Advanced JavaReplies: 1Last Post: 05-12-2009, 04:52 PM -
JFreeChart 1.0.11
By Java Tip in forum Java SoftwareReplies: 0Last Post: 09-26-2008, 07:52 PM -
JFreeChart 1.0.5
By levent in forum Java SoftwareReplies: 0Last Post: 05-10-2007, 05:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks