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

Qt Chart - QAreaSeries with QDateTimeAxis incorrect axis range

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 RC
    • 5.7.0
    • Charts
    • None
    • Ubuntu 14.04
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: