How to get chart like this

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
krzyh
Posts: 6
Joined: Tue Jun 07, 2005 11:56 pm

How to get chart like this

Post by krzyh » Wed Jun 08, 2005 12:00 am

Hi
How to get effect like this (made with jfreechart).
Image
Image

KrzyH

krzyh
Posts: 6
Joined: Tue Jun 07, 2005 11:56 pm

Post by krzyh » Fri Jun 10, 2005 6:15 am

nobody :?: :?:
:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :( :( :(

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(...)
:D
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.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

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:

Image

And now how get bars bigger, with no space between them ?
I've tried severel methods from CategoryItemRenderer but with no effect :cry:

------------
KrzyH

Locked