diff --git a/root/js/solardash.base.js b/root/js/solardash.base.js index 801711d..3e1b40e 100644 --- a/root/js/solardash.base.js +++ b/root/js/solardash.base.js @@ -1,7 +1,10 @@ Highcharts.setOptions({ time: { - timezone: 'America/Los_Angeles' - } + timezone: 'America/Los_Angeles', + }, + lang: { + thousandsSep: ',', + }, }); socket.onopen = function() { @@ -106,18 +109,18 @@ var solarchart = Highcharts.stockChart('solarchart', { }, type: "datetime", title: { - enabled: false + enabled: false, }, ordinal: false, }, yAxis: { title: { - text: 'W' + text: 'W', } }, tooltip: { split: true, - valueSuffix: ' W' + valueSuffix: ' W', }, plotOptions: { area: { @@ -134,17 +137,17 @@ var solarchart = Highcharts.stockChart('solarchart', { series: [ { name: 'consumption', - type: 'area', + type: 'line', data: [ ], }, { name: 'grid', - type: 'area', + type: 'line', data: [ ], }, { name: 'production', - type: 'area', + type: 'line', data: [ ], }, ]