Fixed ping graph colors

This commit is contained in:
Risto Lahtela 2020-05-13 10:13:08 +03:00
parent 73147b5f8a
commit 84b5117e7b

View File

@ -1421,21 +1421,21 @@
type: s.type.spline, type: s.type.spline,
tooltip: s.tooltip.twoDecimals, tooltip: s.tooltip.twoDecimals,
data: json.avg_ping_series, data: json.avg_ping_series,
color: json.colors.avgPing color: json.colors.avg
}, },
maxPing: { maxPing: {
name: s.name.maxPing, name: s.name.maxPing,
type: s.type.spline, type: s.type.spline,
tooltip: s.tooltip.zeroDecimals, tooltip: s.tooltip.zeroDecimals,
data: json.max_ping_series, data: json.max_ping_series,
color: json.colors.maxPing color: json.colors.max
}, },
minPing: { minPing: {
name: s.name.minPing, name: s.name.minPing,
type: s.type.spline, type: s.type.spline,
tooltip: s.tooltip.zeroDecimals, tooltip: s.tooltip.zeroDecimals,
data: json.min_ping_series, data: json.min_ping_series,
color: json.colors.minPing color: json.colors.min
} }
}; };
lineChart('pingGraph', [series.avgPing, series.maxPing, series.minPing]); lineChart('pingGraph', [series.avgPing, series.maxPing, series.minPing]);