fix timezone
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
import Highcharts from 'highcharts'
|
||||
import 'highcharts/css/highcharts.scss'
|
||||
import Loader from '@/components/Loader'
|
||||
|
||||
Highcharts.setOptions({
|
||||
time: {
|
||||
timezoneOffset: new Date().getTimezoneOffset()
|
||||
}
|
||||
})
|
||||
export default {
|
||||
props: ['window', 'type'],
|
||||
components: {
|
||||
@@ -76,7 +82,7 @@ export default {
|
||||
},
|
||||
title: { enabled: false }
|
||||
},
|
||||
series: [{ data }],
|
||||
series: [{ name: type, data }],
|
||||
credits: { enabled: false }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user