Method Name |
Parameters |
Description |
FCSetDataURL
(dataURL:String):void |
dataURL:String |
This function updates widget XML from a file and renders the widget. The URL of the file is passed as String parameter - dataURL. |
FCSetDataXML
(strXML:Sting):void |
strXML:String |
This function updates widget XML from a string and renders the widget. The XML is passed as a String parameter - strXML. |
FCRender():void |
|
This function renders a widget. It can also update a widget after new widget data is set using FCData(), FCSetDataXML(), FCSetDataURL() methods or using FCDataURL, FCDataXML properties. |
FCPrintChart():void |
|
This function prints the widget. |
FCGetAttribute
(attributeName:String):String |
attributeName:String |
This function returns the value of an attribute specified by the parameter. |
FCGetCSVData():String |
|
This function returns tha widget data as a CSV string. |
FCGetSignature():String |
|
This function returns the version of the widget being used. |
FCGetXMLData():String |
|
This function returns the XML data of the widget as a string. |
FCExportChart(type:String, fileName:String):void |
type: String
fileName: String |
This function calls the export widget routine for saving the widget as PDF/image. Parameters may be passed to override the export parameters initially specified by the XML. |
FCFeedData(strData:String):void |
strData:String |
This method feeds real-time data to widget using Flex. The data has to be in the same format as provided by real-time data provider page. |
FCGetData([dialIndex:Number]):Number |
dialIndex:Number |
This method returns the data for the given dial index on the widget. The dialIndex parameter is applicable to widgets with multiple dials only. |
FCGetDataForId(dialId:String):Number |
dialId:String |
This method returns the data for the given dial using its defined ID. The ID of the dial is defined in XML using:
<dial ... id='XYZ' ...> |
FCSetData([dialIndex:Number,] value:Number):void |
dialIndex:Number, value:Number |
This method sets the data for the given dial index on the widget. The dialIndex parameter is applicable to widgets with multiple dials only. |
FCSetDataForId(dialId:String, value:Number):void |
dialId:String, value:Number |
This method sets the data for the given dial using its defined ID. The ID of the dial is defined in XML using:
<dial ... id='XYZ' ...> |
FCStopUpdate():void |
|
This method stops the widget from self-updating itself. |
FCRestartUpdate():void |
|
If you've stopped the update of the widget, you can resume the update using this method. |
FCClearLog():void |
|
This method clears all data from the message loggger. |
FCHideLog():void |
|
This method hides the message logger data. |
FCShowLog():void |
|
This method shows the message logger data. |
FCShowAnnotation
(annotationId:String):void |
annotationId:String |
This method shows the annotation with the specified identifier. Annotation identifiers can be specified in the XML as:
<annotationGroup ... id='Grp1' ... > |
FCHideAnnotation
(annotationId:String):void |
annotationId:String |
This method hides the annotation with the specified identifier. Annotation identifiers can be specified in the XML as:
<annotationGroup ... id='Grp1' ... > |