Last price color does not change immediately after setChartType
#146
Labels
bug: need to review
Something isn't working. Need to review
setChartType
#146
Duplicates
Latest version
Describe the bug 😯
Precondition:
Colors for chart type =
line
are different from standard ones, e.g. like thisWhen the
chart.setChartType
method is called, the last price indicator color does not change until some event triggers repaint (e.g. user interacts with the chart, or new data arrives)Link to minimal reproduction
https://codepen.io/dmkokovtsev/pen/qBvMzXM
Steps to Reproduce the Bug or Issue 🕹
In the codepen attached, press the "Toggle" button to see the issue
Expected behavior 🤔
The "last price" indicator should change its color immediately
Platform
Chrome/Win10
Additional context 🔦
No response
The text was updated successfully, but these errors were encountered: