forked from github/dataease
fix(图表): 修复双轴图批量设置缺少纵轴项
This commit is contained in:
parent
5208a5a844
commit
8bc1abca38
@ -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"
|
||||
|
@ -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',
|
||||
|
@ -41,7 +41,7 @@ export const CHART_MIX_EDITOR_PROPERTY_INNER: EditorPropertyInner = {
|
||||
'axisLine',
|
||||
'splitLine'
|
||||
],
|
||||
'y-axis-selector': [
|
||||
'dual-y-axis-selector': [
|
||||
'name',
|
||||
'color',
|
||||
'fontSize',
|
||||
|
Loading…
Reference in New Issue
Block a user