cubicalmonkey
-
Content count
2 -
Joined
-
Last visited
Posts posted by cubicalmonkey
-
-
I'd like to use the message logger to handle data in a realtime angular gauge however I would like it hidden by default.
Here's my javascript function which I call in the XML.
function messageHand(strMsgId){
var refToChart = getChartFromId("ChId1");
refToChart.hideLog();
document.getElementById("test").value = strMsgId;
}
Part of the XML
chart useMessageLog='1' messageGoesToJS='1'registerWithJS='1' messageJSHandler='messageHand' ...
Problem hiding message logger refToChart.hideLog();
in Using FusionWidgets XT
Posted · Report reply
Managed to resolve this by...
Registering with the JS as the documentation mentions... (over sight on my part)
var myChart2 = new FusionCharts("Charts/AngularGauge.swf", "myChart2Id", "320", "320", "0", "1");
Then in my funciton, calling:
var refToChart = getChartFromId("myChart1Id");
refToChart.hideLog();