Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

rittermd
Honored Contributor

Lining Up Objects

I have 2 pie charts that sit on top of each other.  The user can click on a text object to switch from one to the other.

I had to manually move the pie chart and the legend using Ctrl Shift to get them where I wanted them.  Now when you switch from one to the other you see movement in the two objects.

I want them to be exactly in the same locations so that you don't see any movement.

But since I manually moved them I don't see how I can line them both up any longer.  Is this possible to do other than trial and error?

1 Solution

Accepted Solutions
alindquist
New Contributor III

Re: Lining Up Objects

Do both charts use the same dimension, just one is displaying numbers and the other is displaying relative %? If so, you could try using a cycle on the expression rather than two separate charts. To do that, create the pie chart and add both expressions, then highlight the second expression and hit the Group button. Now it will add a cycle icon to the chart and you will be able to flip between the two expressions.

2016-03-10_13-56-29.png

5 Replies
alindquist
New Contributor III

Re: Lining Up Objects

If it's not too much work, I would just copy the one pie chart with the legend and chart in the correct position and paste it in the same position then adjust the expression/dimension accordingly.

rittermd
Honored Contributor

Re: Lining Up Objects

I thought that was a great idea.  But it is not working.  One pie chart displays numbers.  The other displays relative %.

The copy automatically resizes when I set it to relative and then I am right back where I started.

alindquist
New Contributor III

Re: Lining Up Objects

Do both charts use the same dimension, just one is displaying numbers and the other is displaying relative %? If so, you could try using a cycle on the expression rather than two separate charts. To do that, create the pie chart and add both expressions, then highlight the second expression and hit the Group button. Now it will add a cycle icon to the chart and you will be able to flip between the two expressions.

2016-03-10_13-56-29.png

rittermd
Honored Contributor

Re: Lining Up Objects

Awesome.  Thank you.

Do you have any control over the group icon that controls this in the chart?  Specifically placement and possibly the image itself?

alindquist
New Contributor III

Re: Lining Up Objects

You can use Ctrl + Shift to change the placement of the cycle icon, like you did to move the chart and legend around, but as far as I know you are not able to change the image itself.

Community Browser