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

Qt Charts example shows not working code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.7, 6.4.1
    • Charts, Examples and Demos
    • None

    Description

      The first example on the Overview of Qt Charts (https://doc.qt.io/qt-5/qtcharts-overview.html) says:

      QLineSeries* series = new QLineSeries();
      series->add(0, 6);
      series->add(2, 4);
      

      ...but QLineSeries doesn't have "add" as member function.
      Probably "append" would be the right choice.

      Attachments

        Activity

          People

            e0348803 Miikka Heikkinen
            SJungherz Steffen Jungherz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: