fix: 对成柱状图维度错位

#6745
This commit is contained in:
ulleo 2023-11-20 18:10:03 +08:00
parent c177583b60
commit 3349d6b89b
2 changed files with 6 additions and 0 deletions

View File

@ -697,6 +697,11 @@ export function getXAxis(chart) {
}
} : null
if (a.axisLabel.show && chart.type === 'bidirectional-bar') {
label.rotate = 0
label.style.textAlign = 'start'
}
axis = {
position: transAxisPosition(chart, a),
title: title,

View File

@ -226,6 +226,7 @@
/>
</el-form-item>
<el-form-item
v-if="chart.type && chart.type !== 'bidirectional-bar'"
:label="$t('chart.axis_label_rotate')"
class="form-item form-item-slider"
>