Added xAxis: {ordinal: false} to bypass performance impact

Affects issues:
- Fixed #2135
This commit is contained in:
Risto Lahtela 2021-10-27 18:58:13 +03:00
parent db9ad77326
commit 113829477c

View File

@ -63,6 +63,9 @@ function diskChart(id, series) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
xAxis: {
ordinal: false
},
title: {text: ''}, title: {text: ''},
legend: { legend: {
enabled: true enabled: true
@ -83,7 +86,8 @@ function horizontalBarChart(id, categories, series, text) {
categories: categories, categories: categories,
title: { title: {
text: null text: null
} },
ordinal: false
}, },
yAxis: { yAxis: {
min: 0, min: 0,
@ -122,6 +126,9 @@ function lineChart(id, series) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
xAxis: {
ordinal: false
},
title: {text: ''}, title: {text: ''},
legend: { legend: {
enabled: true enabled: true
@ -140,6 +147,9 @@ function dayByDay(id, series) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
xAxis: {
ordinal: false
},
title: {text: ''}, title: {text: ''},
legend: { legend: {
enabled: true enabled: true
@ -266,6 +276,9 @@ function performanceChart(id, playersOnlineSeries, tpsSeries, cpuSeries, ramSeri
} }
} }
}], }],
xAxis: {
ordinal: false
},
legend: { legend: {
enabled: true enabled: true
}, },
@ -373,6 +386,9 @@ function playersChart(id, playersOnlineSeries, sel) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
xAxis: {
ordinal: false
},
/* Average online players graph Disabled /* Average online players graph Disabled
xAxis: { xAxis: {
events: { events: {
@ -403,6 +419,9 @@ function playersChartNoNav(id, playersOnlineSeries) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
xAxis: {
ordinal: false
},
title: {text: ''}, title: {text: ''},
plotOptions: { plotOptions: {
areaspline: { areaspline: {
@ -426,7 +445,8 @@ function punchCard(id, punchcardSeries) {
hour: '%I %P', hour: '%I %P',
day: '%I %P' day: '%I %P'
}, },
tickInterval: 3600000 tickInterval: 3600000,
ordinal: false
}, },
time: { time: {
timezoneOffset: 0 timezoneOffset: 0
@ -480,6 +500,9 @@ function resourceChart(id, cpuSeries, ramSeries, playersOnlineSeries) {
} }
} }
}], }],
xAxis: {
ordinal: false
},
legend: { legend: {
enabled: true enabled: true
}, },
@ -632,7 +655,8 @@ function stackChart(id, categories, series, label) {
tickmarkPlacement: 'on', tickmarkPlacement: 'on',
title: { title: {
enabled: false enabled: false
} },
ordinal: false
}, },
yAxis: { yAxis: {
title: { title: {
@ -689,6 +713,9 @@ function tpsChart(id, tpsSeries, playersOnlineSeries) {
} }
} }
}], }],
xAxis: {
ordinal: false
},
legend: { legend: {
enabled: true enabled: true
}, },
@ -731,6 +758,9 @@ function worldChart(id, entitySeries, chunkSeries, playersOnlineSeries) {
} }
} }
}], }],
xAxis: {
ordinal: false
},
legend: { legend: {
enabled: true enabled: true
}, },