From c589e629b073c26ef7f100a3a10c1ba3ce23183b Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Wed, 17 Dec 2025 23:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Company=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84UI=E4=B8=BAFUI=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../panels/TradeDataPanel/KLineModule.tsx | 2 ++ .../MarketDataView/utils/chartOptions.ts | 22 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/src/views/Company/components/MarketDataView/components/panels/TradeDataPanel/KLineModule.tsx b/src/views/Company/components/MarketDataView/components/panels/TradeDataPanel/KLineModule.tsx index 6cb4075b..2b90d09d 100644 --- a/src/views/Company/components/MarketDataView/components/panels/TradeDataPanel/KLineModule.tsx +++ b/src/views/Company/components/MarketDataView/components/panels/TradeDataPanel/KLineModule.tsx @@ -386,6 +386,7 @@ const KLineModule: React.FC = ({ option={getKLineDarkGoldOption(tradeData, analysisMap, subIndicator, mainIndicator, showAnalysis, drawingType)} style={{ height: '100%', width: '100%' }} theme="dark" + notMerge={true} onEvents={{ click: onChartClick }} opts={{ renderer: 'canvas' }} /> @@ -416,6 +417,7 @@ const KLineModule: React.FC = ({ option={getMinuteKLineDarkGoldOption(minuteData)} style={{ height: '100%', width: '100%' }} theme="dark" + notMerge={true} opts={{ renderer: 'canvas' }} /> diff --git a/src/views/Company/components/MarketDataView/utils/chartOptions.ts b/src/views/Company/components/MarketDataView/utils/chartOptions.ts index 810e8af5..67ba015a 100644 --- a/src/views/Company/components/MarketDataView/utils/chartOptions.ts +++ b/src/views/Company/components/MarketDataView/utils/chartOptions.ts @@ -1517,28 +1517,6 @@ export const getKLineDarkGoldOption = ( start: 50, end: 100, }, - { - show: true, - type: 'slider', - xAxisIndex: hasSubIndicator ? [0, 1, 2] : [0, 1], - bottom: 5, - height: 20, - start: 50, - end: 100, - borderColor: borderColor, - backgroundColor: 'rgba(26, 26, 46, 0.5)', - dataBackground: { - lineStyle: { color: gold, opacity: 0.5 }, - areaStyle: { color: gold, opacity: 0.1 }, - }, - selectedDataBackground: { - lineStyle: { color: gold }, - areaStyle: { color: gold, opacity: 0.2 }, - }, - fillerColor: 'rgba(212, 175, 55, 0.2)', - handleStyle: { color: gold, borderColor: goldLight }, - textStyle: { color: textMuted, fontSize: 10 }, - }, ], xAxis: xAxes, yAxis: yAxes,