TimeSeries: clamp max bar width to 200px (#48021) (#48024)

(cherry picked from commit 5c3be630f2)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-04-21 07:22:16 +02:00
committed by GitHub
co-authored by Leon Sorokin
parent 447752c00d
commit feaf32f04c
@@ -213,7 +213,7 @@ function mapDrawStyleToPathBuilder(
lineInterpolation?: LineInterpolation,
barAlignment = 0,
barWidthFactor = 0.6,
barMaxWidth = Infinity
barMaxWidth = 200
): Series.PathBuilder {
const pathBuilders = uPlot.paths;