JavascriptCharts dailystat is one day to soon
When Using JavascriptCharts there is a shift of one day in the daily statistic:
I uploaded a screenshot:
(1) The Chart shows 671 Visitors on 4.12.2018. In the table below the 671 is on the 5.12.2018. (2) The peak in the Transfer (170MB) is in the table on the 4.12.2018 – In the Chart at 3.12.2018. (3) The 31.12.2018 is missing in the chart – but listed in the table (not on the picture).
In every month the last day in the dailystat is missing (empty) so I think there is something wrong with an array or similar
thank you
Comments (7)
-
repo owner -
repo owner - changed status to open
-
repo owner Is there any chance that
webalizer_highcharts.js
got mixed up between SSW v4.3.x and v5.0.0?In SSW v4.3.x daily usage chart was rendered as an x/y chart, where days were x-values and hits/files/etc were y-values. In SSW v5.0.0 it was changed to render them as a column series where only hits/files/etc values were supplied to Highcharts, which stumbled upon a peculiar implementation of column x-axis in Highcharts and resulted in a column shift by one value, as seen above. This shouldn't happen in SSW v4.3.0.
-
repo owner - changed status to resolved
Worked around an issue with Highcharts design that interprets axis
min
value as a minimum index into the axis series rather than a minimum value. In other words, day1
was interpreted as the element after the first one in the days array, which shifted the X axis by one day.The fix is released only in v5.0.0.
-
repo owner - changed milestone to v5.0.0
When Using JavascriptCharts there is a shift of one day in the daily statistic:
I uploaded a screenshot:
(1) The Chart shows 671 Visitors on 4.12.2018. In the table below the 671 is on the 5.12.2018. (2) The peak in the Transfer (170MB) is in the table on the 4.12.2018 – In the Chart at 3.12.2018. (3) The 31.12.2018 is missing in the chart – but listed in the table (not on the picture).
In every month the last day in the dailystat is missing (empty) so I think there is something wrong with an array or similar
thank you
-
repo owner -
assigned issue to
When Using JavascriptCharts there is a shift of one day in the daily statistic:
I uploaded a screenshot:
(1) The Chart shows 671 Visitors on 4.12.2018. In the table below the 671 is on the 5.12.2018. (2) The peak in the Transfer (170MB) is in the table on the 4.12.2018 – In the Chart at 3.12.2018. (3) The 31.12.2018 is missing in the chart – but listed in the table (not on the picture).
In every month the last day in the dailystat is missing (empty) so I think there is something wrong with an array or similar
thank you
-
assigned issue to
-
repo owner - changed status to closed
- Log in to comment
I see it. Give me a couple of days.