Search found 21 matches
- Fri May 05, 2017 1:25 pm
- Forum: JFreeChart
- Topic: Did getDataset change between version 1.0.11 and 1.0.19?
- Replies: 5
- Views: 4835
Re: Did getDataset change between version 1.0.11 and 1.0.19?
I implemented the same fix that was mentioned in the thread and rebuilt from the source which works and let's me iterate over the datasets, but this will be painful to have to do anytime a new revision of JFreeCharts is released. Hopefully the iteration will either go back to the old way, or include...
- Wed May 03, 2017 5:38 pm
- Forum: JFreeChart
- Topic: Did getDataset change between version 1.0.11 and 1.0.19?
- Replies: 5
- Views: 4835
Re: Did getDataset change between version 1.0.11 and 1.0.19?
Yes it does sound the same. Is that how I need to iterate the datasets now - getDatasetIndexes?
- Wed May 03, 2017 2:46 pm
- Forum: JFreeChart
- Topic: getDatasetCount problem
- Replies: 3
- Views: 3653
Re: getDatasetCount problem
I just went backwards through each revision and found that 1.0.17 returns the right number but 1.0.18 doesn't, if that helps.
- Wed May 03, 2017 2:32 pm
- Forum: JFreeChart
- Topic: Did getDataset change between version 1.0.11 and 1.0.19?
- Replies: 5
- Views: 4835
Re: Did getDataset change between version 1.0.11 and 1.0.19?
Actually I'm mistaken - I just reverted back to 1.0.11 and see that when I call plot.getDatasetCount() I actually receive a "10", where in 1.0.19 I receive a "2". So in 1.0.11 I would end up iterating through the datasets until I got up to "10" and get a valid dataset, where now I only iterate up to...
- Wed May 03, 2017 2:26 pm
- Forum: JFreeChart
- Topic: Did getDataset change between version 1.0.11 and 1.0.19?
- Replies: 5
- Views: 4835
Did getDataset change between version 1.0.11 and 1.0.19?
I have a program that has always iterated through a chart that has multiple datasets - one at ID 0 and one at ID 10 by doing for (int datasets=0; datasets<plot.getDatasetCount(); datasets++) { try{ CategoryDataset dset = plot.getDataset(datasets); ... } catch(Exception e) { System.out.println(e.toSt...
- Mon Dec 21, 2015 9:46 pm
- Forum: JFreeChart
- Topic: XYBarRenderer getItemPaint issue
- Replies: 1
- Views: 5462
XYBarRenderer getItemPaint issue
Hi - I've written a custom renderer that I'm using with an XYBarPlot. My dataset has 41 points as shown below Row 0 Column 0 X-Value -1.70000000298 Y-Value 0.0 Row 0 Column 1 X-Value -1.615000002831 Y-Value 0.0 Row 0 Column 2 X-Value -1.530000002682 Y-Value 0.0 Row 0 Column 3 X-Value -1.445000002533...
- Tue Aug 07, 2012 8:54 pm
- Forum: JFreeChart
- Topic: Dynamically add text to tooltip from another database column
- Replies: 8
- Views: 6927
Re: Dynamically add text to tooltip from another database co
I eventually got it to work by creating an array of the data that I needed, and passing it in as a parameter to my customer tooltip generator. Thanks for the help.
- Tue Aug 07, 2012 5:52 pm
- Forum: JFreeChart
- Topic: Dynamically add text to tooltip from another database column
- Replies: 8
- Views: 6927
Re: Dynamically add text to tooltip from another database co
I wish I had a better handle on what you're suggesting, but unfortunately I'm a bit of a newbie. Thanks anyways for your suggestions.
- Fri Aug 03, 2012 1:45 am
- Forum: JFreeChart
- Topic: Dynamically add text to tooltip from another database column
- Replies: 8
- Views: 6927
Re: Dynamically add text to tooltip from another database co
I was under the impression that the variables passed into generateTooltip were the dataset that the tooltip is to be displayed on, the series and the point? If you know of a way to access text data from another dataset within generateTooltip I'd love the help. Thanks.
- Thu Aug 02, 2012 4:17 pm
- Forum: JFreeChart
- Topic: Dynamically add text to tooltip from another database column
- Replies: 8
- Views: 6927
Re: Dynamically add text to tooltip from another database co
Thanks for getting back to me. I see how I can do it by having a database query happen for each point within the tooltipGenerator code, but if I have a chart that has thousands of points which were generated from a single query, and then have to run a separate query on each individual point at the t...
- Mon Jul 30, 2012 8:03 pm
- Forum: JFreeChart
- Topic: Dynamically add text to tooltip from another database column
- Replies: 8
- Views: 6927
Dynamically add text to tooltip from another database column
I'm successfully creating a chart using ChartFactory.createTimeSeriesChart displaying time on the bottom, and numerical data in the chart. The tooltips are showing properly, again showing the date/time of the point, and the value of the point. Is there a way to also add text to the tooltip from anot...
- Tue May 26, 2009 9:44 pm
- Forum: JFreeChart
- Topic: Show axis, but hide data
- Replies: 2
- Views: 11276
Show axis, but hide data
I have a requirement to show a multiple axis chart - one axis would be bars representing CFM (for compressed air), and the other showing CFM * X dollars. I would like to actually only show the bars for one of the series though so I don't have overlapping bars (which I have now). I have tried rendere...
- Fri Jan 09, 2009 2:18 pm
- Forum: JFreeChart
- Topic: Too many labels showing up on multiple pie chart
- Replies: 3
- Views: 3313
- Thu Jan 08, 2009 8:57 pm
- Forum: JFreeChart
- Topic: Too many labels showing up on multiple pie chart
- Replies: 3
- Views: 3313
Re:
Any ideas yet? Any way for me to post a sample of what I'm talking about to help troubleshoot?
Thanks,
Kevin
Thanks,
Kevin
- Wed Jan 07, 2009 10:19 pm
- Forum: JFreeChart
- Topic: Too many labels showing up on multiple pie chart
- Replies: 3
- Views: 3313
Too many labels showing up on multiple pie chart
I'm creating a chart with createMultiplePieChart. I have 5 charts with 5 reasons per chart. As far as I can tell, I'm getting possibly up to 14 slice description labels per chart when I should only be getting 5 per chart. I'm not sure how to attach an image to illustrate what I'm talking about. My c...