Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pie chart Not getting Resized when Increasing the Browser page size?

ARUN KUMAR MK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2016

image2016-9-16 13:25:46.png

I tried the below code in my Gadget.xml file, but it didn't work.

view: {
enableReload: true,
onResizeReload: true,
onResizeAdjustHeight: true,

also added this in Module prefs

<Require feature="dynamic-height"/>

Can someone help me how to work it out?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
ARUN KUMAR MK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2016

var width = Math.round(gadgets.window.getViewportDimensions().width * 0.9);

Changing the above code made the size of the pie chart to adjust correctly based on the width.

TAGS
AUG Leaders

Atlassian Community Events