mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 16:37:58 +01:00
Fixed timezone issue with all graphs
This commit is contained in:
parent
ce45271c49
commit
4d58197adc
@ -840,9 +840,17 @@
|
|||||||
maxPing: '${maxPingColor}',
|
maxPing: '${maxPingColor}',
|
||||||
minPing: '${minPingColor}',
|
minPing: '${minPingColor}',
|
||||||
avgPing: '${avgPingColor}'
|
avgPing: '${avgPingColor}'
|
||||||
|
},
|
||||||
|
values: {
|
||||||
|
timezoneOffset: ${timeZone}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Highcharts.setOptions({
|
||||||
|
lang: {noData: "No Data to Display"},
|
||||||
|
time: {timezoneOffset: v.values.timezoneOffset * 60}
|
||||||
|
});
|
||||||
|
|
||||||
// HighCharts Series
|
// HighCharts Series
|
||||||
var s = {
|
var s = {
|
||||||
name: {
|
name: {
|
||||||
|
@ -749,6 +749,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
try {
|
try {
|
||||||
|
Highcharts.setOptions({lang: {noData: "No Data to Display"}, time: {timezoneOffset: ${timeZone} * 60}
|
||||||
|
})
|
||||||
setLoadingText('Loading player values..');
|
setLoadingText('Loading player values..');
|
||||||
jsonRequest("../v1/player?player=${playerName}", function (json, error) {
|
jsonRequest("../v1/player?player=${playerName}", function (json, error) {
|
||||||
loadPlayerOverviewValues(json, error);
|
loadPlayerOverviewValues(json, error);
|
||||||
@ -788,8 +790,6 @@
|
|||||||
$('#sessionCalendar').text("Failed to load calendar data: " + error)
|
$('#sessionCalendar').text("Failed to load calendar data: " + error)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
setLoadingText('Rendering graphs..');
|
|
||||||
setLoadingText('Sorting players table..');
|
|
||||||
setLoadingText('Almost done..');
|
setLoadingText('Almost done..');
|
||||||
openPage();
|
openPage();
|
||||||
setLoadingText('Done.');
|
setLoadingText('Done.');
|
||||||
|
@ -1336,7 +1336,10 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Highcharts.setOptions({lang: {noData: "No Data to Display"}, time: {timezoneOffset: v.timezoneOffset * 60}});
|
Highcharts.setOptions({
|
||||||
|
lang: {noData: "No Data to Display"},
|
||||||
|
time: {timezoneOffset: v.values.timezoneOffset * 60}
|
||||||
|
});
|
||||||
|
|
||||||
// HighCharts Series
|
// HighCharts Series
|
||||||
var s = {
|
var s = {
|
||||||
|
Loading…
Reference in New Issue
Block a user