更新Company页面的UI为FUI风格
This commit is contained in:
@@ -386,6 +386,7 @@ const KLineModule: React.FC<KLineModuleProps> = ({
|
|||||||
option={getKLineDarkGoldOption(tradeData, analysisMap, subIndicator, mainIndicator, showAnalysis, drawingType)}
|
option={getKLineDarkGoldOption(tradeData, analysisMap, subIndicator, mainIndicator, showAnalysis, drawingType)}
|
||||||
style={{ height: '100%', width: '100%' }}
|
style={{ height: '100%', width: '100%' }}
|
||||||
theme="dark"
|
theme="dark"
|
||||||
|
notMerge={true}
|
||||||
onEvents={{ click: onChartClick }}
|
onEvents={{ click: onChartClick }}
|
||||||
opts={{ renderer: 'canvas' }}
|
opts={{ renderer: 'canvas' }}
|
||||||
/>
|
/>
|
||||||
@@ -416,6 +417,7 @@ const KLineModule: React.FC<KLineModuleProps> = ({
|
|||||||
option={getMinuteKLineDarkGoldOption(minuteData)}
|
option={getMinuteKLineDarkGoldOption(minuteData)}
|
||||||
style={{ height: '100%', width: '100%' }}
|
style={{ height: '100%', width: '100%' }}
|
||||||
theme="dark"
|
theme="dark"
|
||||||
|
notMerge={true}
|
||||||
opts={{ renderer: 'canvas' }}
|
opts={{ renderer: 'canvas' }}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -1517,28 +1517,6 @@ export const getKLineDarkGoldOption = (
|
|||||||
start: 50,
|
start: 50,
|
||||||
end: 100,
|
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,
|
xAxis: xAxes,
|
||||||
yAxis: yAxes,
|
yAxis: yAxes,
|
||||||
|
|||||||
Reference in New Issue
Block a user