Qt World Summit: Register Today!

Change title of x-axis of QwtPlotMultiBarChart

  • How could I change the title of the x-axis of QwtPlotMultiBarChart? Following the codes of the example, I could draw multi bar chart like this

    alt text

    But how could I change the label of x-axis from 0,1,2,3,4 to text(ex : worst, bad, average, good, great)? Thanks

  • @tham I find the answer, you can do that by override the class "QwtScaleDraw"(check the example distrowatch).

Log in to reply