Dev

Members
  • Content count

    2
  • Joined

  • Last visited

About Dev

  • Rank
    Forum Newbie
  1. Hi I'm working through the examples in FusionCharts 3.1 to save a chart as an image. I am getting the following error when I press the 'save' button in FireFox 3.5.2 save as Image - ReferenceError: Error #1069: Property save not found on flash.net.FileReference and there is no default value. at com.fusioncharts.exporter::FCExporter/onBtnClick() The chart and data are exactly as in the example. The export works in IE6. Any suggestions. Cheers Ian
  2. I'm a newbie with FusionCharts (which I love) and XML. I'm developing a dashboard with just access to XML files (ie. no access to server side programming - the site is being put on an Internal Sharepoint Site which I am using as a basic webserver) I thought I would be able to repeat the same graph showing different data by accessing different data xml files by using XSLT repeat region. The DataXML method just doesn't seem to work with XSLT , the DataURL method works but only renders the last referenced data file in the first chart (see simple example below). I think that this is because the div tag is specifically referenced - rather than a different div tag id for each region. Is there anyway to repeat same graphs using XSLT and/or renaming the div tag with code (I tried having a name for the div tag in the XML file but it didn't like the reference) Any ideas gratefully received Cheers Dev Simple Example: XML FILE <ProductFamily> <Products> <Product> <datafile>Data.xml</datafile> </Product> <Product> <datafile>Data2.xml</datafile> </Product> </Products> </ProductFamily> XSL Code : <xsl:for-each select="ProductFamily/Products/Product"> <div id="MyChart" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div> <script type="text/javascript"> var myChart = new FusionCharts("Column3D.swf", "myChartId", "900", "300", "0", "0"); myChart.setDataURL("<xsl:value-of select="datafile"/>"); myChart.render("MyChart"); </script> </xsl:for-each>