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

View file

@ -33,8 +33,8 @@
</a-input> </a-input>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-button type="primary" :block="true" html-type="submit" :loading="loading" v-translate> <a-button type="primary" :block="true" html-type="submit" :loading="loading">
Login <translate>Login</translate>
</a-button> </a-button>
</a-form-item> </a-form-item>
</a-form> </a-form>

View file

@ -1 +1 @@
{"version":"1.2.0","build_id":4,"total_build":44} {"version":"1.2.0","build_id":5,"total_build":45}