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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Zooming

How can we zoom all the sheet objects together in a qlikview dashboard ??

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

In the QV API guide there is a function you can use that will zoom a sheet.  The example listed is the following:

set mysheet=ActiveDocument.ActiveSheet

set sp=mysheet.GetProperties

sp.ZoomFactor = 0.9

mysheet.SetProperties sp

So, with this code you could create a macro that gets triggered by the button.

Karl

View solution in original post

6 Replies
pover
Partner - Master
Partner - Master

I'm not sure I understand what you are looking for, but you can make sheet objects larger if you go to View->Zoom->x%.  Then you can select the option to "Apply the Zoom to All Sheets"

Please tell us if you were looking for another answer.

Karl

Not applicable
Author

i want to add a button on the sheet so that if i click on that button all the sheet objects get Zoomed

pover
Partner - Master
Partner - Master

In the QV API guide there is a function you can use that will zoom a sheet.  The example listed is the following:

set mysheet=ActiveDocument.ActiveSheet

set sp=mysheet.GetProperties

sp.ZoomFactor = 0.9

mysheet.SetProperties sp

So, with this code you could create a macro that gets triggered by the button.

Karl

Not applicable
Author

Thanks Karl Pover

Not applicable
Author

Thanks. This Macro works but what can be done for fitting the zoom to window ??

pover
Partner - Master
Partner - Master

Here you go.

rem ** fit active sheet zoom to window **

ActiveDocument.ActiveSheet.FitZoomToWindow

All this can be found in the APIGuide.qvw that is installed in your computer when you include documentation in you QV install.

Karl