|
5 | 5 | Chart.defaults.global.multiTooltipTemplate = '<%if (datasetLabel){%><%=datasetLabel%>: <%}%><%= value %>'; |
6 | 6 |
|
7 | 7 | Chart.defaults.global.colours = [ |
8 | | - { // blue |
9 | | - fillColor: 'rgba(151,187,205,0.2)', |
10 | | - strokeColor: 'rgba(151,187,205,1)', |
11 | | - pointColor: 'rgba(151,187,205,1)', |
12 | | - pointStrokeColor: '#fff', |
13 | | - pointHighlightFill: '#fff', |
14 | | - pointHighlightStroke: 'rgba(151,187,205,0.8)' |
15 | | - }, |
16 | | - { // light grey |
17 | | - fillColor: 'rgba(220,220,220,0.2)', |
18 | | - strokeColor: 'rgba(220,220,220,1)', |
19 | | - pointColor: 'rgba(220,220,220,1)', |
20 | | - pointStrokeColor: '#fff', |
21 | | - pointHighlightFill: '#fff', |
22 | | - pointHighlightStroke: 'rgba(220,220,220,0.8)' |
23 | | - }, |
24 | | - { // red |
25 | | - fillColor: 'rgba(247,70,74,0.2)', |
26 | | - strokeColor: 'rgba(247,70,74,1)', |
27 | | - pointColor: 'rgba(247,70,74,1)', |
28 | | - pointStrokeColor: '#fff', |
29 | | - pointHighlightFill: '#fff', |
30 | | - pointHighlightStroke: 'rgba(247,70,74,0.8)' |
31 | | - }, |
32 | | - { // green |
33 | | - fillColor: 'rgba(70,191,189,0.2)', |
34 | | - strokeColor: 'rgba(70,191,189,1)', |
35 | | - pointColor: 'rgba(70,191,189,1)', |
36 | | - pointStrokeColor: '#fff', |
37 | | - pointHighlightFill: '#fff', |
38 | | - pointHighlightStroke: 'rgba(70,191,189,0.8)' |
39 | | - }, |
40 | | - { // yellow |
41 | | - fillColor: 'rgba(253,180,92,0.2)', |
42 | | - strokeColor: 'rgba(253,180,92,1)', |
43 | | - pointColor: 'rgba(253,180,92,1)', |
44 | | - pointStrokeColor: '#fff', |
45 | | - pointHighlightFill: '#fff', |
46 | | - pointHighlightStroke: 'rgba(253,180,92,0.8)' |
47 | | - }, |
48 | | - { // grey |
49 | | - fillColor: 'rgba(148,159,177,0.2)', |
50 | | - strokeColor: 'rgba(148,159,177,1)', |
51 | | - pointColor: 'rgba(148,159,177,1)', |
52 | | - pointStrokeColor: '#fff', |
53 | | - pointHighlightFill: '#fff', |
54 | | - pointHighlightStroke: 'rgba(148,159,177,0.8)' |
55 | | - }, |
56 | | - { // dark grey |
57 | | - fillColor: 'rgba(77,83,96,0.2)', |
58 | | - strokeColor: 'rgba(77,83,96,1)', |
59 | | - pointColor: 'rgba(77,83,96,1)', |
60 | | - pointStrokeColor: '#fff', |
61 | | - pointHighlightFill: '#fff', |
62 | | - pointHighlightStroke: 'rgba(77,83,96,1)' |
63 | | - } |
| 8 | + '#97BBCD', // blue |
| 9 | + '#DCDCDC', // light grey |
| 10 | + '#F7464A', // red |
| 11 | + '#46BFBD', // green |
| 12 | + '#FDB45C', // yellow |
| 13 | + '#949FB1', // grey |
| 14 | + '#4D5360' // dark grey |
64 | 15 | ]; |
65 | 16 |
|
66 | 17 | angular.module('chart.js', []) |
|
0 commit comments