mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Fix issue when thresholds shows only partially (#23982)
This commit is contained in:
committed by
GitHub
parent
6398b77d64
commit
adcff1ece4
5
changelog/unreleased/issue-23981.toml
Normal file
5
changelog/unreleased/issue-23981.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "f"
|
||||
message = "Fix issue when thresholds shows only partially."
|
||||
|
||||
issues = ["23981"]
|
||||
pulls = ["23982"]
|
||||
@@ -63,7 +63,8 @@ const getThresholdShapes = ({
|
||||
? formatValueWithUnitLabel(prettified?.value, prettified.unit.abbrev, 0)
|
||||
: value;
|
||||
|
||||
const axisStartPosition = getYAxisPosition(mapperAxisNumber[curSeries.function] ?? 0);
|
||||
const seriesName = curSeries.config.name || curSeries.function;
|
||||
const axisStartPosition = getYAxisPosition(mapperAxisNumber[seriesName] ?? 1);
|
||||
|
||||
const shape: Partial<Shape> = {
|
||||
type: 'line',
|
||||
|
||||
Reference in New Issue
Block a user