File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/insights/src/components/PriceFeed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const useChartElem = (symbol: string, feedId: string) => {
111
111
} ,
112
112
} ) ;
113
113
114
- const price = chart . addLineSeries ( { priceFormat } ) ;
114
+ const price = chart . addSeries ( LineSeries , { priceFormat } ) ;
115
115
116
116
chart . timeScale ( ) . subscribeVisibleLogicalRangeChange ( ( range ) => {
117
117
if (
@@ -129,8 +129,8 @@ const useChartElem = (symbol: string, feedId: string) => {
129
129
chartRef . current = {
130
130
resolution : Resolution . Tick ,
131
131
chart,
132
- confidenceHigh : chart . addLineSeries ( confidenceConfig ) ,
133
- confidenceLow : chart . addLineSeries ( confidenceConfig ) ,
132
+ confidenceHigh : chart . addSeries ( LineSeries , confidenceConfig ) ,
133
+ confidenceLow : chart . addSeries ( LineSeries , confidenceConfig ) ,
134
134
price,
135
135
} ;
136
136
return ( ) => {
You can’t perform that action at this time.
0 commit comments