View Issue Details

IDProjectCategoryView StatusLast Update
0002905HTML & PERLBug Report - Interfacepublic2017-07-04 14:59
ReporterSoulweaver Assigned ToDerIdiot  
Status resolvedResolutionfixed 
Fixed in Version2017-08 
Summary0002905: Graphs: Include data points for all distinct points of time between start and end in line graphs even if the value is zero
DescriptionThe way the line graphs on the site are drawn is working mostly fine, but there's a slight issue regarding points at time where there was no activity or no change to data. Highcharts simply draws a straight line between all of the data points fed to it from the graph container's JSON attribute, and for time-based series, if there are months missing in between, that sometimes ends up not looking right. The old, backend-generated graphs didn't have this issue as far as I'm aware.

A good example of this is the releases graph for gg: . They became inactive in early 2014, but came back in late 2015 to work for a few more series after going away again. However, since the graph data doesn't have any data points for the months they didn't do anything – that is, between 2014-03 and 2015-12 – there's just a slightly descending line between the two months from which you would read that they were indeed active for the entirety of that period. The fact that a symbol is drawn on each point with suitably few data points doesn't change the fact this is misleading.

The same behavior seems to be common to all line graphs, but it mostly concerns group charts and, to a lesser degree, all of the user stats graphs (such as votes by year, going with a straight line from 1984 to 1988 for me instead of dropping down to zero for years 1985 through 1987).


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-05-23 22:54 Soulweaver New Issue
2017-05-23 22:54 Soulweaver Tag Attached: graph
2017-06-25 04:40 DerIdiot Project AniDB Website => HTML & PERL
2017-07-03 13:50 DerIdiot Assigned To => DerIdiot
2017-07-03 13:50 DerIdiot Status new => resolved
2017-07-03 13:50 DerIdiot Resolution open => fixed
2017-07-03 13:50 DerIdiot Fixed in Version => 2017-08