madwax

Members
  • Content count

    2
  • Joined

  • Last visited

  • Days Won

    1

About madwax

  • Rank
    Forum Newbie
  1. problem solved: I used: $FC->renderChart(1); which didn't work, but when I used: $FC->renderChart(); it did work...
  2. Hello! I have a problem I haven't been able to solve for the last couple of hours. I recently bought and upgraded to version 3.2. and I get everything to work as a charm until the managed print. The examples work, but not my real application. The problem seems to be that JavaScript says that it is null, and the debug window provides the following information and the info-message of: Which seems very strange because the documentation says that if not supplied the code will still generate it. On the other hand I am also supplying it, but still it doesn't seem to work. I have also set "RegisterWithJS" to true, and e.g. the function: function FC_Rendered(DOMId) { alert( DOMId + " chart has been rendered. ); } is executed but the it says that DOMid is null. Please help! (the end-goal is to get the managed print to work, but I do want to use my PHPClasses-structue) //jan The complete generated code can be found here: http://balansbladet.se/sandbox/test2.html The debug info is here: Info: Chart loaded and initialized. Initial Width: 850 Initial Height: 300 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN Version: 3.2.1 Chart Type: Multi Series 2D Line Chart Chart Objects: BACKGROUND CANVAS CAPTION SUBCAPTION YAXISNAME XAXISNAME DIVLINES VDIVLINES YAXISVALUES HGRID VGRID DATALABELS DATAVALUES TRENDLINES TRENDVALUES DATAPLOT ANCHORS TOOLTIP VLINES LEGEND VLINELABELS INFO: Chart registered with external script. However, the DOM Id of chart has not been defined. You need to define it if you want to interact with the chart using external scripting. INFO: XML Data provided using dataXML method. XML Data: <chart numberPrefix="" numberSuffix="" decimalSeparator="." thousandSeparator=" " xAxisName="Månad" yAxisName="SEK" decimalPrecision="0" formatNumberScale="0" caption="" subcaption="" showNames="1" showValues="0" showAlternateHGridColor="1" alternateHGridColor="fefadd" alternateHGridAlpha="50" bgColor="FFFFFF" borderColor="FFFFFF" divLineColor="e9df77" divLineAlpha="100" lineColor="90b951" rotateNames="1" exportEnabled="1" exportAction="download" exportFileName="balansbladet-graf" exportDialogMessage="Bearbetar grafen: " exportHandler="http://www.balansbladet.se/lib/extensions/FusionCharts/ExportHandlers/PHP/FCExporter.php" debugMode="1" showExportDataMenuItem="1" exportDataMenuItemLabel="Kopiera data till urklipp" yAxisMinValue="-900" yAxisMaxValue="85000" RegisterWithJS="1"><categories><category label="jan" /><category label="feb" /><category label="mar" /><category label="apr" /><category label="maj" /><category label="jun" /><category label="jul" /><category label="aug" /><category label="sep" /><category label="okt" /><category label="nov" /><category label="dec" /></categories><dataset seriesName="Inkomster" color="90b951" anchorAlpha="0" alpha="80" lineThickness="1"><set value="48525" /><set value="41680" /><set value="28741" /><set value="76954" /><set value="20829" /><set value="23508" /><set value="35921" /><set value="38475" /><set value="29980" /><set value="55700" /><set value="22089" /><set value="455" /></dataset><dataset seriesName="Utgifter" color="a61414" anchorAlpha="0" alpha="80" lineThickness="1"><set value="40861" /><set value="23030" /><set value="46110" /><set value="40465" /><set value="43153" /><set value="31032" /><set value="30622" /><set value="31898" /><set value="44641" /><set value="29772" /><set value="26893" /><set value="0" /></dataset></chart>