Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

layout condition?

Hi,

in my stright table layout tab> show > condition

it means here if condition satisfied only this chart shoes or always it shows ?

5 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

stright table layout tab> show > condition


Will display the chart on a conditional basis, based on a variable values, or based on selections etc.


For example if you have two buttons one for charts and another for details then a variable and buttons are used to show and hide using the Layout -> Show -> Conditonal


=vShowDetails = 1, if variable vShowDetails  is 1 then chart is displayed otherwise it is hidden.


Suppose you have a Year field, if you want to show straight table only one year is selected then we use below condition in Layout -> Show -> Conditon


=GetSelectedCount(Year) = 1


Hope this helps you.


Regards,

Jagan.


Not applicable
Author

Yes. here in my chart i want change label name

i have selected one record in list box changed label name for expression in chart , because min selection>0

total 10 records i have in list box

first 5 records my changed label name is applied and next five records is not apllied changed label

i did like selecting each record changed the label name indidually .

is this way to do ? or any chance  to in other way changing label name ?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you come up with an example?

Regards,

Jagan.

vardhancse
Specialist III
Specialist III

if my understanding is correct, when ever u select the value in list box, that should be displayed in the chart. is that correct then.

In chart properties>general tab->Show title in chart(Check box) enable that and under that give some condition like.

=if(GetSelectedCount(%listbox)=1, %listbox,'')

in that case if we select one value then that will be displayed in the chart,

if we select multiple then in right side we can see all the selected values and the color of the line as well

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you give the condition you applied to look over.

If possible post a sample application.

Regards

ASHFAQ