Sign in to follow this  
mind_mirror

How to implement Hyperlink in powerchart (set tags)

Recommended Posts

i am using simple jsp or html.Powerchat is implemented.If I would like to launch a hyperlink from the set inside dataset

 

what is the way out???

 

 

 

 

 

My java script in html :-

 

 

 

Dim strDataURL ;

 

strDataURL = "a.html";

 

var chart = new FusionCharts("../FusionCharts/DragNode.swf",strDataURL,"" "NodeChart", "1000", "800", "0", "1"); ->??

 

chart.setDataURL("Data.xml");

 

chart.render("chartdiv");

Share this post


Link to post
Share on other sites

Hi,

Could you please use link attribute with in set? Could you please modify your data.xml?

<set x='59' y='15' width='40' height='56' name='Node 2' color='FE9191' id='2' link='a.html' />

Also note that your render chart script is not correct. Please follow this script

<div id="chartdiv" align="center"> FusionCharts. </div>

<script type="text/javascript">

var chart = new FusionCharts("DragNode.swf", "NodeChart", "580", "350", "0", "1");

chart.setDataURL("Data.xml");

chart.render("chartdiv");

</script>

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
Sign in to follow this