Global

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
Type:
string

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:

    FusionCharts

    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
    Type:
    string

    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:

      FusionCharts

      Type Definitions

      numeric

      A number, or a string containing a number.

      Type:

      number or string

      percent

      A number or a string representing pixels, or a string containing a number and ending with a % sign.

      Type:

      number or string

      DOMElement

      Reference to an HTMLDOMElement.

      Type:

      object

      degrees

      A number between -360 to +360.

      Type:

      number or string

      hexcolor

      String containing hexadecimal color code and starting with a "hash" sign.

      Type:

      string

      alpha

      A number between 0 to 100.

      Type:

      number

      opacity

      A number between 0 and 1.

      Type:

      number

      object

      A JavaScript object

      Type:

      object

      string

      A JavaScript string

      Type:

      string

      number

      A JavaScript number

      Type:

      number

      boolean

      A JavaScript Boolean

      Type:

      boolean

      array

      A JavaScript Array

      Type:

      array

      function()

      A JavaScript Function