A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
krzyh
- Posts: 6
- Joined: Tue Jun 07, 2005 11:56 pm
Post
by krzyh » Wed Jun 08, 2005 12:00 am
Hi
How to get effect like this (made with jfreechart).
KrzyH
-
krzyh
- Posts: 6
- Joined: Tue Jun 07, 2005 11:56 pm
Post
by krzyh » Fri Jun 10, 2005 6:15 am
-
Zane
- Posts: 6
- Joined: Thu Jun 09, 2005 12:11 pm
Post
by Zane » Fri Jun 10, 2005 8:53 am
Use ScatterPlot and then set the shapes with renderer.setSeriesShape(...)

Zane
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Fri Jun 10, 2005 10:10 am
The GanttRenderer will do the bars in the data area, but you'll need a custom category axis to get the labels with icons and colors.
-
padhu
- Posts: 7
- Joined: Tue Jun 07, 2005 8:31 pm
Post
by padhu » Fri Jun 10, 2005 8:50 pm
I posted a patch for category axis that will allow setting different fonts and paints by category. I am not sure how to get the multiple bars for the same task. Maybe as David said, the Gantt dataset supports this feature.
-- pady
-
krzyh
- Posts: 6
- Joined: Tue Jun 07, 2005 11:56 pm
Post
by krzyh » Sun Jun 12, 2005 9:11 pm
david.gilbert wrote:The GanttRenderer will do the bars in the data area, but you'll need a custom category axis to get the labels with icons and colors.
I use Gnatt chart and get effect:
And now how get bars bigger, with no space between them ?
I've tried severel methods from CategoryItemRenderer but with no effect
------------
KrzyH