fix(图表): 修复双轴图批量设置缺少纵轴项

This commit is contained in:
ulleo 2024-09-20 19:01:50 +08:00
parent 5208a5a844
commit 8bc1abca38
3 changed files with 4 additions and 4 deletions

View File

@ -601,11 +601,11 @@ watch(
:change-model="chart.customStyle.yAxis"
@modelChange="val => onChangeYAxisForm(val, 'show')"
name="yAxis"
:title="selectorSpec['dual-y-axis-selector']?.title"
:title="selectorSpec['dual-y-axis-selector']?.title ?? t('chart.yAxis')"
>
<dual-y-axis-selector
class="attr-selector"
:property-inner="propertyInnerAll['y-axis-selector']"
:property-inner="propertyInnerAll['dual-y-axis-selector']"
:themes="themes"
:chart="chart"
@onChangeYAxisForm="onChangeYAxisForm"

View File

@ -66,7 +66,7 @@ export class BidirectionalHorizontalBar extends G2PlotChartView<
'border-style': ['all'],
'basic-style-selector': ['colors', 'alpha', 'gradient', 'layout', 'radiusColumnBar'],
'x-axis-selector': ['position', 'axisLabel', 'axisLine', 'splitLine'],
'y-axis-selector': [
'dual-y-axis-selector': [
'name',
'position',
'color',

View File

@ -41,7 +41,7 @@ export const CHART_MIX_EDITOR_PROPERTY_INNER: EditorPropertyInner = {
'axisLine',
'splitLine'
],
'y-axis-selector': [
'dual-y-axis-selector': [
'name',
'color',
'fontSize',