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
Placing a sentio vertical bar chart inside of a closed modal results in the chart calculating the required width for the bars as 0. When the modal is then shown, the chart still uses this same bar width of 0.
Presently, we must trigger a window resize event to get the chart to redraw the bars with the correct new width of the modal. However, this also causes all other components listening to resize events to trigger and likely redraw.
Proposed Solution:
Provide an Input for the charts of type Observable. Whenever this observable emits an item, the chart triggers a recalculation of its size and then resizes the chart to match its current size.
The text was updated successfully, but these errors were encountered:
Use Case:
Placing a sentio vertical bar chart inside of a closed modal results in the chart calculating the required width for the bars as 0. When the modal is then shown, the chart still uses this same bar width of 0.
Presently, we must trigger a window resize event to get the chart to redraw the bars with the correct new width of the modal. However, this also causes all other components listening to resize events to trigger and likely redraw.
Proposed Solution:
Provide an Input for the charts of type Observable. Whenever this observable emits an item, the chart triggers a recalculation of its size and then resizes the chart to match its current size.
The text was updated successfully, but these errors were encountered: