Search found 18 matches
- Tue Aug 08, 2006 6:02 pm
- Forum: JFreeChart
- Topic: Problem creating times series comparisons
- Replies: 1
- Views: 2542
- Tue Aug 08, 2006 5:49 pm
- Forum: JFreeChart
- Topic: Changing color.
- Replies: 1
- Views: 2886
The user is selecting the variables from a list, right? So this doesn't sound like a problem. You have a list of available variables (indexed). You have a list of colors (using the same index). There's nothing that says that index has to match the index of the series in the renderer. Just map the tw...
- Tue Aug 08, 2006 5:32 pm
- Forum: JFreeChart
- Topic: Line chart - drawing an average line between 2 points
- Replies: 2
- Views: 4164
If you supply NO data for those years, this will happen automatically. That is to say: If you have a series that contains year 1, year 2, year 5, year 6 and year 7...those points will be connected in sequence, with the interval between 2 and 5 appropriately wide. Change the type of the chart to LINE...
- Tue Aug 08, 2006 5:25 pm
- Forum: JFreeChart
- Topic: Windowing of data
- Replies: 3
- Views: 7081
There are two ways I can think of right off the bat to do that. 1) Load all of the data up front. Disable the zoom controls. Zoom the chart (set the domain axis range) to cover a 1-year span. Provide forward and back buttons to move the range in either direction. The last part of that is quite easy ...
- Mon Aug 07, 2006 11:17 pm
- Forum: JFreeChart
- Topic: How do you change the chart values after it has been display
- Replies: 4
- Views: 5230
First, DON'T re-instantiate the chart to update it. You can end up with a memory leak that way - because of the wide variety of listeners between charts and chartPanels and so on, the old chart objects are likely to still have references and not be properly disposed. I wrestled with that one for a w...
- Mon Aug 07, 2006 8:44 pm
- Forum: JFreeChart
- Topic: Huge Time series
- Replies: 3
- Views: 7048
I have one chart that's currently showing 20 series, each with 3 days of per-minute data. That's 86400 data points, and it works fine. 100000 shouldn't be a problem. I've found the main limiting factor to be heap space, and that has less to do with JFreeChart than it does with parsing the results fr...
- Mon Aug 07, 2006 3:16 pm
- Forum: JFreeChart
- Topic: Reducing huge dataset
- Replies: 9
- Views: 17419
Take an average of the whole dataset, to get a baseline. For each minute, create a datapoint that is either the maximum value for that minute or the minimum value, depending on which is further away from the day's average. That is, show the MOST EXTREME value for each time period, rather than averag...
- Fri Aug 04, 2006 3:27 pm
- Forum: JFreeChart
- Topic: Problem with Date adjustments in XYAreaChart.
- Replies: 1
- Views: 2687
- Thu Aug 03, 2006 5:32 pm
- Forum: JFreeChart
- Topic: Can we create drill downs with JFree Charts
- Replies: 6
- Views: 7305
Only on the Java side; I haven't done anything with JFreeChart as an applet. Set up a ChartMouseListener, register it with your chart, and then get the URL from the clicked chart entity with something like: public void chartMouseClicked(ChartMouseEvent event) { System.out.println(event.getEntity().g...
- Thu Aug 03, 2006 2:03 pm
- Forum: JFreeChart
- Topic: Can we create drill downs with JFree Charts
- Replies: 6
- Views: 7305
- Wed Aug 02, 2006 10:28 pm
- Forum: JFreeChart
- Topic: Can we create drill downs with JFree Charts
- Replies: 6
- Views: 7305
- Wed Aug 02, 2006 9:42 pm
- Forum: JFreeChart
- Topic: Logarithmic Axis - How can I use exponential numbers
- Replies: 5
- Views: 9085
I'm not sure; my log data doesn't have any fractional values, so I hadn't run into that before. I'm not actually even sure how to get gridlines for sub-1 values to show up, as changing the tick unit doesn't seem to do it. However, while looking for that, I did discover something else that might work...
- Wed Aug 02, 2006 2:44 pm
- Forum: JFreeChart
- Topic: jfreetreee with date in mm-yyyy with x axis
- Replies: 3
- Views: 6332
Well, let's see. I don't know anything about the actual format of the data you're getting back, but from your example you'd want something ROUGHLY like this. You'll probably have to fiddle with it a bit to get it working in the context of your project. TimeSeries series = new TimeSeries(); SimpleDat...
- Tue Aug 01, 2006 9:10 pm
- Forum: JFreeChart
- Topic: how to specify the unit range on x-axis and y-axis
- Replies: 8
- Views: 13714
- Tue Aug 01, 2006 8:42 pm
- Forum: JFreeChart
- Topic: jfreetreee with date in mm-yyyy with x axis
- Replies: 3
- Views: 6332