Graph: use smaller maximum Y Axis value when possible #5216
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
Please look to one example of in efficient calculation of graph maximum value. In this particular case maximum value of plotted metric (avg. generation time) is 0.72 where maximum of graph is 2. I would say that is safe to scale maximum value with 1.0 to 1.1 and assume this as maximum value for graph. Of course on graphs with multiple metric plotted this is harder task. I think that on forum there has been proposal to introduce secondary axis to solve such kind of problems.
http://demo.piwik.org/index.php?module=CoreHome&action=index&idSite=7&period=day&date=yesterday#/module=VisitsSummary&action=index&idSite=7&period=day&date=yesterday
The text was updated successfully, but these errors were encountered: