Qt 6.11 is out! See what's new in the release
blog
How to use the Mapper with QStandardItemModel?
-
Hi
I'm using qt5.15
I want to map QStandardItemModel and Qtchart(lineseries).
I tried with QXYModelMapper (QVXYModelMapper, QHXYModelMapper).
But My datamodel is a structure that cannot use QXYModelMapper like a picture.
Is there a way to map by specifying the range of the x-axis and y-axis like the picture above? -
Hi,
You could write a proxy model that remaps your data structure in something suitable.