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