View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002905 | HTML & PERL | Bug Report - Interface | public | 2017-05-23 22:54 | 2017-07-04 14:59 |
Reporter | Soulweaver | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2017-08 | ||||
Summary | 0002905: Graphs: Include data points for all distinct points of time between start and end in line graphs even if the value is zero | ||||
Description | The 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: https://anidb.net/g2812 . 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). | ||||
Tags | graph | ||||
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 |