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: 
khigaurav999
Creator
Creator

Changing Bar Chart Orientation upon Clicking a button

Dear Members & Friends,

How can I change the Orientation of a bar chat upon clicking a button object? I have done it via creating 2 bar charts (one vertical and other one horizontal) and showing/hiding them one appropriately in the conditional show when button clicked. I don't like creating 2 diff. objects and do hide and show accordingly. I want to do it with the same bar chart object.

is there any way where we can change the style.orientation upon clicking button / text object / picking a dropdown value or any other better approach?

Thanks,

Gaurav

2 Replies
awhitfield
Partner - Champion
Partner - Champion

AFAIK, using 2 charts as you have done would be the best option.

Andy

khigaurav999
Creator
Creator
Author

Thanks, Andrew. Can't we do it by accessing and changing chart properties in button triggers?  I thought it would be possible.

The concern with this is - n no. of objects and changing them.

Gaurav