Search found 844 matches

by RichardWest
Fri Dec 11, 2009 12:23 am
Forum: JFreeChart
Topic: Bar Chart Tooltips
Replies: 5
Views: 7711

Re: Bar Chart Tooltips

row and column are integer arguments to index the dataset. To get the corresponding category label and value, you will need to query the dataset. For the former, call CategoryDataset's getColumnKey(int). For the latter, call getValue(int, int).
by RichardWest
Thu Dec 10, 2009 1:47 am
Forum: JFreeChart
Topic: Bar Chart Tooltips
Replies: 5
Views: 7711

Re: Bar Chart Tooltips

Create a class which implements the CategoryToolTipGenerator interface and assign it to your CategoryItemRenderer of choice via setToolTipGenerator().
by RichardWest
Wed Oct 07, 2009 5:03 pm
Forum: JFreeChart
Topic: Bar charts turned 3D after upgrade to 1.0.13
Replies: 11
Views: 14412

Re: Bar charts turned 3D after upgrade to 1.0.13

You can restore the old theme via:

Code: Select all

StandardChartTheme legacyTheme = StandardChartTheme.createLegacyTheme();
legacyTheme.applyToCategoryPlot(plot);
by RichardWest
Tue Oct 06, 2009 7:02 pm
Forum: JFreeChart
Topic: Stacked bar chart sub-bar alignment
Replies: 3
Views: 4997

Re: Stacked bar chart sub-bar alignment

Seeing as you have implemented a new renderer, I doubt there is any single API call to handle what you need to do. You can probably find a correct combination of static methods from the DatasetUtilities class, but custom logic would probably be simpler and quicker. The domain axis range is determine...
by RichardWest
Mon Oct 05, 2009 6:27 pm
Forum: JFreeChart
Topic: URLGenerator and Javascript
Replies: 3
Views: 6703

Re: URLGenerator and Javascript

The generateURL method has the dateaset, the series index, and the item index as arguments which you can use to generate item specific URLs.
by RichardWest
Thu Oct 01, 2009 7:19 pm
Forum: JFreeChart
Topic: URLGenerator and Javascript
Replies: 3
Views: 6703

Re: URLGenerator and Javascript

If you read the StandardXYURLGenerator javadoc entry, you will see that the argument you pass is a prefix. The generateURL method appends a default argument string to and returns the resulting URL. If you want to change the behavior, create your own class which implements the XYURLGenerator interfac...
by RichardWest
Fri Sep 25, 2009 6:13 pm
Forum: JFreeChart
Topic: how to specify empty space between bars?
Replies: 1
Views: 3057

Re: how to specify empty space between bars?

If you are using a BarRenderer call setItemMargin(double percent).
by RichardWest
Wed Sep 09, 2009 12:15 am
Forum: JFreeChart
Topic: LineChart series order drawing issue
Replies: 2
Views: 3809

Re: LineChart series order drawing issue

Take a look at the second argument of the XYSeries constructor.
by RichardWest
Tue Sep 08, 2009 6:59 pm
Forum: JFreeChart
Topic: How to make chart background transparent
Replies: 2
Views: 4230

Re: How to make chart background transparent

gardnnp@cat.com wrote:Anybody know what I'm doing wrong?
JPG does not support transparency
by RichardWest
Fri Aug 28, 2009 5:08 pm
Forum: JFreeChart
Topic: JFreeChart supprot in 64 bit windows server 2008 OS.
Replies: 1
Views: 3044

Re: JFreeChart supprot in 64 bit windows server 2008 OS.

Yes, just make sure you have a JRE or JVM installed which works with your 64b OS.

Do not post the same question multiple times (the duplicate posts have been deleted).
by RichardWest
Tue Aug 25, 2009 6:48 pm
Forum: JFreeChart
Topic: Bar Chart - Overlap Bars
Replies: 4
Views: 6041

Re: Bar Chart - Overlap Bars

Would the StackedBarRenderer be amenable to your requirements?
by RichardWest
Fri Aug 21, 2009 2:15 am
Forum: JFreeChart
Topic: pie chart and bar chart at the same frame
Replies: 1
Views: 2929

Re: pie chart and bar chart at the same frame

The simplest means I can think of is to create the two charts separately (but referencing the same dataset) and add them to the same JFrame whose layout is controlled by your LayoutManager of choice.
by RichardWest
Fri Aug 21, 2009 12:26 am
Forum: JFreeChart
Topic: Draw median line on Line Chart
Replies: 5
Views: 5830

Re: Draw median line on Line Chart

Code: Select all

plot.addRangeMarker(new ValueMarker(1.0))
by RichardWest
Wed Aug 19, 2009 7:14 pm
Forum: JFreeChart
Topic: How to associate CustomRenderer class with the chart?
Replies: 1
Views: 2876

Re: How to associate CustomRenderer class with the chart?

Stop posting the same question multiple times; I have already answered this question for you in Need the different colors of bars.

I would like to echo David's sentiments.