File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/app/components/pieChart Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
< div class ="panel panel-default ">
3
3
< div class ="panel-body easypiechart-panel ">
4
4
< h4 > {{properties['label']}}</ h4 >
5
- < div class ="progressBarText ">
6
- {{((properties['current']/properties['max'])*100).toFixed(1 )}}%
5
+ < div class ="progressBarText " [style.color] =" properties['color'] " >
6
+ {{((properties['current']/properties['max'])*100).toPrecision(3 )}}%
7
7
</ div >
8
8
< div class ="progressive-pieChart ">
9
9
< round-progress
Original file line number Diff line number Diff line change 7
7
bottom : auto ; left : 50% ; transform : translateY (-50% ) translateX (-50% );
8
8
font-size : 2.7rem ;
9
9
padding-top : 10px ;
10
+ padding-left : 7.5px ;
10
11
}
11
12
12
13
.progressive-pieChart {
13
14
padding : 30px ;
14
15
}
15
16
16
17
// Little larger screen
17
- @media only screen and (max-width : 480 px ){
18
+ @media only screen and (max-width : 380 px ){
18
19
.progressBarText {
19
- font-size : 0.8 rem ;
20
+ font-size : 2 rem ;
20
21
}
21
22
}
22
23
You can’t perform that action at this time.
0 commit comments