Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Set Categorydata to a global variable
divyani
<p>Is it possible to set categoryData of a pie chart to a global variable in Edit Chart->Script->Interactivity->Y Series?</p>
<p> </p>
<p>Thanks</p>
<p>Divyani.</p>
Find more posts tagged with
Comments
JFreeman
<p>What are you wanting to use that global variable for?</p>
<p> </p>
<p>Scripting happening in the interactivity for the y-series is going to be client side script that executes within the browser so you could set the value to a gloabl JS variable.</p>
divyani
<p>I want to save the categoryData in a global variable when a pie slice is clicked and later use this global variable as a filter for another chart in the report like below:</p>
<p> </p>
<p>Edit Chart->Select Data->Filters->Add-> "Some Column Name" equals "Global Variable".</p>
<p> </p>
<p>Can you please let me know the script used to set the global variable in y-series chart script? </p>
<p> </p>
<p> </p>
<p>Thanks</p>
<p>Divyani.</p>