aloksahoo

Not Able To Use The Drilldown Link Feature Of The Fusion Charts In Openlaszlo

Recommended Posts

I am using the fusion charts in OpenLaszlo canvas for displaying graphs. I have a requirement where in if I click on the parts of the graph I should be showing the datapoints for that part of the graph.

OpenLaszlo is Version 4.9.0 and Fusion Charts is 3.

 

For example the XML data looks like below with

<graph caption='Country Comparison' shownames='1' showvalues='0' decimalPrecision='0' numberPrefix='$'>

<categories>

<category name='Austria' />

</categories>

<dataset seriesName='1996' color='AFD8F8' showValues='0'>

<set value='25601.34' link="javaScript:hello()"/>

<set value='20148.82' link="javaScript:hello()"/>

<set value='17372.76' link="javaScript:hello()"/>

<set value='35407.15' link="javaScript:hello()"/>

<set value='38105.68' link="javaScript:hello()"/>

</dataset>

</graph>

 

whenever the user clicks the link on the graph I should be calling a javascript method or a openlaszlo canvas method to populate a grid.

something like below in the openlaszlo canvas,

<script>

<![CDATA[

function hello(){

Debug.debug("hello():");

}

]]>

</script>

 

But the method is not recognized when the I click on the link part of the fusion charts.

 

Is there any way to solve it ? Or Should I be doing something else ? Basically what I want is from browser to openLazszlo communication.

 

Appreciate any help on this.

 

Thanks

Alok

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