I used Qwt 5 for a long time, but I didn't move to Qwt 6 because Uwe made too many incompatible changes along with some unconventional API choices. It would have been too hard to port my code.
I paid for an early commercial license to QtCharts when they were first introduced. It makes attractive charts, but is completely impossible to customize if what comes out of the box doesn't exactly fit your needs. You can't add new series or chart types because all of the implementation details are in hidden private classes, and there are no virtual functions in the public interfaces that would allow you to override behavior. It's a terrible design and isn't at all Qt-like because it is so rigid.
QCustomPlot seems to have the most promise but I haven't investigated too deeply other than download the package and try some of the examples.
I eventually wrote my own data plotting widget which uses parts of Qwt (for axes mostly) and uses QGraphicsView for the main canvas, but it is limited to line and scatter plots. For my data visualization, I need to display scatter plots where each individual point has not only a position but can have a size and color different from other points. I also needed to feed data to the plot from a QAbstractItemModel through a proxy model that selects columns from a source model to be used for position, color, and size and which will update the plot in real time as the source model changes.
Probably at some point I will port over to QCustomPlot; it looks like the new 2.0.0 version can be customized to do most of what I am doing, plus I get the advantage of many more graph types.




Reply With Quote
Bookmarks