I am working with a dragnode chart. I am trying to set it up so that clicking on each node opens a new HTML page in an iFrame contained within a prettyPhoto lightbox.
I can get PrettyPhoto lighbox to load a static webpage into an iFrame using the following code...
FusionCharts("myChartId").addEventListener('BeforeLinkedItemOpen',
function() {
$.prettyPhoto.open('ajaxPage.html?iframe=true&width=70%&height=70%','','');
}
What I want to do is to replace "ajaxPage.html" with a variable page name, which I would pass from my XML file in the link= attribute. Something like...
<connector strength='1' label='test' from='1' to='2' arrowAtStart='0' arrowAtEnd='1' link='[???]' />
I have not been able to find any such documentation on the FusionCharts site. I'm sure this must be possible. But I just don't know how to do it.
Any advice you can offer would be greatly appreciated.