Methods
-
getChartFromId(id) → {FusionCharts}
-
This function gives access to the HTMLDOMElement that has been created inside the chart container by FusionCharts. Note that this does not return the container element specified during FusionCharts#render of the chart. It is rather the element inside the container element that is created by FusionCharts to hold a chart.
Parameters:
Parameter Description id
The chart Id whose internal DOM element is needed.
- Deprecated:
- Since 3.2.0 there is no need to directly interact with charts' DOM element. As such, this becomes redundant.
Returns:
Type:
-
getMapFromId(id) → {FusionCharts}
-
This function gives access to the HTMLDOMElement that has been created inside the chart container by FusionCharts. Note that this does not return the container element specified during FusionCharts#render of the chart. It is rather the element inside the container element that is created by FusionCharts to hold a chart.
Parameters:
Parameter Description id
The chart Id whose internal DOM element is needed.
- Deprecated:
- Since 3.2.0 there is no need to directly interact with charts' DOM element. As such, this becomes redundant.
Returns:
Type:
Type Definitions
-
numeric
-
A number, or a string containing a number.
Type:
-
percent
-
A number or a string representing pixels, or a string containing a number and ending with a
%
sign.Type:
-
DOMElement
-
Reference to an
HTMLDOMElement
.Type:
-
degrees
-
A number between -360 to +360.
Type:
-
hexcolor
-
String containing hexadecimal color code and starting with a "hash" sign.
Type:
-
alpha
-
A number between 0 to 100.
Type:
-
opacity
-
A number between 0 and 1.
Type:
-
object
-
A JavaScript object
Type:
-
string
-
A JavaScript string
Type:
-
number
-
A JavaScript number
Type:
-
boolean
-
A JavaScript Boolean
Type:
-
array
-
A JavaScript Array
Type:
-
function()
-
A JavaScript Function