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
Unfortunately, the main chart don't update anymore when I change the size of my timeframe on the brush chart. The rerendering of the main chart is only triggered when I move my timeframe along the x axis.
From my investigation, it's because the "selection" method in options>chart>events>selection isn't fired when I resize the selection area, but only when I move it along the axis.
Steps to Reproduce
Go directly on the Brush Chart demo
Resize the selection area on the brush chart
See that the main chart isn't updating on resize
Expected Behavior
Before, the main chart used to automatically rerenderer whenever the selection was resized.
Actual Behavior
Now, the main chart isn't rerendering to match the timeframe selected on the brush chart when it's only resized.
Screenshots
Step 1 : Initial state
Step 2 : After resizing selection area on Brush Chart
Description
I'm using a Brush Chart with the react wrapper.
Unfortunately, the main chart don't update anymore when I change the size of my timeframe on the brush chart. The rerendering of the main chart is only triggered when I move my timeframe along the x axis.
From my investigation, it's because the "selection" method in options>chart>events>selection isn't fired when I resize the selection area, but only when I move it along the axis.
Steps to Reproduce
Expected Behavior
Before, the main chart used to automatically rerenderer whenever the selection was resized.
Actual Behavior
Now, the main chart isn't rerendering to match the timeframe selected on the brush chart when it's only resized.
Screenshots
Step 1 : Initial state
Step 2 : After resizing selection area on Brush Chart
Reproduction Link
My issue is actually already visible on the ApexChart demo of Brush Chart :
https://apexcharts.com/javascript-chart-demos/line-charts/brush-chart/
The text was updated successfully, but these errors were encountered: