eik3 / loxgraph

Graphs for the Loxone Miniserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synchronize Graphs

eik3 opened this issue · comments

The charting library supports graph sync and it would be handy to have this available in Loxgraph!

/cc @aleqcz

Thanks for the tip. I have forked your repo and have played with it. First experimental version available here: https://github.com/aleqcz/loxgraph/tree/synchronization

Thanks Aleš!

I've had a look now and sync works fine in your fork. However, I noticed a small visual glitch regarding the Graph title and the rolling average field in the lower left corner of the graph:

Loxgraph master:
original

Fork:
fork

Feel free to PR, I'm happy to merge once the issue is fixed!

Hi Eike,
fixed.
image
New dygraph required new CSS. I'll send Pull Request shortly.
Known issues - resizing browser window results in misplaced selected value label. After an hour of investigating I realized it's dygraph bug visible in their demos as well.

Cheers,
Aleš

Fixed by #5