mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-29 16:17: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>
|
<h4>Plays over time</h4>
|
||||||
<div class="chart-container">
|
<div class="chart-container">
|
||||||
<canvas id="line" class="chart chart-line" chart-data="playsData"
|
<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>
|
</canvas>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -41,6 +41,7 @@ module.exports = angular.module('ponyfm').controller 'track-stats', [
|
||||||
|
|
||||||
$scope.playsLabels = labelArray
|
$scope.playsLabels = labelArray
|
||||||
$scope.playsData = cumArray
|
$scope.playsData = cumArray
|
||||||
|
$scope.colours = ['#B885BD']
|
||||||
$scope.series = ['Plays']
|
$scope.series = ['Plays']
|
||||||
$scope.totalSelected = true
|
$scope.totalSelected = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue