ToolTip

This section is regarding Methods and Properties available in the ToolTip element.


Example :
    chart.toolTip.get(“backgroundColor”);
    chart.toolTIp.set(“animationEnabled”,”true”);

Note
  • Chart should be rendered before you can access toolTip & its methods / properties.

ToolTip Methods:

Method Description Example
get(String propertyName) Returns the specified property of toolTip chart.toolTip.get(“shared”);
set(String propertyName, Mixed value [,Boolean updateChart = true]) Sets the specified property of toolTip & optionally updates (default) the chart chart.toolTip.set(“shared”, “true”);

Writable Properties in ToolTip:

All ToolTip options become available as properties after Chart Render. You can access them either via get method or dot notation. But you can change / set those values only via set method.

Please refer to ToolTip Element for complete list of properties available.


Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question