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

Qt Chart - QAreaSeries with QDateTimeAxis incorrect axis range

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.8.0 RC
    • Component/s: Charts
    • Labels:
      None
    • Environment:
      Ubuntu 14.04
    • Commits:
      fd45b70695b0bb98dd516b195dbed3f4682b4110

      Description

      Hi,
      see attached example created from the QDateTimeAxis example project.

      Just added a second QLineSeries and created a QAreaSeries from both QLineSeries.
      Then if I attached only the QAreaSeries series into the chart the xAxis minimum date is badly setup on 01.01.1970 whatever the data.

      I put 2 alternative commented scenario where I put both the initial QLineSeries from the example and the QAreaSeries into the chart.
      When the QLineSeries is put first, xAxis minimum date is again incorrect.
      When the QAreaSeries is put first, xAxis minimum date is correct and follow the data

        Attachments

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

          Activity

            People

            Assignee:
            e0348803 Miikka Heikkinen
            Reporter:
            razamut razamut
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes