Search found 17 matches

by Krac
Thu Jan 31, 2008 11:38 am
Forum: JFreeChart
Topic: Animated charts
Replies: 0
Views: 1784

Animated charts

Hello, everyone :)

What renderers do support animation and which are the main methods to be used?

Thanks for the attention, all the best!
by Krac
Tue Jan 29, 2008 5:23 pm
Forum: JFreeChart
Topic: LineAndShapeRenderer - SymbolChart&setUseSeriesOffset is
Replies: 0
Views: 1792

LineAndShapeRenderer - SymbolChart&setUseSeriesOffset is

Hello, everybody :) I am using LineAndShapeRenderer and SymbolChart for the Oy-axis in order to rewrite the items-labels on the Oy axis. Below is the chart I already have. http://aycu18.webshots.com/image/40497/2004916307387455581_rs.jpg What I want are the following 2 things: 1) shift down the Oy v...
by Krac
Mon Jan 28, 2008 2:30 pm
Forum: JFreeChart
Topic: LineAndShapeRenderer workout
Replies: 3
Views: 3268

Brilliant!

Thanks, David :), you made my day.

Can this offset be set somewhere or it has fixed values/formula to establish the shift values?
by Krac
Mon Jan 28, 2008 9:18 am
Forum: JFreeChart
Topic: LineAndShapeRenderer workout
Replies: 3
Views: 3268

LineAndShapeRenderer workout

Hello everybody :) Is there any property/workout for a LineAndShapeRenderer to display items belonging to the same category a bit shifted? What I mean is that if for the underlying CategoryDataset, the RowKeys are identical, to display -though- the items a bit shifted on the Ox axis? Below is an ima...
by Krac
Tue Jan 22, 2008 4:16 pm
Forum: JFreeChart
Topic: HTML formatted text in ToolTips
Replies: 2
Views: 3626

Excellent, thanks!

I used the text formatted but WITHOUT the <HTML> tag... so it lead me nowhere :(
by Krac
Tue Jan 22, 2008 4:07 pm
Forum: JFreeChart
Topic: HTML formatted text in ToolTips
Replies: 2
Views: 3626

HTML formatted text in ToolTips

Hello, everyone :)

Is there any easy way to display the text in a tooltip HTML formatted?
Or at least bolding some parts of the text and eventually using <br/> s in order to display the text on several rows?

TIA, all the best
by Krac
Fri Jan 18, 2008 1:43 pm
Forum: JFreeChart
Topic: SetSeriesVisible not working for BarRenderer/BarRenderer3D
Replies: 3
Views: 3771

I've found a workout on this subject -unfortunatelly it is for StackedBarRenderer3D :cry:- at the following address:

http://sourceforge.net/tracker/index.ph ... tid=115494

I wonder if that can help for BarRenderer & BarRenderer3D.
by Krac
Fri Jan 18, 2008 1:32 pm
Forum: JFreeChart
Topic: SetSeriesVisible not working for BarRenderer/BarRenderer3D
Replies: 3
Views: 3771

Dave, what if the remaining space isn't redistributed? Maybe this would be a simpler workout.

The same works for LineAndShapeRenderer, WITHOUT redistributing the remaining empty space!
by Krac
Fri Jan 18, 2008 1:11 pm
Forum: JFreeChart
Topic: SetSeriesVisible not working for BarRenderer/BarRenderer3D
Replies: 3
Views: 3771

SetSeriesVisible not working for BarRenderer/BarRenderer3D

Hello, everyone. Is there any workout for SetSeriesVisible for the mentioned renderers (Bar&Bar3D)? I use setSeriesVisible(series, BooleanUtilities.valueOf(b)); in order to make the desired series apper/disappear, but without any effect. This works though for LineAndShapeRenderer. Any directions wou...
by Krac
Mon Jan 29, 2007 10:49 am
Forum: JFreeChart
Topic: SpiderWeb Chart Legend Customization
Replies: 1
Views: 3054

After more study, I have found useful to override the getLegendItems() method of the SpiderWebPlot class, as follows: public LegendItemCollection getLegendItems() { LegendItemCollection result = new LegendItemCollection(); java.util.List keys = null; if (this.getDataExtractOrder() == TableOrder.BY_R...
by Krac
Fri Jan 26, 2007 10:40 am
Forum: JFreeChart
Topic: SpiderWeb Chart Legend Customization
Replies: 1
Views: 3054

SpiderWeb Chart Legend Customization

Hello everybody :) Is it possible to change the label of a desired item within a spider-web chart legend? I went so far and got a LegendItemCollection and also the individual LegendItem(s) for the collection, but there is no setLabel method implemented! So how can this be done? For BarChart, I have ...
by Krac
Fri Jan 19, 2007 10:27 am
Forum: JFreeChart
Topic: JDBCCategoryDataset and more series within the same BarChart
Replies: 2
Views: 3162

Thanks for the swift reply, Dave. I understand that using JDBCCategoryDataset is not very much encouraged :), at least not for complicated stuff. Wanted also to ask the following: If a query uses GROUP BY statements, is there a fast solution to have as many SERIES for a chart as GROUPS in the result...
by Krac
Thu Jan 18, 2007 4:06 pm
Forum: JFreeChart
Topic: JDBCCategoryDataset and more series within the same BarChart
Replies: 2
Views: 3162

JDBCCategoryDataset and more series within the same BarChart

Hello, everybody :) I try to create a BarChart using a JDBCCategoryDataset and enrich it with the results of another JDBCCategoryDataset, as follows, but without any success: ------------------------------------------------------------- String sql1="select label, value from table where condition1"; ...
by Krac
Thu Dec 07, 2006 11:53 pm
Forum: JFreeChart
Topic: Bar Chart Legend Customization
Replies: 4
Views: 5031

OK, finally got it working :) ___________________________________________________ static class CustomizedCategorySeriesLabelGenerator extends StandardCategorySeriesLabelGenerator { private static final long serialVersionUID = 1L; public CustomizedCategorySeriesLabelGenerator() { super(); } @Override...
by Krac
Thu Dec 07, 2006 10:35 pm
Forum: JFreeChart
Topic: Bar Chart Legend Customization
Replies: 4
Views: 5031

In the renderer, you can specify your own legend item label generator: renderer.setLegendItemLabelGenerator(yourGeneratorHere) Thanks for the swift reply, David; a short example on how the custom generator should look like would be very much appreciated. I saw some examples for series items labels ...