TimeSeries: guard against pointSize being set < lineWidth (#41577) (#41624)

(cherry picked from commit 7a92faf398)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-11-12 07:21:09 +01:00
committed by GitHub
co-authored by Leon Sorokin
parent 7aca22fb32
commit dffa61149a
@@ -109,7 +109,7 @@ export class UPlotSeriesBuilder extends PlotConfigBuilder<SeriesProps, Series> {
points: {
stroke: useColor,
fill: useColor,
size: pointSize,
size: !pointSize || pointSize < lineWidth! ? undefined : pointSize,
filter: pointsFilter,
},
};