From 3648506b7c2775eb255c7ee0c9cfab6983cafd06 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Wed, 16 Aug 2023 01:28:48 +0800 Subject: [PATCH] cabana: set border color for scatter series (#29408) old-commit-hash: 9dac6b66f982dc5356821048627d70b18595b39e --- tools/cabana/chart/chart.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cabana/chart/chart.cc b/tools/cabana/chart/chart.cc index 7ba2e87110..08e8b54b73 100644 --- a/tools/cabana/chart/chart.cc +++ b/tools/cabana/chart/chart.cc @@ -764,6 +764,7 @@ QXYSeries *ChartView::createSeries(SeriesType type, QColor color) { chart()->legend()->setMarkerShape(QLegend::MarkerShapeFromSeries); } else { series = new QScatterSeries(this); + static_cast(series)->setBorderColor(color); chart()->legend()->setMarkerShape(QLegend::MarkerShapeCircle); } series->setColor(color);