Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Add a summary view chart in a section. 
  2. Add a button to reflect needed filter changes and refresh section action configured. 
  3. On screen launch, the chart displays well. 
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us