Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134004

LineSeries behaves inconsistent and not useful wrt width.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • Graphs: 2D
    • None
    • Linux/Wayland

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kagro Kaj Grönholm
            tomz Tom Zander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes