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)
Script to switch side-by-side to stacked bar chart
bmac
Hi Everyone,
I am trying to write some script to switch a side-by-side chart to a stacked bar chart and vice versa. I guess I need to use the setStacked() method on what(?) and before what? Actually I am finding too much information on chart scripting and have gotten confused. Please give me a really simple example or point me to a good reference explaining how to do this.
Thanks,
Bmac
Find more posts tagged with
Comments
mwilliams
Try this script in the chart script:
function beforeDataSetFilled( series, idsp, icsc )
{
series.setStacked(true)
}