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,