Search found 12 matches
- Fri Oct 17, 2008 8:08 pm
- Forum: JFreeChart
- Topic: Problem writing chart as PNG when chart has no data.
- Replies: 0
- Views: 2242
Problem writing chart as PNG when chart has no data.
I'm trying to use the nodatamessage to show an empty chart when there is no data. When I call ChartUtilities.writeChartAsPNG(outputStream, chart, 1024, 768) I get an IOException. This same output code works fine when the chart contains data. Code: JFree Chartchart = ChartFactory.createTimeSeriesChar...
- Wed Oct 15, 2008 4:35 pm
- Forum: JFreeChart
- Topic: Colors for multiple series in TimeSeriesCollection
- Replies: 4
- Views: 6996
- Tue Oct 14, 2008 10:31 pm
- Forum: JFreeChart
- Topic: Colors for multiple series in TimeSeriesCollection
- Replies: 4
- Views: 6996
Anyone have a good solution to this problem? I'm making simple TimeSeriesCollections with one or more datasets each and assigning each of those to their own Range Axis on a TimeSeriesChart. Doing that causes the colors to start over for each TimeSeriesCollection, which is against what the developers...
- Thu Aug 24, 2006 6:14 pm
- Forum: JFreeChart
- Topic: Change axis values to string
- Replies: 4
- Views: 4644
I did the same thing overriding the numbertickunit. Basically override the "valueToString(double d)" function in there and have it output the string you are looking for. Then I create a new TickUnits object and load it up with the new NumberTickUnit that I created for the values I want displayed and...
- Wed Aug 23, 2006 5:18 pm
- Forum: JFreeChart
- Topic: the axis X is equal to axis Y.
- Replies: 2
- Views: 3441
- Mon Aug 21, 2006 8:45 pm
- Forum: JFreeChart
- Topic: Reducing huge dataset
- Replies: 9
- Views: 17431
I too am in the environmental business of sorts. We have wind, temp, humidity... etc. type sensors that get readings whenever they change. This leads to about 1000-200000 readings per day depending on the environment and which sensor it is. I don't really have a problem with things going from 0 to w...
- Tue Jul 25, 2006 3:39 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
- Tue Jul 18, 2006 4:38 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
So what is the recommended method to remedy this. I am not using crosshairs so I have no interest in a redraw when the chart is simply clicked on. I don't really think running it in a thread will help much either since I really don't want it even attempting to redraw unless the size changes or a zoo...
- Wed Jul 05, 2006 10:14 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
After a little more messin around it looks like it's attempting to redraw if I click on the panel without dragging the mouse. If I click on the panel and drag the mouse to the upper-left it will not spike my CPU unless it needs to zoom out, but if I click and don't drag my mouse I get a CPU spike, e...
- Wed Jul 05, 2006 10:05 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
Based on what David said the chart shouldn't attempt to redraw if nothing changes. So that does sound like a bug, especially if you've noticed the same thing. I am drawing many large plots on the same chart. Could be upwards of 50 - 1000 point plots of xyplot or stepxyplots. I am limiting the number...
- Fri Jun 30, 2006 3:28 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
Sure. Basically the chartpanel is being created when a plugin is openned. After that it is placed inside of another jpanel using borderlayout so I can have some extra information at the top. I keep this set to invisible since I seem to get problems with it attempting to draw a blank plot. I have jus...
- Thu Jun 29, 2006 9:53 pm
- Forum: JFreeChart
- Topic: Slow redrawing of complicated charts, and popup menus
- Replies: 13
- Views: 28017
Slow redrawing of complicated charts, and popup menus
There is one thing really keeping me from being able to use this library. I am charting multiple datasets with around one thousand data points each. If I have anymore than 2 of these on the screen at the same time redrawing the window, or even simply having a popup menu on top of the graphpanel take...