Discussion Board for collaboration related to QlikView App Development.
I'm trying to get visible or not a chart when I choose to see a chart in a container ?
Let me explain.
I have a container with two charts.
If I see the first chart nothing has to happen. If I choose the second chart in the container I'd like to get visible a chart (this chart is not in the container).
Is there possible?
Thanks in advance
hi as far as i know selecting chart in the container is not an event that you can use as trigger
but you can put the two graphs you want to see together in a grid type container
then include this container in your main cinontaer attach is an example
you can do that by using a macro.
The macro returns to a veraible the sirel number of curent object.
1. Replace the container number (CT01)
2. Create a Variable named Container
3. Set the macro as an object triger In sheet prooerties under triggers, Sheet object event trigers, on active
Set ContainerObj= ActiveDocument.GetSheetObject("CT01") '
set b = ActiveDocument.Variables("Container")
b.SetContent activeIndex ,true
Works for me
Thank you for reply.
I've just seen your qvw. May be I didn't understand but it seems it doesn't work.
I mean, if I choose one of the chart in the container I will expect to see appear a new chart but nothing happen.
Have I made something wrong?