FusionCharts Forum: Chart Link - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chart Link Make whole chart a link

#1 User is offline   backpacker299 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 21-April 09

Posted 27 February 2010 - 09:47 PM

I want to be able to click anywhere on the chart and launch a JavaScript function. There is a 'link' attribute, but that appears to be for the "set" element". Is there a way to make this part of the "graph" element?
Nik
0

Other Replies To This Topic

#2 User is offline   backpacker299 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 21-April 09

Posted 28 February 2010 - 02:23 PM

I did not figure out how to do this in XML; however, I did figure out how to do this in Javscript:



chart.addParam ("onclick", "javascript code");



It may be of use for others to know how to do what I asked in XML, so if anybody knows, do please post here.
Nik
0

Other Replies To This Topic

#3 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 28 February 2010 - 10:15 PM

Hi,

Could you please try using the "clickURL" attribute in the <chart> element?

Hope this helps.

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic