Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MultiLable chart

 
krish hotha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Could you please tell me how can i generate the multibar chart as in the image i attached ?.
Picture1.png
mutli bar
[Thumbnail for Picture1.png]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFreeChart
 
krish hotha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
testall.JPG
[Thumbnail for testall.JPG]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic