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

Add new property to QAbstractSeries to allow hiding a series in the legend of a QChartView

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.12.3
    • Fix Version/s: None
    • Component/s: Charts
    • Platform/s:
      All

      Description

      The legend for a chart view currently is an all-or-nothing deal, it is not possible to specify on a per-series basis whether a series should be visible in the legend.

      There are uses cases (e.g., showing a fit through data) where certain series should not be visible in the legend - adding an additional 'visibleInLegend' property to the QAbstractSeries would add flexibility that is currently missing in QML.

        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:
              aamann aamann
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes