Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Auto adjust dashboard based on screen resolution

Hi,

I have created a dashboard on a 21 inch monitor n it looks perfect but once i open it on a laptop one cant see the entire dashbord in one view.

Is there any way to adjust the size based on the screen resolution?

Thanks

1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Dear ,

you can use the macro to fit the dashboard as per the screen size.

Macro code:

------------------------------------------------------

Sub Zoom

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.FItZoomToWindow

End Sub

-----------------------------------------------------

create a button

perform the Action ---------> Run Macro   -----> Zoom

I hope it will help you.

Thanks,

Mukram.

View solution in original post

14 Replies
alexandros17
Partner - Champion III
Partner - Champion III

No,

there isn't any tool or property to do this. What you see depends on the resolution and on the screen dimension.

PradeepReddy
Specialist II
Specialist II

There is no such property to auto adjust the screen resolution.

Before creating the dashboard, check with the users/clients, to ge the screen size of the systems they will use...

accordingly we have to start the dashboard design...

Anonymous
Not applicable
Author

Hi Yousuf ,

               Yes we have to take care of screen resolution .we can resolve these problem by using writing Macros only for different screen resolutions.And also ask client before developing qlikview document

Thanks

Rajesh


mdmukramali
Specialist III
Specialist III

Dear ,

you can use the macro to fit the dashboard as per the screen size.

Macro code:

------------------------------------------------------

Sub Zoom

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.FItZoomToWindow

End Sub

-----------------------------------------------------

create a button

perform the Action ---------> Run Macro   -----> Zoom

I hope it will help you.

Thanks,

Mukram.

Not applicable
Author

CAN't this macro be written in a way that as soon as the dashboard opens it auto runs the macro?

PradeepReddy
Specialist II
Specialist II

Hi Yousuf,

below is the process..

document Properties (CTRL+ALT+D) -- > Triggers -- > OnOpen -- > Addaction

mdmukramali
Specialist III
Specialist III

Dear,

try to run the macro through a trigger select an action On Open the sheet.

Not applicable
Author

Hello,

This works fine with IE plugin. But does not work on AJAX mode. Does anyone know if there is any work around for that?

Pallav

Not applicable
Author

It won't run on AJAX as macros run on Server Side while using AJAX client.

With IE, macros run on client side plug-in.

-Mani.