Search found 201 matches

by remiohead
Mon Oct 12, 2009 7:20 pm
Forum: JFreeChart
Topic: How to display a barchart with duplicate columns
Replies: 4
Views: 4636

Re: How to display a barchart with duplicate columns

Create a wrapper class for your category keys so that where key1 and key 2 hold the value 5 but that key1.equals(key2) returns false.
by remiohead
Fri Oct 09, 2009 4:21 pm
Forum: JFreeChart
Topic: Display Percentage/Dollar Sign in Range Axis values
Replies: 7
Views: 7125

Re: Display Percentage/Dollar Sign in Range Axis values

Try dividing your values by 100.
by remiohead
Wed Oct 07, 2009 8:16 pm
Forum: JFreeChart
Topic: Stacked Bar Chart Labels Position and Value Marker Problem
Replies: 15
Views: 26932

Re: Stacked Bar Chart Labels Position and Value Marker Problem

For the other problem, if you just want a line at 0 why not make the category axis line visible and turn off tick marks etc?
by remiohead
Wed Oct 07, 2009 8:14 pm
Forum: JFreeChart
Topic: Stacked Bar Chart Labels Position and Value Marker Problem
Replies: 15
Views: 26932

Re: Stacked Bar Chart Labels Position and Value Marker Problem

Outside end data labels:

Code: Select all

ItemLabelAnchor lblAnchor = ItemLabelAnchor.OUTSIDE3;
TextAnchor txtAnchor = TextAnchor.CENTER_LEFT;
by remiohead
Wed Oct 07, 2009 4:02 pm
Forum: JFreeChart
Topic: [How to] customize my SpiderWebPlot ?
Replies: 3
Views: 3807

Re: [How to] customize my SpiderWebPlot ?

You'll have to subclass SpiderWebPlot and override the draw methods to get your chart to look like that.
by remiohead
Wed Oct 07, 2009 3:56 pm
Forum: JFreeChart
Topic: Some question about the spider Web Plot.
Replies: 9
Views: 13953

Re: Some question about the spider Web Plot.

I don't have the URL but an older post has a link to a patch that adds tick marks and value axis labels. You can easily add markers and data labels by subclassing LineAndShapeRenderer into a RadarRenderer class and moving the drawPoly() from SpiderWebPlot into the renderer class. Tweak the getLegend...