Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Re-size Button or chart

Can v resize the button or chart.... at the run time ..... not a maximized ...

But in a specific Size of the chart

1 Reply
Not applicable
Author

Hi,

I use below macro code to resize charts at runtime -

Set rep = ActiveDocument.GetSheetObject("Report1")
Set fr = rep.GetFrameDef
pos = fr.Rect
pos.Top = 482
pos.Left = 422

pos.Width = 642
pos.Height = 323

rep.SetFrameDef fr