diff --git a/public/templates/tracks/stats.html b/public/templates/tracks/stats.html index 032e339b..595b9bd6 100644 --- a/public/templates/tracks/stats.html +++ b/public/templates/tracks/stats.html @@ -5,6 +5,6 @@

Plays over time

+ chart-labels="playsLabels" chart-legend="true" chart-series="series" chart-colors="colours">
diff --git a/resources/assets/scripts/app/controllers/track-stats.coffee b/resources/assets/scripts/app/controllers/track-stats.coffee index d2cf6fad..f697a904 100644 --- a/resources/assets/scripts/app/controllers/track-stats.coffee +++ b/resources/assets/scripts/app/controllers/track-stats.coffee @@ -41,6 +41,7 @@ module.exports = angular.module('ponyfm').controller 'track-stats', [ $scope.playsLabels = labelArray $scope.playsData = cumArray + $scope.colours = ['#B885BD'] $scope.series = ['Plays'] $scope.totalSelected = true