Closed cjkoepke closed 1 year ago
looks like a bug. I'll see what could be the problem.
What version of react and lightweight-charts are you using?
Try using as workaround:
<Chart
rightPriceScale: {
scaleMargins={
top: 0.8,
bottom: 0
}
}
>
I would try using the top-level default settings, but I have two charts and need them to have independent scale margins. My example was just for brevity as it doesn't seem to matter how many there are.
React: 18.2.0
Lightweight Charts: 4.0.1
Try using 1.3.3. There should be a fix.
Try using 1.3.3. There should be a fix.
This fixed the issue! Thanks for the quick response.
The
PriceScale
component does not update the actual price scale of the matching Series.