Visualisation bug correction

Visualisation module impacted: stacked, stackedsolar, zoom,
dailyhistogram.
This change avoid bargraph to display wrong values in the month and
annual view.
For more details: http://openenergymonitor.org/emon/node/5542