Martin-Gleiss / smartvisu

smartVISU is a framework to create a visualisation for a knx-installation with simple html-pages. To read and write group-telegramms special tags are used.
http://www.smartvisu.de
GNU General Public License v3.0
101 stars 103 forks source link

plot.period : ymax ignored #166

Closed lgb-this closed 7 years ago

lgb-this commented 7 years ago

Current delevop of Smartvisu with SmarthomeNG (dev) on a raspberry Pi3.

{{ plot.period('',['Energie.NetzLieferung.Aktuell'],'max','6h','',[0],[10000],'',['Einspeisen'],['#FF0000'],['spline'],['','Watt'],'1h',[1],[0],['#FF0000'],['linear']) }}

grafik

Scale of y-axe is ok (max 10'000).

{{ plot.period('',['Energie.NetzLieferung.Aktuell','Energie.Verbraucher.Geschirr'],'max','6h','',[0,'False'],[10000,'True'],'',['Einspeisen','Geschirr'],['#FF0000','#0000FF'],['spline','stair'],['','Watt','Status'],'1h',[1,2],[0,1],['#FF0000','#0000FF'],['linear','boolean']) }}

grafik

Y-axe of the left system (Einspeisen, red) ymax is ignored (max. 15'000 instead of 10'000).

How can i limit the y-axe in a multi-axe-system ?

smaiLee commented 7 years ago

This seems to have been a bug in highcharts. After migration to version 5 in 40f30370e367b4e04325425feeb58261ebd03844 this is fixed now (at least I couldn't reproduce it anymore). Please check and close this issue if it's OK.

lgb-this commented 7 years ago

Solved. Thanks !