How to: Show/Hide TRUECHART objects using contents
Scenario:Â I would like to use a TRUECHART table to present my data and when I select a value in the table another chart type should appear with different dimensions and values.
Please follow the below steps:
- First create a sense variable to enable you to show and hide your TRUEHCART visuals:Â If(GetPossibleCount(Classification)=1,1,0)Â
- Create a trueChart table with one dimensions and measures (**Your dimension must be the same as the one you used in the above variable**)
- Right click on this chart at select CellÂ
- In the left hand corner you will see there is one content by default, rename the content and add another content by clicking on the plus.
- Name your new content and select the chart type you want to use.
- Select the Context you would want to useÂ
- Enable the measure you would like to use
- Click on your first content(Classifications) and under Condition insert the following: $(vSelect)==0
- Select your second content(Customer)Â and under Condition insert the following: $(vSelect)==1 and click on "OK"
- Make a selection in your table: "A-hoc"
- And you will have a view of the customers (in a bar chart) related to your selection "A-hoc"Â