mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
cabana: set border color for scatter series (#29408)
old-commit-hash: 9dac6b66f982dc5356821048627d70b18595b39e
This commit is contained in:
@@ -764,6 +764,7 @@ QXYSeries *ChartView::createSeries(SeriesType type, QColor color) {
|
||||
chart()->legend()->setMarkerShape(QLegend::MarkerShapeFromSeries);
|
||||
} else {
|
||||
series = new QScatterSeries(this);
|
||||
static_cast<QScatterSeries*>(series)->setBorderColor(color);
|
||||
chart()->legend()->setMarkerShape(QLegend::MarkerShapeCircle);
|
||||
}
|
||||
series->setColor(color);
|
||||
|
||||
Reference in New Issue
Block a user