Skip to content

Commit ab4ffc5

Browse files
Plotly: always use markers when the message has fewer than datapoints
1 parent 786fdde commit ab4ffc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Plotly.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ export default {
772772
newData.y.push(data.y[i])
773773
lastx = data.x[i]
774774
}
775-
if (totalGaps > (totalPoints / 2)) {
775+
if (totalGaps > (totalPoints / 2) || totalPoints < 100) {
776776
newData.isSwissCheese = true
777777
}
778778
return newData

0 commit comments

Comments
 (0)