fix radial bar chart

This commit is contained in:
0xJacky 2022-02-27 18:16:29 +08:00
parent f767f9eee8
commit d3789e52c4
3 changed files with 7 additions and 6 deletions

View file

@ -35,7 +35,7 @@ export default {
series: this.series,
chart: {
type: 'radialBar',
offsetY: -10
offsetY: 0
},
plotOptions: {
radialBar: {
@ -82,15 +82,16 @@ export default {
.container {
position: relative;
margin: 0 auto;
height: 172px;
.text {
position: absolute;
top: calc(72px);
top: calc(50% - 3px);
width: 100%;
text-align: center;
}
.bottom_text {
position: absolute;
top: calc(142px);
top: calc(152px);
font-weight: 600;
width: 100%;
text-align: center;