Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Move an object with button

Hello all,

as you can see in the title, how can I move a certain object (CH03) by 100px on x axis.

I want to use the button to execute this.

Chart position is x:200 and y:300.

Thanks in advance

Message was edited by: Nemanja Momic

5 Replies
sudeepkm
Specialist III
Specialist III

the chart X pos and Y pos does not change as per the button action as the pos values takes only numeric and not expressions.

You can create a variable and have values 0 or 1 based on button click.

Then create two copies of same chart but one with original size and other with extended size.

Then conditionally show the Charts based on the variables values and control the variable value using button action.

avinashelite

Hi Nemanja,

This is not possible in Qlikview..... Try with Macro.

Not applicable
Author

Could you please tell me where to look?

joshabbott
Creator III
Creator III

You could copy and paste the object several times, and create a variable to determine the x position.  On button click, you could show or hide the objects based on their x position of the next 100 and bump the x position up another hundred.  This is certainly one way around it, it may not be the smoothest idea.

avinashelite

Hi,

Please find the attachment for the solution.