Export (high)charts Belchertown

75 views
Skip to first unread message

Arend

unread,
Jun 18, 2020, 3:09:39 PM6/18/20
to weewx-user

Hello,

I found this addition in the changelog (version 1.1)

* Added the ability to enable chart exporting using the Highcharts exporting utility.

So far I haven't found an exact discription how to activate this. There is no mentioning how to activate in the Belchertown Charts Documentation.

Adding the option in GRAPHS.CONF(.EXAMPLE):

# Global Chart Defaults # These are fallback options that charts will use if an option is not defined. aggregate_type = None time_length = 90000 # Last 25 hours type = line colors = "#7cb5ec, #b2df8a, #f7a35c, #8c6bb1, #dd3497, #e4d354, #268bd2, #f45b5b, #6a3d9a, #33a02c" tooltip_date_format = "LLL"
exporting = 1

Resulted in this with the "hamburgers" showing up in the upper right corners:

Highcharts_export.png



But the "hamburger" buttons can't be selected (inactive).
Maybe someone has already discovered how to configure the right way to export the charts?

Pat

unread,
Jun 18, 2020, 3:18:14 PM6/18/20
to weewx-user
It works in my debugger, but not on my site. I'll have to look into this

Arend

unread,
Jun 18, 2020, 4:17:58 PM6/18/20
to weewx-user


Op donderdag 18 juni 2020 21:18:14 UTC+2 schreef Pat:
It works in my debugger, but not on my site. I'll have to look into this


Hello Pat,

Thank you for your quick response. If you need additional information for tracing the cause of this problem, please let me know.

With kind regards, Arend

Pat

unread,
Jun 18, 2020, 7:39:33 PM6/18/20
to weewx-user
I think I fixed it. Replace your skins/Belchertown/style.css with the one attached in the zip file, then let an archive interval pass and refresh your page. 
style.zip

Arend

unread,
Jun 19, 2020, 3:08:53 AM6/19/20
to weewx-user
Hello Pat,

Your solution did indeed work for me: highchart export menu options are now showing up! For your information: after using and closing the menu option 'View in full screen' the chart doesn't return to its original size. But this is restored after doing a page refresh.

Thank you for providing this great skin.

Regards, Arend

Op vrijdag 19 juni 2020 01:39:33 UTC+2 schreef Pat:
Reply all
Reply to author
Forward
0 new messages