mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
Applied the pony.fm colour to the chart
This commit is contained in:
parent
53cd704c84
commit
c90a8d744f
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue