Search found 13 matches
- Fri Aug 15, 2008 4:22 pm
- Forum: JFreeChart
- Topic: XYLineAndShapeRenderer-has problem
- Replies: 15
- Views: 37783
Disappearing Traces
I had a case of 'disappearing traces' where I would choose a particular region ( in time ) and the traces would not be shown but, zooming on on the area would show them or you could see tooltips popping up at the data points. My data has gaps that need to be shown so I have now implemented a routine...
- Tue Jul 29, 2008 9:43 am
- Forum: JFreeChart
- Topic: XYLineAndShapeRenderer-has problem
- Replies: 15
- Views: 37783
- Mon Jul 28, 2008 5:21 pm
- Forum: JFreeChart
- Topic: can I have non-image (gif,png) jfreechart in servlet?
- Replies: 3
- Views: 6044
An applet is allowed to have full access to the server from which it comes - this is how I use JFreeChart: it runs in an applet ( which is in turn loaded from an HTML page ) and the applet connects to several servlets on the same server as the HTML page/applet and no signing is required for this. BT...
- Mon Jul 28, 2008 5:03 pm
- Forum: JFreeChart
- Topic: XYLineAndShapeRenderer-has problem
- Replies: 15
- Views: 37783
Thanks for that - that may be the way forward, and as I am probably the only person using setThreshold etc it may be quicker examining the data and inserting null data points rather than trying to fix JFreeChart's threshold feature. If that is the answer then the methods associated with thresholds s...
- Mon Jul 28, 2008 2:57 pm
- Forum: JFreeChart
- Topic: XYLineAndShapeRenderer-has problem
- Replies: 15
- Views: 37783
StandardXYItemRenderer and setGapThreshold
Hi - I have a problem with the StandardXYItemRenderer if I call setDrawSeriesLineAsPath(true) in that the gap threshold is ignored - it always joins up lines. I tried the mods suggested above ( state.setProcessVisibleItemsOnly(false) and those posted by skunk, but neither make a difference for the g...
- Mon Jul 28, 2008 12:49 pm
- Forum: JFreeChart
- Topic: NullPointerException in clearRangeAxes
- Replies: 8
- Views: 15390
I'm not an expert on how JFreeChart works so this may be less than optimal but anyway here are some workarounds that may be of interest to others: 1. replace the current clearRangeAxes with: public void clearRangeAxes() { for (int i = 0; i < this.rangeAxes.size(); i++) { ValueAxis axis = (ValueAxis)...
- Fri Jul 25, 2008 3:09 pm
- Forum: JFreeChart
- Topic: NullPointerException in clearRangeAxes
- Replies: 8
- Views: 15390
David - thanks for responding - doesn't appear to make any difference though - here is the stack trace now: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jfree.chart.plot.XYPlot.drawQuadrants(XYPlot.java:3048) at org.jfree.chart.plot.XYPlot.drawBackground(XYPlot.java:3...
- Fri Jul 25, 2008 11:42 am
- Forum: JFreeChart
- Topic: NullPointerException in clearRangeAxes
- Replies: 8
- Views: 15390
Many thanks for your reply. I am using version 1.0.9 and the stack trace I have actually quotes line 2924 in drawQuadrants ( I can post the complete trace if you wish ). I agree with your likely root cause, and it is true that I first call clearRangeAxes before the plot is visible ( i.e. added to JF...
- Thu Jul 24, 2008 6:20 pm
- Forum: JFreeChart
- Topic: NullPointerException in clearRangeAxes
- Replies: 8
- Views: 15390
- Thu Jul 24, 2008 6:17 pm
- Forum: JFreeChart
- Topic: NullPointerException in clearRangeAxes
- Replies: 8
- Views: 15390
Was there any resolution to this - I have been battling the same problem all afternoon. When I set up the XYPlot for the first time, I call clearRangeAxes() anyway which works fine. If the user should change what they want on the graph I need to refresh it and calling clearRangeAxes() a subsequent t...
- Mon Feb 12, 2007 4:29 pm
- Forum: JFreeChart
- Topic: tooltips using ValueMarkers
- Replies: 3
- Views: 7721
Tooltips for Marker - and Dragging
Was this ever implemented by anyone? I want to be able to set a different cursor when over a marker to indicate it is draggable. It looks as though the latter is not simple to do but for the moment I intend to simulate it with a line that I move over the chart panel and re-draw the marker when the m...
- Tue Jan 30, 2007 3:31 pm
- Forum: JFreeChart
- Topic: Notes on setSeriesPaint, getSeriesCount: setting trace color
- Replies: 0
- Views: 2817
Notes on setSeriesPaint, getSeriesCount: setting trace color
I am not a newbie to JFreeChart, but I'm no expert either. I spent more than half a day messing around with a multiple-axis time series graph... the main part was quick and easy, it was setting the colours that took all the time. I am graphing varying numbers of traces against a varying number of ax...
- Mon May 08, 2006 1:50 pm
- Forum: JFreeChart
- Topic: Add and move/re-locate annotation
- Replies: 3
- Views: 7375
Add and move/re-locate annotation
I want to add an annotation ( maybe with a pointer ) but I can imagine a user wanting to 'drag' the annotation to finely position it. Anyone tried doing this?