disable lastValueVisible

This commit is contained in:
c9s 2022-06-27 14:38:11 +08:00
parent 1987f8c55d
commit 278a9e90e7
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -466,6 +466,7 @@ const TradingViewChart = (props: TradingViewChartProps) => {
const emaLine = chart.current.addLineSeries({ const emaLine = chart.current.addLineSeries({
color: emaColor, color: emaColor,
lineWidth: 1, lineWidth: 1,
lastValueVisible: false,
}); });
emaLine.setData(emaValues); emaLine.setData(emaValues);