So for translation, I am leveraging features in 4.6, so I can’t easily link 
to that.
I am creating json using the series support introduced in 4.5.  See,   
https://github.com/weewx/weewx/wiki/Tags-for-series
The code where I leverage it is here 
https://github.com/bellrichm/weewx-jas/tree/master/skins/jas/data
That repo has a working skin - very beta… But it should install. I’ll have 
a beta release soon. 
Basically I use the series support to create json that I ‘put’ into a 
javascript variable (via cheetah). I then use the json variable to feed 
ApexCharts. 
I put it into a javascript variable because I think I will be able to reuse 
the data for multiple charts.  So, less generation time….
Having cheetah capabilities, a huge design goal is to not need AJAX calls. 
If you go down that path you might as well create a web app to query the 
db… :)
As I look at what I have done, it is highly configurable. But I think that 
will limit how ‘pretty’ it can be made. So it might end up being a skin for 
people to learn with. 
I think that is the mini intro.  I’m more than happy to answer additional 
questions. 
rich
On Tuesday, 24 August 2021 at 18:29:11 UTC-4 [email protected] wrote:

> Rich can you explain a bit about what exactly you did to leverage the new 
> features ?   Any github repo or the like we can surf to see what's under 
> the hood ?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/f33a775a-8c52-48a5-8cc1-75a6811441a9n%40googlegroups.com.

Reply via email to