QCustomPlot Discussion and Comments

QCPBars side by side not stackedReturn to overview

It is very easy to show a Barchart with stacked bars, but I can't find a solution to show the
barcharts side by side.

I like to show something like this:
http://www.statistik-in-der-medizin.de/grafik-06.jpg

Is there an included solution I cound'n find, or shall I subclass QCPBars?

This effect can be easily achieved by simply offsetting the key coordinates accordingly. All bars plottables will be positioned at a common series of key values, with individual offsets determining whether the bar is left, centered or right of the original key.

Thanks a lot!

I use the complicated way and created a subclass of QCPBars to place "stacked" bars side by side...
Life my be so easy if you find the right way ;-)

I like (and understand) your widget more and more every day.

Greate job!