Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reg: Qlikview Application - Screen Resolution

Dear all

In Qlikview while developing applications the alignment and chart sizes are suppose done in 15 Inch monitor. Then after development is over suppose if we are viewing the same application in 17 inch or even bigger or less resolution monitor.. wat happens is , either the charts / layouts fits in to the monitor size or else it goes out of the monitor screen.. it differs from Monitor to Monitor... So Can any one tell me so that the alignment fits according to the screen resolution and based on the monitor size.

Is there any settings available in Qlikview to fit the application based on monitor........

Regards

Ashok Kumar

16 Replies
sathishkumar_go
Partner - Specialist
Partner - Specialist

Hi Ashok,

Check ur system in Display Settings --> Resolution size Ex(1280 by 8oo pixels)

u just apply same resolution size in other system(17 inch monitor) .Then no need to allignment. for each graphs.

Regards,

Sathish

prieper
Master II
Master II

Hi,

you may search the forum for a macro, it was posted not so long ago. Alternatively you may create your applications on 1024*800 as standard and leave it to the users to increase/decrease the size.

/Peter

Not applicable
Author

We use a button in our application that can be turned on and off.
When turned on all tabs are automatically fitted to the screen, when off all tabs are zoomed to 100%.

rbecher
MVP
MVP

Mark,

can you please explain briefly how you do that automatically.

Ralf

Astrato.io Head of R&D
Not applicable
Author

First create variabele vAutozoomSwitch and a button that executes the following macro:

Sub AutozoomSwitch
set vAutozoomSwitch = ActiveDocument.Variables("vAutozoomSwitch").GetContent
If vAutozoomSwitch.String = "1" Then
ActiveDocument.Variables("vAutozoomSwitch").SetContent "0", true
for x = 0 to ActiveDocument.NoOfSheets - 1
ActiveDocument.GetApplication.WaitForIdle
Set prop = ActiveDocument.Sheets(x).GetProperties
prop.ZoomFactor = 1.0
ActiveDocument.Sheets(x).SetProperties prop
next
Else
ActiveDocument.Variables("vAutozoomSwitch").SetContent "1", true
End If
End Sub


And link each sheet to the following macro (OnActivate):

Sub Autozoom
set vAutozoomSwitch = ActiveDocument.Variables("vAutozoomSwitch").GetContent
If vAutozoomSwitch.String = "1" Then
ActiveDocument.GetApplication.WaitForIdle
ActiveDocument.ActiveSheet.FitZoomToWindow
End If

End Sub


Furthermore you can change the visuals of the button based on the vAutozoomSwitch to create an ON/OFF button.

rbecher
MVP
MVP

Thanks, but I'm looking for an auto resize possibility for a reasonable use of the space of larger displays...

Astrato.io Head of R&D
johnw
Champion III
Champion III

Some people prefer to use a macro to automatically fit the zoom to the window when the application is opened. Another option is what Mark suggests, with a button to do the same thing that the menu can do, though I'd personally suggest just training the users to use the zoom feature from the menu.

I'm not a fan of the zoom feature, though. My issue with it is that things can't scale up consistently. Text that I intentionally emphasized (Arial 14, for instance) may no longer be emphasized, or perhaps everything will appear emphasized. Even worse, text may no longer fit exactly in the space allotted, causing scroll bars to appear, or even simply making things unreadable.

In our shop, we develop for the minimum size in common use - 1024 x 768. If people set their resolution smaller than that, they either need to scroll or View - Fit Zoom To Window. If people set their resolution higher than that, it won't take the full screen, or they can again View - Fit Zoom to Window. But again, I don't encourage people to zoom.

Instead, I sometimes try to put the "zoomable" charts or tables at the lower right, if possible. Then someone can grab the corner of the chart and expand it to fit the available space. My resolution is higher than the common size, so I use this quite often to see additional rows of data, and I feel it is a better use of the increased space than merely making everything larger.

None of that answers your question directly, but I thought I'd widen the discussion a bit, and perhaps give you some things to think about.

bullish35
Creator II
Creator II

Hello Mark. I have used this macro successfully in the Desktop application. However, when I publish my document to Access Point, the macro does not appear to run. Variable vAutozoomSwitch is properly set, but no zoom after activating tabs. I'm sure it's not the macro - more likely a settings issue or s/w version limitation. Have you seen this before? I am publishing for all (AJAX, IE Plugin, etc.), but viewing AJAX in Internet Explorer, v7. Running QlikView v9.0 SR 6. Thank you.

ashfaq_haseeb
Champion III
Champion III

Hi Ashoke

In desktop go to View and select fit zoom to windowsoption

this will adjust your application as per display setting

hope this mioght help you

Regards

ASHFAQ