Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.2
-
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
- is required for
-
QTBUG-93365 QtCharts QXYSeries: Add custom legend markers
-
- Closed
-