wood burning stoves*
The moose likes Other Open Source Projects and the fly likes MultiLable chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "MultiLable chart" Watch "MultiLable chart" New topic
Author

MultiLable chart

krish hotha
Greenhorn

Joined: Jun 28, 2010
Posts: 12
Hi ,

Could you please tell me how can i generate the multibar chart as in the image i attached ?.



[Thumbnail for Picture1.png]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41173
    
  45
JFreeChart


Ping & DNS - my free Android networking tools app
krish hotha
Greenhorn

Joined: Jun 28, 2010
Posts: 12
i want to do this by using cewolf web chart. could you please tell me which class i need to use to generate this chart .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41173
    
  45
I see; you should have mentioned that this is for a web app. Download the cewolfexample web app, and check out the "VerticalBarChart" example on the "Cewolf Set" page.
krish hotha
Greenhorn

Joined: Jun 28, 2010
Posts: 12
Thank you very much for your support. i implemented that example. but i just want to know how can i reduce the gap between two bars.


[Thumbnail for testall.JPG]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41173
    
  45
That's a job for a ChartPostProcessor, in particular for the de.laures.cewolf.cpp.BarRendererProcessor and its itemMargin attribute. The StackedVerticalBar example shows that that postprocessor in action.
 
Consider Paul's rocket mass heater.
 
subject: MultiLable chart
 
Similar Threads
needing tips for developing a line chart that takes in data points to generate chart
How i can make organization chart with multi-parent in java fx?
code for Bar chart
plotting pie and bar charts
create chart application in java