Drill Down Fusion Chart In Flex

Recommended Posts



I am trying to display fusion chart column2D chart using flex and drill down.

i refered to this post

In this the link is mentioned to trigger a function.

<set label='Hong Kong' value='235' link='E-my_func,Hong Kong,235'/>

This is the peice of code I used for testing this functionality, but failed to view the alert

<?xml version="1.0" encoding="utf-8"?><s:SkinnableContainer xmlns:fx="" xmlns:s="library://" xmlns:mx="library://" xmlns:components="com.fusioncharts.components.*"> <fx:Script> <![CDATA[ import mx.controls.Alert; var str:String = "<chart id='cht_data1' > <set label='January' value='250' link='E-my_func,testing,1'/> </chart>" ; var test:XML = new XML(str); public function my_func(linkParam:String):void {"hi"); } ]]> </fx:Script> <components:FusionCharts id="myChart" FCChartType="Column2D" width="500" height="300" FCDataXML="{test}"/> </s:SkinnableContainer>

Please help in using drill down feature in flex code.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now