Sign in to follow this  
AboutMe

How to add _blank url after click on chart?

Recommended Posts

Hi,

Could you please use <chart> attribute - clickURL='http://google.com'

 i.e.

<chart ..... clickURL='http://google.com' ....... >

clickURL String The entire chart can now act as a hotspot. Use this URL to define the hotspot link for the chart. The link can be specified in FusionCharts Link Format.

if you want drill down example then please follow this link.

http://www.fusioncharts.com/docs/Contents/DrillDown/Simple.html

http://www.fusioncharts.com/docs/Contents/DrillDown/Frames.html

http://www.fusioncharts.com/docs/Contents/DrillDown/PopUps.html

http://www.fusioncharts.com/docs/Contents/DrillDown/ClickURL.html

http://www.fusioncharts.com/docs/Contents/DrillDown/JavaScript.html

Share this post


Link to post
Share on other sites

Hi,

To open to a new window i.e. _blank please use 'n-' as a prefix to the URL in the link attribute.

e.g.

<chart ..... clickURL='n-http://google.com' ....... >

or

<set value='...' link='n-http://www.yoursite.com'.../>

Edited by Guest

Share this post


Link to post
Share on other sites

I tried this xml code, but i have "invalid xml", what is wrong?

<graph caption="dfgdf"  canvasBgColor="000000" canvasBgAngle="100"

divlinecolor="bbbbbb" numdivlines="17" formatNumberScale="0"

animation="0" chartLeftMargin="-1" chartTopMargin="-5" chartRightMargin="0" showAreaBorder="0" areaAlpha="100" SUBCAPTION="1D" XAXISNAME="xxx"

subcaption="year 2006" xAxisName="Month" showNames="0" bgColor="ffffff" yAxisMinValue="32.52" yAxisMaxValue="145.33" decimalPrecision="2">

<set name="1/01/2004" value="32.52" color="ffee00" />

<set name="5/01/2004" value="33.73" color="ffee00" />

</graph>

<chart clickURL="http://www.yahoo.com">

</chart>

Edited by Guest

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