QVBarModelMapper does not update BarChart on Model change



  • Hi,

    I am using QVBarModelMapper to show a BarChart. I provided my own implementation of QAbstractTableModel.
    But the BarChart does not update, when the data in the TableModel changes allthough dataChanged() is emitted.
    What do I have to do to automatically update the BarChart, when the model changes?



  • can you post your custom model code? the setData part in particular



  • I aldready fixed it. The dataChanged() call was wrong. Thanks for your respond


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.