Skip to content

Commit

Permalink
cabana: Fix visibility issue for a single data point in series (comma…
Browse files Browse the repository at this point in the history
…ai#32749)

Fix visibility issue for a single data point in series
old-commit-hash: 38529c5
  • Loading branch information
deanlee authored Jun 14, 2024
1 parent 8f402f2 commit a854878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cabana/chart/chart.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void ChartView::updateSeriesPoints() {
}
((QScatterSeries *)s.series)->setMarkerSize(size);
} else {
s.series->setPointsVisible(pixels_per_point > 20);
s.series->setPointsVisible(num_points == 1 || pixels_per_point > 20);
}
}
}
Expand Down

0 comments on commit a854878

Please sign in to comment.