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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get access to Chart border properties using macro

Hi All,

I have a chart in Qlikview, however I want to change the property in  Layout>Use Border> Shadow Intensity to No Shadow  through macro. I seen that in iChartProperties, I could only see Border Color and Border Width but not Shadow Intensity.

Shadow Intensity is member of iFrame Class.

Could somebody help me to get Shadow Intensity to No Shadow??

Thanks and regards,

Vj

1 Solution

Accepted Solutions
whiteline
Master II
Master II

Hi.

There is an example in APIGuide.qvw

rem Sets shadow intensity to medium

set mybox = ActiveDocument.GetSheetObject("LB01")

set mbp = mybox.GetProperties

mbp.Layout.Frame.ShadowIntensity = 2 '0=No shadow, 1=Soft, 2=Medium, 3=Intense

mybox.SetProperties mbp

View solution in original post

1 Reply
whiteline
Master II
Master II

Hi.

There is an example in APIGuide.qvw

rem Sets shadow intensity to medium

set mybox = ActiveDocument.GetSheetObject("LB01")

set mbp = mybox.GetProperties

mbp.Layout.Frame.ShadowIntensity = 2 '0=No shadow, 1=Soft, 2=Medium, 3=Intense

mybox.SetProperties mbp