Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.10, 6.2.2
-
None
Description
The lowerSeries and upperSeries properties are non-NOTIFYable while they probably should be, if only for completeness sake. Not that it wouldn't work, they won't change often anyways, if ever, but if there's code that accesses them, this results in annoying log spamming.
For instance, I use ChartView with AreaSeries and a MouseArea on top for cursor-tracking to show/update a tooltip as the mouse moves over the graph. Example code:
text: areaSeries.upperSeries.at(hoveredIndex).y.toFixed(2)
Which produces this message for every moved pixel:
QQmlExpression: Expression qrc:/ui/mainviews/energy/ConsumersHistory.qml:312:29 depends on non-NOTIFYable properties: QtCharts::DeclarativeAreaSeries::upperSeries
Side note:
Given I have to instantiate the areaSeries on the fly, through JavaScript, I can't directly reference the uppserSeries unless I keep a reference to them directly which would be a redundancy given I already keep references to the areaSeries.