disable

DemoMakes 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
textStringSets a text to be displayed while the chart is disabled.

"Wait..." | ...

DemoMakes the chart active for user interactions. See disable.


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

exitfullscreen

DemoDestroys the full screen render of the chart.


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

fullscreen

DemoRenders the chart in full screen mode.


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

hideguide

DemoHide the guide object.


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

hidemenu

DemoHide the context menu.


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

hideplot/plothide

DemoHides the plot set by plotindex (or plotid).


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

          
zingchart.exec('myid', 'hideplot', {
    plotindex : 1
});
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

plotidStringSets the id of the plot.

"mylineplot" | ...

plotindexNumericSets the index of the plot.

0 | 1 | ...

toggle-actionStringSets the toggle action performed when the plot is hidden.

"hide" | "remove"

DemoMaximizes the legend.


          
zingchart.exec('myid', 'legendmaximize');
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

DemoMinimize the legend.


          
zingchart.exec('myid', 'legendminimize');
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

DemoOpens chart in a modal window.


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

showhoverstate

DemoShow the hoverstate of a specific node.


          
zingchart.exec('myid', 'showhoverstate', {
        nodeindex: 2
    });
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

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

0 | 1 | ...

DemoShow the guide object.


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

showmenu

DemoDisplay the context menu.


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

showplot/plotshow

DemoShows the plot set by plotindex (or plotid).


          
zingchart.exec('myid', 'showplot', {
    graphid : 0,
    plotindex : 2
});
        

          
zingchart.exec('myid', 'showplot', {
    plotid : "mylineplot"
});
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

plotidStringSets the id of the plot.

"mylineplot" | ...

plotindexNumericSets the index of the plot.

0 | 1 | ...

toggle-actionStringSets the toggle action performed when the plot is hidden.

"hide" | "remove"

DemoToggles the About Screen.


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

togglebugreport

DemoToggles the Bug Report Screen.


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

toggledimension

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


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

togglelegend

DemoToggles the visibility of the legend.


          
zingchart.exec('myid', 'togglelegend');
        
AttributeTypeInfo
graphid (optional)MixedThe id/index of the graph. The default is 0.

"mygraph" | 0 | 1 | ...

DemoToggles the visibility of the View Source Screen.


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

toggleplot

DemoToggles the visibility of the Plot.


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

Tooltip

hidetooltip

DemoHides visibility of tooltip.


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

locktooltip

DemoLocks a visible tooltip in its visible state.


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

showtooltip

DemoShows a tooltip.


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

unlocktooltip

DemoUnlocks a locked tooltip.


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