I am having trouble replicating the bar chart visualization results using emoncms api. My results are off consistently off by 24 hours. Is there documentation on the specific calls that are used for the website bar charts that I can replicate.
For me is was my Browser’s Date and Time Zone.
I couldn’t find where to set it in the browser, so I went to the php script on the EmonPi.
/var/www/emoncms/Modules/vis/visualisations/bargraph.php
‘’’
From:
xaxis: { mode: “time”, timezone: “browser”, min: view.start, max: view.end, minTickSize: [intervalrange, “second”] },