genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
392 stars 155 forks source link

Issue statistics correction : At the first entry HG.WebApp.Statistics… #220

Closed dmayard closed 8 years ago

dmayard commented 8 years ago

….Refresh is called 5 times due to initialisation of Date fields

Hi Gene, the only way I found to care that issue is to create a variable that is decremented by the 2 first calls of : $('#page_analyze_datefrom').on('change', function(){ $('#page_analyze_dateto').on('change', function(){

dmayard commented 8 years ago

Hi Gene I have added Multiple Statistiques. Mean that It shows every Sensor in the same graph independently.

genemars commented 8 years ago

hey @dmayard what do you think of renaming "Multiple" to "Detail", or something else more easy to understand.

genemars commented 8 years ago

@dmayard I've also noticed an issue. If I change the graph type to "bars" or "splines", it will still show as "lines".

dmayard commented 8 years ago

Ok Gene, You are right, we can use Detail instead of Multiple.

Le 12/09/2015 18:55, Gene a écrit :

hey @dmayard https://github.com/dmayard what do you think of renaming "Multiple" to "Detail", or something else more easy to understand.

— Reply to this email directly or view it on GitHub https://github.com/genielabs/HomeGenie/pull/220#issuecomment-139796654.

dmayard commented 8 years ago

As for your graph by hours, "Today detail" remains always as lines. I think is not in use for a detail to use "bars", perhaps can autorise "splines".

Le 12/09/2015 21:20, Gene a écrit :

@dmayard https://github.com/dmayard I've also noticed an issue. If I change the graph type to "bars" or "splines", it will still show as "lines".

— Reply to this email directly or view it on GitHub https://github.com/genielabs/HomeGenie/pull/220#issuecomment-139810997.