Search found 9 matches
- Wed Mar 23, 2011 12:52 pm
- Forum: JFreeChart
- Topic: 1.0.12 Infinite loop in DateAxis.refreshTicksHorizontal(...)
- Replies: 18
- Views: 42257
Re: 1.0.12 Infinite loop in DateAxis.refreshTicksHorizontal(...)
I'm having this problem too. ....err.... However unlike some mentioned above, I'm running into this problem with date range of only 6 months. Here's where my problem is In skunk's original posted code, line 1623 tickDate = correctTickDateForPosition(tickDate, unit, this.tickMarkPosition); It keeps ...
- Mon Mar 14, 2011 3:51 pm
- Forum: JFreeChart
- Topic: grid lines on excluded dates using segmented timeline
- Replies: 5
- Views: 9221
Re: grid lines on excluded dates using segmented timeline
I have made a quick and dirty fix to DateAxis that appears to fix the problem. Is there an official address to send patches to? FWIW Here's a diff of my changes below: *** DateAxis.java.orig 2009-04-20 10:23:40.000000000 +0100 --- DateAxis.java 2011-03-14 14:34:22.000000000 +0000 *************** ***...
- Mon Mar 14, 2011 2:54 pm
- Forum: JFreeChart
- Topic: Mapping pixels back to dataset values to generate crosshairs
- Replies: 1
- Views: 4473
Re: Mapping pixels back to dataset values to generate crosshairs
I got most of the way there so I'll post the code that seems to work First pass an instance of ChartRenderingInfo to the draw() function ChartRenderingInfo info = new ChartRenderingInfo() jchart.draw(g2, chartWidthAndHeight, info); For the date axis, because it is not continuous (there are excluded ...
- Mon Mar 14, 2011 2:32 pm
- Forum: JFreeChart
- Topic: grid lines on excluded dates using segmented timeline
- Replies: 5
- Views: 9221
Bug in Jfreechart 1.0.13 DateAxis.refreshTicksHorizontal()
On further investigation this looks like a bug in DateAxis.refreshTicksHorizontal() in JFreeChart version 1.0.13 The method tests for whether the current tick date is excluded (line 1646) and if so rolls the date forward (line 1703) if (!isHiddenValue(tickDate.getTime())) { ... } else { tickDate = u...
- Fri Mar 11, 2011 8:00 pm
- Forum: JFreeChart
- Topic: grid lines on excluded dates using segmented timeline
- Replies: 5
- Views: 9221
grid lines on excluded dates using segmented timeline
I'm charting data using a segmented timeline (SegmentedTimeline.newMondayThroughFridayTimeline()) to avoid gaps in the chart due to weekends. However this means that grid lines that would have fallen on an excluded date are not shown (eg 1st Jan 2011). So I get grid lines displayed for every month e...
- Tue Nov 02, 2010 9:57 pm
- Forum: JFreeChart - Stockmarket
- Topic: Displaying range axis tick labels in millions
- Replies: 2
- Views: 14237
Re: Displaying range axis tick labels in millions
Works like a charm - many thanks!
Dave
Dave
- Sun Oct 31, 2010 11:32 pm
- Forum: JFreeChart - Stockmarket
- Topic: Displaying range axis tick labels in millions
- Replies: 2
- Views: 14237
Displaying range axis tick labels in millions
I'm using JfreeChart 1.0.13 to display a CombinedDomainXYPlot with price data using a line chart on top and a bar chart displaying volume data underneath. Since the volumes can be quite large (eg 60 million) a lot of space is being used for the range axis labels. Is there any way to display the tick...
- Mon Oct 25, 2010 6:49 pm
- Forum: JFreeChart
- Topic: Mapping pixels back to dataset values to generate crosshairs
- Replies: 1
- Views: 4473
Mapping pixels back to dataset values to generate crosshairs
I'm working on a web application in which a servlet generates an image of a chart which is embedded in a web page. I'd like to implement dynamic crosshairs using javascript so that as a user moves the mouse over the chart, the cross hairs move to track the mouse and text on the web page indicating t...
- Tue Oct 19, 2010 12:58 pm
- Forum: JFreeChart
- Topic: 1.0.12 Infinite loop in DateAxis.refreshTicksHorizontal(...)
- Replies: 18
- Views: 42257
Re: 1.0.12 Infinite loop in DateAxis.refreshTicksHorizontal(...)
I've also just encountered the bug. Any news on a fix? Dave, this is the first time I've posted to the forums so I'd like take the opportunity to thank you for all your work on JFreeChart. I bought the developer guide a couple of months ago but am only now finding the time to really get started with...