Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.2
-
None
Description
The LineSeries behaves different from the bar graph when it comes to deciding what the horizontal 'width' of the graph is.
The bar graph uses the amount of items in its data in order to take the total width and determine the width of each item.
The LineSeries, on the other hand, does not have any way to determine the 'width' of the graph. The x coordinates are not possible to set on the LineSeries in any sort of way.
Instead, the LineSeries implicitly gets its 'width' from the parent GraphsView's axisX.
This is inconsistent and has as a side-effect that it can't be used dynamically due to QTBUG-134002.
The lineseries should behave different than the xyseries. I understand that the xyseries may want an explicit setting of width. But a line-series shouldn't need that. It should be capable of determining its width based on the data set.