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

QtCharts QXYSeries: Add light marker

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: Charts
    • Labels:
      None

      Description

      Light marker would be an image that you could use as a shape of the QXYSeries points.
      Should work for both line and scatter charts.

      Example usage

          QPainter p(&pm);
          p.setRenderHint(QPainter::Antialiasing, true);
          QPen pen(Qt::red, 2);
          p.setPen(pen);
          QBrush brush(Qt::red);
          p.setBrush(brush);
          p.drawEllipse(0, 0, size, size);
      
          series->setLightMarker(pm.toImage());

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              e0348803 Miikka Heikkinen
              Reporter:
              kosadev Łukasz Kosiński
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes