mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 03:13:53 +08:00
cabana: set border color for scatter series (#29408)
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