From d9b815cb3960229babeadea73d53c548a31b330c Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Tue, 23 Sep 2025 14:50:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=95=A3=E7=82=B9=E5=9B=BE=E6=A8=AA=E8=BD=B4=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=97=8B=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/js/panel/charts/g2/relation/scatter.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts index 13cbe11638..f5c13e129b 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts @@ -400,15 +400,7 @@ export class Scatter extends G2ChartView { gridStrokeOpacity: 1, gridLineWidth: xAxis.splitLine.lineStyle.width, gridLineDash, - transform: xAxis.axisLabel.rotate - ? [ - { - type: 'rotate', - optionalAngles: [xAxis.axisLabel.rotate], - recoverWhenFailed: false - } - ] - : [] + labelTransform: `rotate(${xAxis.axisLabel.rotate || 0})` } } }