From fb7990ed186c78b68a03ca5aeed1ba25074e14c3 Mon Sep 17 00:00:00 2001 From: ulleo Date: Tue, 2 Jul 2024 17:34:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E5=8C=BA=E9=97=B4?= =?UTF-8?q?=E6=9D=A1=E5=BD=A2=E5=9B=BE=E5=8E=BB=E9=99=A4=E8=BD=B4=E5=80=BC?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/js/panel/charts/bar/range-bar.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/range-bar.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/range-bar.ts index 7f24cb8390..a887e7d5eb 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/range-bar.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/range-bar.ts @@ -47,7 +47,17 @@ export class RangeBar extends G2PlotChartView { 'showGap', 'show' ], - 'x-axis-selector': [...BAR_EDITOR_PROPERTY_INNER['x-axis-selector'], 'axisLabelFormatter'] + 'x-axis-selector': [...BAR_EDITOR_PROPERTY_INNER['x-axis-selector'], 'axisLabelFormatter'], + 'y-axis-selector': [ + 'name', + 'color', + 'fontSize', + 'axisLine', + 'splitLine', + 'axisForm', + 'axisLabel', + 'position' + ] } axis: AxisType[] = [...BAR_AXIS_TYPE, 'yAxisExt'] protected baseOptions: BarOptions = {