I have a page with 5 graphs. All of them should exported as PNG. Everything is OK, images are stored, but when captures process finished and some time passes (about 2 seconds) I get an JS error like on screen-shots below. I guess it's related with callback function.
I need to use that callback function now, but haven't added any params for it. So, my XML file looks like this:
chart yAxisName="Weight, kg" caption="Weight change" subcaption="Week 42 progress" numberPrefix=""
useRoundEdges="1" bgColor="FFFFFF,FFFFFF" showBorder="0" exportEnabled="1" exportAtClient="0" exportAction="save"
exportHandler="/graph/fusion/exportHandlers/PHP/FCExporter.php"
set label="Start" color="4f81bd" value="90"
set label="Current" color="c00000" value="85"
chart
Defining function FC_Exported like this:
FC_Exported = function(a, b, c, d, e)
{
alert('gotcha');
}
doesn't help.
Advise, please.