You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It work when i put priceScale().applyOptions({ autoScale: true }); before setData ! Thank you @SlicedSilver .
I thought the default value of 'autoscale' was' true 'which meant that auto scaling was always active:
Lightweight Charts™ Version:
^4.2.0
Steps/code to reproduce:
go to lightweight-charts official document website -> tutorials -> Example -> range-switcher
look at the chart example
scroll up priceScale
drag the chart up
change range to “1W”
Actual behavior:
the chart can not auto Scale to effective curve
Expected behavior:
I expected Provides apis to control priceScale, just like timeScale , or make autoscale fix
Screenshots:
CodeSandbox/JSFiddle/etc link:
The text was updated successfully, but these errors were encountered: