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
Currently, if responsive feature is enabled on a chart, chart's responsive redrawing is directly proportional to number of resize events triggered on the chart's container element. This can be synthetically controlled if the developer has the control over the chart's container element. This is demonstrated in AmCharts codepen https://codepen.io/team/amcharts/pen/QwgEKQ. It employs enabling the animation property of resizable jQuery plugin.
There are use cases where the developer may not have control over the chart's container. In such cases, the chart can redraw many times and adversely affects the performance as well as user experience. It can be seen in this modified version of above codepen https://codepen.io/git-ashish/full/oERQBg/
Try to resize the container using container handles. You will observe that the chart redraws on every resize event.
This could be easily solved by providing a simple timeout property to control the redrawing.
Currently, if responsive feature is enabled on a chart, chart's responsive redrawing is directly proportional to number of resize events triggered on the chart's container element. This can be synthetically controlled if the developer has the control over the chart's container element. This is demonstrated in AmCharts codepen https://codepen.io/team/amcharts/pen/QwgEKQ. It employs enabling the animation property of resizable jQuery plugin.
There are use cases where the developer may not have control over the chart's container. In such cases, the chart can redraw many times and adversely affects the performance as well as user experience. It can be seen in this modified version of above codepen https://codepen.io/git-ashish/full/oERQBg/
Try to resize the container using container handles. You will observe that the chart redraws on every resize event.
This could be easily solved by providing a simple timeout property to control the redrawing.
responsive/responsive.js
Line 1271 in 019d2ae
Looking forward to thoughts.
The text was updated successfully, but these errors were encountered: