Hello,
I have a chart with XYLineAndShapeRenderer and a TimeSeries with RegularTimePeriods Day.
The shapes are rendered at the first millisecond of each day.
But I would like to have them rendered at the middle millisecond (at noon).
Is that a setting in the renderer?
I can make a workaround by using Second as RegularTimePeriod taking the middle millisecond of the day period.
But then the period is Second and not Day, which I would like to avoid.
Thanks!
Rendering Middle Millisecond instead of first Millisecond
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Rendering Middle Millisecond instead of first Millisecon
You can do that in the TimeSeriesCollection class by calling this method:
http://www.jfree.org/jfreechart/api/jav ... iodAnchor-
http://www.jfree.org/jfreechart/api/jav ... iodAnchor-
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: Rendering Middle Millisecond instead of first Millisecon
That's what I was looking for, thanks!