🐛Fix admin dashboard target line

This commit is contained in:
Matt Lott 2015-06-02 07:06:31 -07:00
parent 273b3156e0
commit 54623f5e30

View file

@ -295,7 +295,7 @@ module.exports = class AnalyticsSubscriptionsView extends RootView
lineColor: lineMetadata[targetSubsID].color
strokeWidth: lineMetadata[targetSubsID].strokeWidth
min: 0
max: @targetSubCount
max: Math.max(@targetSubCount, d3.max(@subs, (d) -> d.total))
## Cancelled