March and May confused in kwhdstacked/kwhdzoomer ?

I have data in my database for 4th April up to today. However, when I access kwhdstacked (or kwhdzoomer) in the month view, I get a bar for March and a bar for April.  In the day view, I have bars for all days as expected.  Has anyone else seen this ?

Thanks

Lloyd

Lloyd's picture

Re: March and May confused in kwhdstacked/kwhdzoomer ?

OK  Have made this work, but had to make a few changes.  Will send a pull request when I roll over to a third month and have confirmed that this is now working.

Lloyd

TrystanLea's picture

Re: March and May confused in kwhdstacked/kwhdzoomer ?

Hello Lloyd, yes I have noticed this, sometimes it does seem to display one month too many (with no data in it). Its a while since I tried to fix it but clearly to no avail. What was your fix?

Lloyd's picture

Re: March and May confused in kwhdstacked/kwhdzoomer ?

Have made some changes around labeling of axis, and the comparison that goes through and finds the months.  I have got two of the three graphs of this type working, and will try and address the third at the weekend - more mundane activities getting in the way before then I'm afraid, and I'll have to resist the urge to build my second emonTX.  I have added some test data to my database, and now tested for multiple months and spanning a year end.

Lloyd's picture

Re: March and May confused in kwhdstacked/kwhdzoomer ?

Managed to find time tonight to have look at this after all.  Have just sent the pull request.

Lloyd

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.