Line series squeeshed #665
Answered
by
andersonf78
andersonf78
asked this question in
General
-
Hello there, Happy new year everyone! I have several line series plotted on different charts, and all of them render perfectly, except one. After inspecting the prices plotted on the price pane, I see the chart thinks the prices range from +10K to -10K, when in reality they range from 4 to -4, hence the lines plotted are completely squeeshed. Screenshot attached. Is there some parameter that tells the chart the expected price range? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Answered by
andersonf78
Dec 29, 2020
Replies: 1 comment
-
Nevermind -- found the solution in the docs! const firstSeries = chart.addLineSeries({
autoscaleInfoProvider: () => ({
priceRange: {
minValue: 0,
maxValue: 100,
},
}),
}); Thanks anyone who looked into this! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andersonf78
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind -- found the solution in the docs!
Thanks anyone who looked into this!