Skip to content

Commit 9010302

Browse files
authored
Improved dashed graphs (#190)
+ Dashed graphs in SMC observations no longer looks like a normal line when a graph has many points
2 parents aab3ca7 + aad7b4d commit 9010302

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/pipe/gui/graph/ObservationGraphDialog.java

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ private void updateVisibility() {
154154
renderer.setSeriesStroke(i, createStrokeForSeries(seriesKey, lineThickness));
155155
}
156156

157+
renderer.setDrawSeriesLineAsPath(true);
158+
157159
Map<String, Paint> baseColors = getBaseColors(dataset, renderer);
158160
for (int i = 0; i < dataset.getSeriesCount(); ++i) {
159161
String seriesKey = (String)dataset.getSeriesKey(i);

0 commit comments

Comments
 (0)