Hello, this is my first post, my name is Nicolas and I'm new to Qt.

The output of the barchart example is:
img1.JPG

And I need something like this:
img2.JPG

Removing the sentence:
Qt Code:
  1. for ( int i = 0; i < numSamples; i++ )
To copy to clipboard, switch view to plain text mode 

The output is:
img3.JPG
How can I solve it?

I tried to use the QwtPlotBarChart class insted of QwtPlotMultiBarChart but couldn't set a different color for each bar.

Regards.