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

QtCharts QXYSeries: Add light marker

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.2
    • Charts
    • 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

          For Gerrit Dashboard: QTBUG-92884
          # Subject Branch Project Status CR V

          Activity

            People

              e0348803 Miikka Heikkinen
              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