cabana: set border color for scatter series (#29408)

old-commit-hash: 9dac6b66f9
beeps
Dean Lee 2 years ago committed by GitHub
parent 92ff85f4b4
commit 3648506b7c
  1. 1
      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<QScatterSeries*>(series)->setBorderColor(color);
chart()->legend()->setMarkerShape(QLegend::MarkerShapeCircle);
}
series->setColor(color);

Loading…
Cancel
Save