Hello All,
I have a pie chart divided into slices. When I click a slice it sets a token tok_slice_value
with click.value
which causes some other fun stuff to happen on the dashboard. If I click on another slice then the token gets updated with that new click.value
. What I would like to do is unset the token if the token value is the same as the new click.value
. I think I've got it, but I just cannot get the right syntax. Here's what I have:
<drilldown>
<condition match=""$tok_slice_value$" == "$click.value$"">
<unset token="tok_slice_value"></unset>
</condition>
<condition>
<set token="tok_slice_value">$click.value$</set>
</condition>
</drilldown>
Doesn't work unfortunately and I've tried a number of different options to no avail. Can someone please help me?
Thanks!
Andrew
@andrewtrobec ,
Try
<condition match="$tok_value$ == 'click.value'">
@andrewtrobec ,
Try
<condition match="$tok_value$ == 'click.value'">
@renjith.nair It works! So I should use '' instead of $$ for the click value. Thanks!