Applied the pony.fm colour to the chart

This commit is contained in:
Josef Citrine 2016-05-03 23:30:34 +01:00
parent 53cd704c84
commit c90a8d744f
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,6 @@
<h4>Plays over time</h4>
<div class="chart-container">
<canvas id="line" class="chart chart-line" chart-data="playsData"
chart-labels="playsLabels" chart-legend="true" chart-series="series">
chart-labels="playsLabels" chart-legend="true" chart-series="series" chart-colors="colours">
</canvas>
</div>

View file

@ -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