Support Article
Chart size shrinks after Refresh
SA-29335
Summary
In IE11, the Chart size shrinks after clicking Refresh button.
User created a section with chart control configured with summary view. On screen load(first time), it shows some value. Placed a button in another section with ‘Refresh section’ action configured for chart section. On click of the button that refreshes, the size of the chart is reduced/shrinks from its original size only in IE11. The section that contains chart control includes the button section. This scenario works in Chrome.
Reference: https://pdn.pega.com/support-articles/summayview-charts-shrinks-refresh
Error Messages
Not Applicable
Steps to Reproduce
- Add a summary view chart in a section.
- Add a button to reflect needed filter changes and refresh section action configured.
- On screen launch, the chart displays well.
- After clicking on button, the chart section refreshes and the resulting chart shrinks.
Actual Behavior: Chart size is shrinked after clicking on button
Expected Behavior: Chart size should remain in its original size even after clicking the button.
Root Cause
The chart registers a resize event to set the chart height. However, during a section refresh, the chart element isn't visible at that moment. To fix this, the resize function should be invoked manually during chart setup.
Resolution
A solution for this issue is being targeted in a future version of product.
Published October 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.