question, is there a purpose to this code fragment:
Integer.toString(currentDay.get(Calendar.MINUTE)) + " " +
Integer.toString(currentDay.get(Calendar.SECOND))+":"+
Integer.toString(currentDay.get(Calendar.MILLISECOND)));
Search found 7 matches
- Wed Aug 29, 2007 4:23 pm
- Forum: JFreeChart
- Topic: My answer to intraday segmentedtimeline problems
- Replies: 17
- Views: 46109
- Tue Aug 28, 2007 10:58 pm
- Forum: JFreeChart
- Topic: Scrolling Date Axis with ScrollBar
- Replies: 0
- Views: 2739
Scrolling Date Axis with ScrollBar
I'm having trouble with scrolling(using JScrollBar) with a horizontal(domain) Date Axis. Is this functionality possible? Date Axis seems to be the only one
I couldn't get this behavior to work for. I'm using a number axis as the range
that seems to scroll just fine.
I couldn't get this behavior to work for. I'm using a number axis as the range
that seems to scroll just fine.
- Tue Aug 21, 2007 3:52 pm
- Forum: JFreeChart
- Topic: scrollbar
- Replies: 6
- Views: 12562
Already done dude.... This is for panning/keyboard shifting: public class ChartPanelShiftController implements KeyListener{ /** PAN plot by a fixed percentual of the range (eg. 1%) */ public static final int SHIFT_PERCENTUAL = 1; /** PAN plot by a fixed number of pixels (eg. 1px) */ public static fi...
- Mon Aug 20, 2007 10:04 pm
- Forum: JFreeChart
- Topic: Alignment of Plot start point on the Domain Axis problem
- Replies: 3
- Views: 5804
- Mon Aug 20, 2007 3:23 pm
- Forum: JFreeChart
- Topic: Alignment of Plot start point on the Domain Axis problem
- Replies: 3
- Views: 5804
Alignment of Plot start point on the Domain Axis problem
Below is my response to a previous thread. I am looking into which JFree Chart classes(and methods) allow for the alignment of the start point(plot painting) of a Times Series chart. With dynamic charts, the default plot start point is over on the right(carries over to left side) side of chart. I wa...
- Thu Aug 16, 2007 3:24 pm
- Forum: JFreeChart
- Topic: TimesSeries: domain axis start point
- Replies: 3
- Views: 6165
I said Y(0) axis because when dealing with time on X -axis the definitive 0 would be midnight. In this case it's total alignment. I currently have scroll bars that are tied to the domain and range models. When I dynamically use TimeSeries (use 'Timer' to generate data) the scrollbar tied to the doma...
- Wed Aug 15, 2007 9:41 pm
- Forum: JFreeChart
- Topic: TimesSeries: domain axis start point
- Replies: 3
- Views: 6165
TimesSeries: domain axis start point
From the example dynamic demo1 it looks like the data is plotted from right to left. Is there any way to get the starting plot point to be at Y axis(0). In other wards, start from left side of graph and continue growing to the right and vice versa. Thanks.