You are viewing documentation for an older version. For current documentation - click here.

FusionWidgets XT uses FusionCharts JavaScript Class that takes care of all the products of FusionCharts XT Suite including FusionWidgets XT.

FusionCharts JavaScript Class provides a rich and powerful API. It eases the implementation and management of charts using its powerful functions, properties and events. It is a highly enhanced JavaScript architecture. It provides various features like pure JavaScript based charts for iPhone/iPad and non-Flash player based browsers, multiple data formats (XML and JSON), better event management, better printing support for Mozilla browsers, better UTF-8 handling, easier HTTPS data support, smart drill-down using LinkedCharts handlers and more.

The following pages contain lists and detailed description of:

 
FusionCharts API Quick-reference map

Here is a quick reference map of FusionCharts JavaScript API. Click on the desired item to know more.

HTML
  JavaScript (window object)
 

FusionCharts() - collection of all charts in a page

getChartFromId() - deprecated

    FusionCharts JavaScript Class
FusionCharts JavaScript Class - static members
Properties Function     Objects

version

items

 

render()

getObjectReference()

addEventListener()

removeEventListener()

setCurrentRenderer()

printManager

configure()

enabled()

managedPrint()

isReady()


debugMode

enabled()

outputTo()

outputFormat()


FusionCharts JavaScript Class - instance (prototype) members
Properties Functions Functions Functions Functions

id

width

height

src

 

FusionCharts
- constructor

setTransparent

render

configure

configureLink

addEventListener

removeEventListener

clone

dispose

addVariable - deprecated

setXMLUrl

setXMLData

setJSONUrl

setJSONData

setChartData

setChartDataUrl

setChartAttribute

setDataURL
- deprecated

setDataXML
- deprecated

getXML

getXMLData

getJSONData

getChartData

getDataAsCSV

getChartAttribute

 

showAnnotation

hideAnnotation

 

exportChart

print

resizeTo

hasRendered

isActive

chartType

signature

Chart Specific functions

feedData

getData

stopUpdate

restartUpdate

 

showLog

hideLog

clearLog

Available to all real-time charts and gauges: Real-time Area, Real-time Column, Real-time Line, Real-time Stacked Area, Real-time Stacked Column, Real-time Line (Dual Y) charts & Angular, Horizontal Linear, Bulb, Cylinder, Thermometer, Horizontal LED, Vertical LED gauges

clearChart

Available to all real-time charts: Real-time Area, Real-time Column, Real-time Line, Real-time Stacked Area, Real-time Stacked Column and Real-time Line (Dual Y) charts

setData

Available to all real-time gauges: Angular, Horizontal Linear, Bulb, Cylinder, Thermometer, Horizontal LED, Vertical LED gauges

getDataForId

setDataForId

Available to: Angular and Horizontal Linear gauge


FusionCharts Events (listened using addEventListener - Advanced event model)

Initialize

DataLoadRequested

DataLoadRequestCancelled

DataLoadRequestCompleted

DataLoadCancelled

BeforeDataUpdate

DataUpdated

Loaded

DataLoaded

Rendered

DrawComplete

Resized

Exported

PrintReadyStateChange


BeforeLinkedItemOpen

LinkedItemOpened

BeforeLinkedItemClose

LinkedItemClosed

 

BeforeDispose

Disposed

 

RealtimeUpdateComplete

NoDataToDisplay

DataLoadError

DataXMLInvalid

 

Error

Warning

 

RealtimeUpdateError

 
Chart Specific events

taskClicked

connectorClicked

Available for: JavaScript Gantt chart.

 
FusionCharts Simple Events (to be defined as global functions - Simple event model)

FC_Loaded

FC_DataLoaded

FC_Rendered

FC_Exported

FC_ChartUpdated

FC_DataLoadError

FC_NoDataToDisplay

FC_DataXMLInvalid