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

QtCharts QXYSeries: Add light marker

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.2
    • Charts
    • None

      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());

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

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

              Created:
              Updated:

                There are no open Gerrit changes