LayeredBarRenderer and StatisticalBarRendererin one chart?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
tzippy
Posts: 2
Joined: Thu Jul 22, 2010 3:11 pm
antibot: No, of course not.

LayeredBarRenderer and StatisticalBarRendererin one chart?

Post by tzippy » Fri Jul 23, 2010 11:04 am

Hello!
I want to create a chart that has layered statistical bar charts and regular BarCharts.
A couple consists of a regular and a statistical barchart.
This is how it's supposed to look (photoshopped):

Image

By now I use only statisticalbarcharts and set the deviation of every second bar to "0" leaving me with the grey markers on top of the bar chart.
Any idea how to accomplish this?

thanks!

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Re: LayeredBarRenderer and StatisticalBarRendererin one chart?

Post by matinh » Fri Jul 23, 2010 12:30 pm

Hi!

Try adding multiple datasets (or maybe the same dataset twice, I don't know the mentioned renderers off-hand) and configure the two different renderers for the datasets. Both datasets should be mapped to the same axis.

hth,
- martin

Locked