Toggle

disable

Makes the chart inactive for user interactions, usually in the case of time consuming operations. An optional text can be provided as a waiting message. See enable.

zingchart.exec('myid', 'disable', {
    text: 'Wait, data is being fetched...'
});
AttributeTypeInfo
textString

Sets a text to be displayed while the chart is disabled.

"Wait..." | ...

https://app.zingsoft.com/demos/embed/5H7C6RJR
https://app.zingsoft.com/demos/embed/5H7C6RJR

Makes the chart active for user interactions. See disable.

zingchart.exec('myid', 'enable');

exitfullscreen

https://app.zingsoft.com/demos/embed/U9VP0J7P
https://app.zingsoft.com/demos/embed/U9VP0J7P

Destroys the full screen render of the chart.

zingchart.exec('myid', 'exitfullscreen');

fullscreen

https://app.zingsoft.com/demos/embed/U9VP0J7P
https://app.zingsoft.com/demos/embed/U9VP0J7P

Renders the chart in full screen mode.

zingchart.exec('myid', 'fullscreen');

hideguide

https://app.zingsoft.com/demos/embed/65MGIGVD
https://app.zingsoft.com/demos/embed/65MGIGVD

Hide the guide object.

zingchart.exec('myid', 'hideguide');

hidemenu

https://app.zingsoft.com/demos/embed/TT951UHL
https://app.zingsoft.com/demos/embed/TT951UHL

Hide the context menu.

zingchart.exec('myid', 'hidemenu');

hideplot/plothide

https://app.zingsoft.com/demos/embed/XL5BDO98
https://app.zingsoft.com/demos/embed/XL5BDO98

Hides the plot set by plotindex (or plotid).

zingchart.exec('myid', 'hideplot', {
    graphid: 0,
    plotindex: 2
});
zingchart.exec('myid', 'hideplot', {
    plotindex: 1
});
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

plotidString

Sets the id of the plot.

"mylineplot" | ...

plotindexNumeric

Sets the index of the plot.

0 | 1 | ...

toggle-actionString

Sets the toggle action performed when the plot is hidden.

"hide" | "remove"

https://app.zingsoft.com/demos/embed/SEVVQVR8
https://app.zingsoft.com/demos/embed/SEVVQVR8

Maximizes the legend.

zingchart.exec('myid', 'legendmaximize');
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

https://app.zingsoft.com/demos/embed/SEVVQVR8
https://app.zingsoft.com/demos/embed/SEVVQVR8

Minimize the legend.

zingchart.exec('myid', 'legendminimize');
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

https://app.zingsoft.com/demos/embed/94AOFD1M
https://app.zingsoft.com/demos/embed/94AOFD1M

Opens chart in a modal window.

zingchart.exec('myid', 'openmodal');

showhoverstate

https://app.zingsoft.com/demos/embed/L8W3AJ1A
https://app.zingsoft.com/demos/embed/L8W3AJ1A

Show the hoverstate of a specific node.

zingchart.exec('myid', 'showhoverstate', {
  nodeindex: 2
});
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

nodeindexNumeric

The node index on the graph. The default is 0.

0 | 1 | ...

https://app.zingsoft.com/demos/embed/65MGIGVD
https://app.zingsoft.com/demos/embed/65MGIGVD

Show the guide object.

zingchart.exec('myid', 'showguide');

showmenu

https://app.zingsoft.com/demos/embed/TT951UHL
https://app.zingsoft.com/demos/embed/TT951UHL

Display the context menu.

zingchart.exec('myid', 'showmenu');

showplot/plotshow

https://app.zingsoft.com/demos/embed/XL5BDO98
https://app.zingsoft.com/demos/embed/XL5BDO98

Shows the plot set by plotindex (or plotid).

zingchart.exec('myid', 'showplot', {
  graphid: 0,
  plotindex: 2
});
zingchart.exec('myid', 'showplot', {
  plotid: "mylineplot"
});
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

plotidString

Sets the id of the plot.

"mylineplot" | ...

plotindexNumeric

Sets the index of the plot.

0 | 1 | ...

toggle-actionString

Sets the toggle action performed when the plot is hidden.

"hide" | "remove"

https://app.zingsoft.com/demos/embed/MCG3XJRN
https://app.zingsoft.com/demos/embed/MCG3XJRN

Toggles the About Screen.

zingchart.exec('myid', 'toggleabout');

togglebugreport

https://app.zingsoft.com/demos/embed/6J67RBRP
https://app.zingsoft.com/demos/embed/6J67RBRP

Toggles the Bug Report Screen.

zingchart.exec('myid', 'togglebugreport');

toggledimension

https://app.zingsoft.com/demos/embed/488YRLMJ
https://app.zingsoft.com/demos/embed/488YRLMJ

Toggles the Dimension of the current graph between 2D and 3D if possible.

zingchart.exec('myid', 'toggledimension');

togglelegend

https://app.zingsoft.com/demos/embed/353JKCNY
https://app.zingsoft.com/demos/embed/353JKCNY

Toggles the visibility of the legend.

zingchart.exec('myid', 'togglelegend');
AttributeTypeInfo
graphid (optional)Mixed

The id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

https://app.zingsoft.com/demos/embed/BM4FG1RA
https://app.zingsoft.com/demos/embed/BM4FG1RA

Toggles the visibility of the View Source Screen.

zingchart.exec('myid', 'togglesource');

toggleplot

https://app.zingsoft.com/demos/embed/UZSBJZ2R
https://app.zingsoft.com/demos/embed/UZSBJZ2R

Toggles the visibility of the Plot.

zingchart.exec('myid', 'toggleplot');

Tooltip

hidetooltip

https://app.zingsoft.com/demos/embed/FB8XXNMM
https://app.zingsoft.com/demos/embed/FB8XXNMM

Hides visibility of tooltip.

zingchart.exec('myid', 'hidetooltip');

locktooltip

https://app.zingsoft.com/demos/embed/RPXKW1DH
https://app.zingsoft.com/demos/embed/RPXKW1DH

Locks a visible tooltip in its visible state.

zingchart.exec('myid', 'locktooltip');

showtooltip

https://app.zingsoft.com/demos/embed/0IZU7C23
https://app.zingsoft.com/demos/embed/0IZU7C23

Shows a tooltip.

zingchart.exec('myid', 'showtooltip');

unlocktooltip

https://app.zingsoft.com/demos/embed/RPXKW1DH
https://app.zingsoft.com/demos/embed/RPXKW1DH

Unlocks a locked tooltip.

zingchart.exec('myid', 'unlocktooltip');