diff --git a/README.md b/README.md
index d57f368..b5040d8 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Step Three is to have this library loaded. Again, in order to stay up to date wi
Here's what should be in the ```
``` once you're done.
```html
-
+
```
@@ -424,7 +424,7 @@ Exports the current data for the chart. This only works if the **exportdataurl**
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -459,7 +459,7 @@ Creates a printable version of the chart and attempts to print it.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -473,7 +473,7 @@ Produces an image of the graph. This will only work if the **exportimageurl** is
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -488,7 +488,7 @@ Clears the current chart and starts the feed anew.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -501,7 +501,7 @@ Returns the current interval value set on the feed.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | Number | Seconds (1,2,..) or Miliseconds (100,200,...)
```javascript
@@ -528,7 +528,7 @@ Starts the data feed of the chart.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -541,7 +541,7 @@ Stops the data feed of the chart.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
@@ -574,7 +574,7 @@ Returns the entire JSON for the chart. All of it. Every single nugget of info.
Values | Type | Details
--- | --- | ---
-Parameter | |
+Parameter | |
Return | Object | [Chart Data Object](http://www.zingchart.com/docs/api/api-methods/#zingchart__exec__api__getdata)
@@ -885,7 +885,7 @@ $("#myChart").resize({
"height": 400
});
-// Wha-Bam! Your chart is now 600px wide and 400px tall.
+// Wha-Bam! Your chart is now 600px wide and 400px tall.
```
@@ -1150,7 +1150,7 @@ $("#myChart").addObject({
#### .removeObject( object ) ####
-Removes one or more objects (labels or shapes) from the chart.
+Removes one or more objects (labels or shapes) from the chart.
Adds one or more objects (labels or shapes) on the chart. Single objects are passed through with to the **id** attribute. Multiple objects are passed through as an array of objects to the **id** attribute.
Value | Type | Details
@@ -1435,7 +1435,7 @@ $("#myChart").setSelection({
## Toggle ##
-#### .disable( string) ####
+#### .disableChart( string) ####
Disable makes the chart inactive for user interactions. This is useful in the case of time-consuming operations. An optional string can be passed through that will be displayed as a message on top of the disabled chart.
Value | Type | Details
@@ -1444,13 +1444,13 @@ Parameter | String (optional) | [Disable Message](http://www.zingchart.com/docs/
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
-$("#myChart").disable("Waiting on the world to change...");
+$("#myChart").disableChart("Waiting on the world to change...");
// Disclaimer: you don't have to use John Mayer lyrics in your disable message but no one would fault you if you did.
```
-#### .enable() ####
+#### .enableChart() ####
Enables a chart for user interactions, turning off the disabled attribute.
Value | Type | Details
@@ -1459,7 +1459,7 @@ Parameter | |
Return | jQuery | [jQuery Object](http://api.jquery.com/Types/#jQuery)
```javascript
-$("#myChart").enable();
+$("#myChart").enableChart();
```
#### .fullscreen() ####
@@ -1790,7 +1790,7 @@ $("#myChart").zoomTo({
});
// The chart will now be zoomed in to show
-// values 10 through 30 on the x-scale and
+// values 10 through 30 on the x-scale and
// values 12 through 17 on the y scale.
```
@@ -1812,7 +1812,7 @@ $("#myChart").zoomToValues({
});
// The chart will now be zoomed in to show
-// values "Feb" through "Apr" on the x-scale
+// values "Feb" through "Apr" on the x-scale
// and values 200 through 300 on the y scale.
```
diff --git a/zingchart.jquery.js b/zingchart.jquery.js
index 5874b0a..0af4e3b 100755
--- a/zingchart.jquery.js
+++ b/zingchart.jquery.js
@@ -480,7 +480,7 @@
};
// TOGGLE METHODS =========================================================
- $.fn.disable = function (message) {
+ $.fn.disableChart = function (message) {
if (message) {
zingchart.exec(this[0].id, "disable", {text: message});
}
@@ -490,7 +490,7 @@
return this;
};
- $.fn.enable = function () {
+ $.fn.enableChart = function () {
zingchart.exec(this[0].id, "enable");
return this;
};
@@ -1082,7 +1082,7 @@
});
return this;
};
-
+
$.fn.nodeMouseOver = function (callback) {
var jq = this;
var NODEMOUSEOVER = false;
@@ -1449,7 +1449,7 @@
});
var aScaleValues = oScaleInfo.values;
for (var i=0;ii;i++)zingchart.exec(e,"hideplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)zingchart.exec(e,"hideplot",{plotindex:i});return this},t.fn.hideAllPlotsBut=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"hideplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"hideplot",{plotindex:i});return this},t.fn.modifyAllPlotsBut=function(t,e){var n=this[0].id,i=t&&t.hasOwnProperty("graphid")?zingchart.exec(n,"getplotlength",t):zingchart.exec(n,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var r=0;i>r;r++)r!=t.plotindex&&zingchart.exec(n,"modifyplot",{graphid:t.graphid,plotindex:r,data:e});else for(var r=0;i>r;r++)r!=t.plotindex&&zingchart.exec(n,"modifyplot",{plotindex:r,data:e});return this},t.fn.modifyAllPlots=function(t,e){for(var n=this[0].id,i=e?zingchart.exec(n,"getplotlength",e):zingchart.exec(n,"getplotlength"),r=0;i>r;r++)e&&e.graphid?zingchart.exec(n,"modifyplot",{graphid:e.graphid,plotindex:r,data:t}):zingchart.exec(n,"modifyplot",{plotindex:r,data:t});return this},t.fn.showAllPlots=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid"))for(var i=0;n>i;i++)zingchart.exec(e,"showplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)zingchart.exec(e,"showplot",{plotindex:i});return this},t.fn.showAllPlotsBut=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"showplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"showplot",{plotindex:i});return this},t.fn.legendMaximize=function(t){return t?zingchart.exec(this[0].id,"legendmaximize",t):zingchart.exec(this[0].id,"legendmaximize"),this},t.fn.legendMinimize=function(t){return t?zingchart.exec(this[0].id,"legendminimize",t):zingchart.exec(this[0].id,"legendminimize"),this},t.fn.showMenu=function(){return zingchart.exec(this[0].id,"showmenu"),this},t.fn.showPlot=function(t){return zingchart.exec(this[0].id,"showplot",t),this},t.fn.toggleAbout=function(){return zingchart.exec(this[0].id,"toggleabout"),this},t.fn.toggleBugReport=function(){return zingchart.exec(this[0].id,"togglebugreport"),this},t.fn.toggleDimension=function(){return zingchart.exec(this[0].id,"toggledimension"),this},t.fn.toggleLegend=function(){return zingchart.exec(this[0].id,"togglelegend"),this},t.fn.toggleSource=function(){return zingchart.exec(this[0].id,"togglesource"),this},t.fn.viewAll=function(){return zingchart.exec(this[0].id,"viewall"),this},t.fn.zoomIn=function(t){return t?zingchart.exec(this[0].id,"zoomin",t):zingchart.exec(this[0].id,"zoomin"),this},t.fn.zoomOut=function(t){return t?zingchart.exec(this[0].id,"zoomout",t):zingchart.exec(this[0].id,"zoomout"),this},t.fn.zoomTo=function(t){return zingchart.exec(this[0].id,"zoomto",t),this},t.fn.zoomToValues=function(t){return zingchart.exec(this[0].id,"zoomtovalues",t),this},t.fn.animationEnd=function(e){var n=this;return zingchart.bind(this[0].id,"animation_end",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.animationStart=function(e){var n=this;return zingchart.bind(this[0].id,"animation_start",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.animationStep=function(e){var n=this;return zingchart.bind(this[0].id,"animation_step",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartModify=function(e){var n=this;return zingchart.bind(this[0].id,"modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeAdd=function(e){var n=this;return zingchart.bind(this[0].id,"node_add",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeRemove=function(e){var n=this;return zingchart.bind(this[0].id,"node_remove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotAdd=function(e){var n=this;return zingchart.bind(this[0].id,"plot_add",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotModify=function(e){var n=this;return zingchart.bind(this[0].id,"plot_modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotRemove=function(e){var n=this;return zingchart.bind(this[0].id,"plot_remove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartReload=function(e){var n=this;return zingchart.bind(this[0].id,"reload",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dataSet=function(e){var n=this;return zingchart.bind(this[0].id,"setdata",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dataExport=function(e){var n=this;return zingchart.bind(this[0].id,"data_export",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.imageSave=function(e){var n=this;return zingchart.bind(this[0].id,"image_save",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartPrint=function(e){var n=this;return zingchart.bind(this[0].id,"print",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedClear=function(e){var n=this;return zingchart.bind(this[0].id,"feed_clear",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedIntervalModify=function(e){var n=this;return zingchart.bind(this[0].id,"feed_interval_modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedStart=function(e){var n=this;return zingchart.bind(this[0].id,"feed_start",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedStop=function(e){var n=this;return zingchart.bind(this[0].id,"feed_stop",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphClick=function(e){var n=this;return zingchart.bind(this[0].id,"click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphComplete=function(e){var n=this;return zingchart.bind(this[0].id,"complete",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphDataParse=function(e){var n=this;return zingchart.bind(this[0].id,"dataparse",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphDataReady=function(e){var n=this;return zingchart.bind(this[0].id,"dataready",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphGuideMouseMove=function(e){var n=this;return zingchart.bind(this[0].id,"guide_mousemove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphLoad=function(e){var n=this;return zingchart.bind(this[0].id,"load",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphMenuItemClick=function(e){var n=this;return zingchart.bind(this[0].id,"menu_item_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphResize=function(e){var n=this;return zingchart.bind(this[0].id,"resize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.historyForward=function(e){var n=this;return zingchart.bind(this[0].id,"history_forward",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.historyBack=function(e){var n=this;return zingchart.bind(this[0].id,"history_back",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeSelect=function(e){var n=this;return zingchart.bind(this[0].id,"node_select",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeDeselect=function(e){var n=this;return zingchart.bind(this[0].id,"node_deselect",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotSelect=function(e){var n=this;return zingchart.bind(this[0].id,"plot_select",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotDeselect=function(e){var n=this;return zingchart.bind(this[0].id,"plot_deselect",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendItemClick=function(e){var n=this;return zingchart.bind(this[0].id,"legend_item_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMarkerClick=function(e){var n=this;return zingchart.bind(this[0].id,"legend_marker_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeClick=function(e){var n=this;return zingchart.bind(this[0].id,"node_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeDoubleClick=function(e){var n=this;return zingchart.bind(this[0].id,"node_doubleclick",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"node_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"node_mouseout",function(){i=!1}),this},t.fn.nodeMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"node_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeHover=function(e,n){var i=this,r=!1;return zingchart.bind(this[0].id,"node_mouseover",function(n){r||(t.extend(i,{event:n}),r=!0,e.call(i))}),zingchart.bind(i[0].id,"node_mouseout",function(){r=!1,n.call(i)}),this},t.fn.labelClick=function(e){var n=this;return zingchart.bind(this[0].id,"label_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.labelMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"label_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"label_mouseout",function(){i=!1}),this},t.fn.labelMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"label_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.labelHover=function(e,n){return t(this).labelMouseOver(e).labelMouseOut(n),this},t.fn.shapeClick=function(e){var n=this;return zingchart.bind(this[0].id,"shape_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.shapeMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"shape_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"shape_mouseout",function(){i=!1}),this},t.fn.shapeMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"shape_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.shapeHover=function(e,n){return t(this).shapeMouseOver(e).shapeMouseOut(n),this},t.fn.plotClick=function(e){var n=this;return zingchart.bind(this[0].id,"plot_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotDoubleClick=function(e){var n=this;return zingchart.bind(this[0].id,"plot_doubleclick",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"plot_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"plot_mouseout",function(){i=!1}),this},t.fn.plotMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"plot_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotHover=function(e,n){return t(this).plotMouseOver(e).plotMouseOut(n),this},t.fn.plotShow=function(e){var n=this;return zingchart.bind(this[0].id,"plot_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotHide=function(e){var n=this;return zingchart.bind(this[0].id,"plot_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.aboutShow=function(e){var n=this;return zingchart.bind(this[0].id,"about_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.aboutHide=function(e){var n=this;return zingchart.bind(this[0].id,"about_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.bugReportShow=function(e){var n=this;return zingchart.bind(this[0].id,"bugreport_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.bugReportHide=function(e){var n=this;return zingchart.bind(this[0].id,"bugreport_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dimensionChange=function(e){var n=this;return zingchart.bind(this[0].id,"dimension_change",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.sourceShow=function(e){var n=this;return zingchart.bind(this[0].id,"source_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.sourceHide=function(e){var n=this;return zingchart.bind(this[0].id,"source_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendShow=function(e){var n=this;return zingchart.bind(this[0].id,"legend_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendHide=function(e){var n=this;return zingchart.bind(this[0].id,"legend_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMaximize=function(e){var n=this;return zingchart.bind(this[0].id,"legend_maximize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMinimize=function(e){var n=this;return zingchart.bind(this[0].id,"legend_minimize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.zoomEvent=function(e){var n=this;return zingchart.bind(this[0].id,"zoom",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.setTitle=function(t){return"object"==typeof t?zingchart.exec(this[0].id,"modify",{data:{title:t}}):zingchart.exec(this[0].id,"modify",{data:{title:{text:t}}}),this},t.fn.setSubtitle=function(t){return"object"==typeof t?zingchart.exec(this[0].id,"modify",{data:{subtitle:t}}):zingchart.exec(this[0].id,"modify",{data:{subtitle:{text:t}}}),this},t.fn.setType=function(t){return zingchart.exec(this[0].id,"modify",{data:{type:t}}),zingchart.exec(this[0].id,"update"),this},t.fn.drawTrendline=function(e){function n(n){for(var i=t(this).getSeriesValues({plotindex:n}),r=0,c=0,h=0,a=0,o=0,d=t(this).getObjectInfo({object:"scale",name:"scale-x"}),s=d.values,u=0;ui;i++)zingchart.exec(e,"hideplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)zingchart.exec(e,"hideplot",{plotindex:i});return this},t.fn.hideAllPlotsBut=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"hideplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"hideplot",{plotindex:i});return this},t.fn.modifyAllPlotsBut=function(t,e){var n=this[0].id,i=t&&t.hasOwnProperty("graphid")?zingchart.exec(n,"getplotlength",t):zingchart.exec(n,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var r=0;i>r;r++)r!=t.plotindex&&zingchart.exec(n,"modifyplot",{graphid:t.graphid,plotindex:r,data:e});else for(var r=0;i>r;r++)r!=t.plotindex&&zingchart.exec(n,"modifyplot",{plotindex:r,data:e});return this},t.fn.modifyAllPlots=function(t,e){for(var n=this[0].id,i=e?zingchart.exec(n,"getplotlength",e):zingchart.exec(n,"getplotlength"),r=0;i>r;r++)e&&e.graphid?zingchart.exec(n,"modifyplot",{graphid:e.graphid,plotindex:r,data:t}):zingchart.exec(n,"modifyplot",{plotindex:r,data:t});return this},t.fn.showAllPlots=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid"))for(var i=0;n>i;i++)zingchart.exec(e,"showplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)zingchart.exec(e,"showplot",{plotindex:i});return this},t.fn.showAllPlotsBut=function(t){var e=this[0].id,n=t&&t.hasOwnProperty("graphid")?zingchart.exec(e,"getplotlength",t):zingchart.exec(e,"getplotlength");if(t&&t.hasOwnProperty("graphid")&&t.hasOwnProperty("plotindex"))for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"showplot",{graphid:t.graphid,plotindex:i});else for(var i=0;n>i;i++)i!=t.plotindex&&zingchart.exec(e,"showplot",{plotindex:i});return this},t.fn.legendMaximize=function(t){return t?zingchart.exec(this[0].id,"legendmaximize",t):zingchart.exec(this[0].id,"legendmaximize"),this},t.fn.legendMinimize=function(t){return t?zingchart.exec(this[0].id,"legendminimize",t):zingchart.exec(this[0].id,"legendminimize"),this},t.fn.showMenu=function(){return zingchart.exec(this[0].id,"showmenu"),this},t.fn.showPlot=function(t){return zingchart.exec(this[0].id,"showplot",t),this},t.fn.toggleAbout=function(){return zingchart.exec(this[0].id,"toggleabout"),this},t.fn.toggleBugReport=function(){return zingchart.exec(this[0].id,"togglebugreport"),this},t.fn.toggleDimension=function(){return zingchart.exec(this[0].id,"toggledimension"),this},t.fn.toggleLegend=function(){return zingchart.exec(this[0].id,"togglelegend"),this},t.fn.toggleSource=function(){return zingchart.exec(this[0].id,"togglesource"),this},t.fn.viewAll=function(){return zingchart.exec(this[0].id,"viewall"),this},t.fn.zoomIn=function(t){return t?zingchart.exec(this[0].id,"zoomin",t):zingchart.exec(this[0].id,"zoomin"),this},t.fn.zoomOut=function(t){return t?zingchart.exec(this[0].id,"zoomout",t):zingchart.exec(this[0].id,"zoomout"),this},t.fn.zoomTo=function(t){return zingchart.exec(this[0].id,"zoomto",t),this},t.fn.zoomToValues=function(t){return zingchart.exec(this[0].id,"zoomtovalues",t),this},t.fn.animationEnd=function(e){var n=this;return zingchart.bind(this[0].id,"animation_end",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.animationStart=function(e){var n=this;return zingchart.bind(this[0].id,"animation_start",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.animationStep=function(e){var n=this;return zingchart.bind(this[0].id,"animation_step",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartModify=function(e){var n=this;return zingchart.bind(this[0].id,"modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeAdd=function(e){var n=this;return zingchart.bind(this[0].id,"node_add",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeRemove=function(e){var n=this;return zingchart.bind(this[0].id,"node_remove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotAdd=function(e){var n=this;return zingchart.bind(this[0].id,"plot_add",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotModify=function(e){var n=this;return zingchart.bind(this[0].id,"plot_modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotRemove=function(e){var n=this;return zingchart.bind(this[0].id,"plot_remove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartReload=function(e){var n=this;return zingchart.bind(this[0].id,"reload",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dataSet=function(e){var n=this;return zingchart.bind(this[0].id,"setdata",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dataExport=function(e){var n=this;return zingchart.bind(this[0].id,"data_export",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.imageSave=function(e){var n=this;return zingchart.bind(this[0].id,"image_save",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.chartPrint=function(e){var n=this;return zingchart.bind(this[0].id,"print",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedClear=function(e){var n=this;return zingchart.bind(this[0].id,"feed_clear",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedIntervalModify=function(e){var n=this;return zingchart.bind(this[0].id,"feed_interval_modify",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedStart=function(e){var n=this;return zingchart.bind(this[0].id,"feed_start",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.feedStop=function(e){var n=this;return zingchart.bind(this[0].id,"feed_stop",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphClick=function(e){var n=this;return zingchart.bind(this[0].id,"click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphComplete=function(e){var n=this;return zingchart.bind(this[0].id,"complete",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphDataParse=function(e){var n=this;return zingchart.bind(this[0].id,"dataparse",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphDataReady=function(e){var n=this;return zingchart.bind(this[0].id,"dataready",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphGuideMouseMove=function(e){var n=this;return zingchart.bind(this[0].id,"guide_mousemove",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphLoad=function(e){var n=this;return zingchart.bind(this[0].id,"load",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphMenuItemClick=function(e){var n=this;return zingchart.bind(this[0].id,"menu_item_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.graphResize=function(e){var n=this;return zingchart.bind(this[0].id,"resize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.historyForward=function(e){var n=this;return zingchart.bind(this[0].id,"history_forward",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.historyBack=function(e){var n=this;return zingchart.bind(this[0].id,"history_back",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeSelect=function(e){var n=this;return zingchart.bind(this[0].id,"node_select",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeDeselect=function(e){var n=this;return zingchart.bind(this[0].id,"node_deselect",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotSelect=function(e){var n=this;return zingchart.bind(this[0].id,"plot_select",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotDeselect=function(e){var n=this;return zingchart.bind(this[0].id,"plot_deselect",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendItemClick=function(e){var n=this;return zingchart.bind(this[0].id,"legend_item_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMarkerClick=function(e){var n=this;return zingchart.bind(this[0].id,"legend_marker_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeClick=function(e){var n=this;return zingchart.bind(this[0].id,"node_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeDoubleClick=function(e){var n=this;return zingchart.bind(this[0].id,"node_doubleclick",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"node_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"node_mouseout",function(){i=!1}),this},t.fn.nodeMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"node_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.nodeHover=function(e,n){var i=this,r=!1;return zingchart.bind(this[0].id,"node_mouseover",function(n){r||(t.extend(i,{event:n}),r=!0,e.call(i))}),zingchart.bind(i[0].id,"node_mouseout",function(){r=!1,n.call(i)}),this},t.fn.labelClick=function(e){var n=this;return zingchart.bind(this[0].id,"label_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.labelMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"label_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"label_mouseout",function(){i=!1}),this},t.fn.labelMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"label_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.labelHover=function(e,n){return t(this).labelMouseOver(e).labelMouseOut(n),this},t.fn.shapeClick=function(e){var n=this;return zingchart.bind(this[0].id,"shape_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.shapeMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"shape_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"shape_mouseout",function(){i=!1}),this},t.fn.shapeMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"shape_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.shapeHover=function(e,n){return t(this).shapeMouseOver(e).shapeMouseOut(n),this},t.fn.plotClick=function(e){var n=this;return zingchart.bind(this[0].id,"plot_click",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotDoubleClick=function(e){var n=this;return zingchart.bind(this[0].id,"plot_doubleclick",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotMouseOver=function(e){var n=this,i=!1;return zingchart.bind(this[0].id,"plot_mouseover",function(r){i||(t.extend(n,{event:r}),i=!0,e.call(n))}),zingchart.bind(n[0].id,"plot_mouseout",function(){i=!1}),this},t.fn.plotMouseOut=function(e){var n=this;return zingchart.bind(this[0].id,"plot_mouseout",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotHover=function(e,n){return t(this).plotMouseOver(e).plotMouseOut(n),this},t.fn.plotShow=function(e){var n=this;return zingchart.bind(this[0].id,"plot_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.plotHide=function(e){var n=this;return zingchart.bind(this[0].id,"plot_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.aboutShow=function(e){var n=this;return zingchart.bind(this[0].id,"about_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.aboutHide=function(e){var n=this;return zingchart.bind(this[0].id,"about_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.bugReportShow=function(e){var n=this;return zingchart.bind(this[0].id,"bugreport_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.bugReportHide=function(e){var n=this;return zingchart.bind(this[0].id,"bugreport_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.dimensionChange=function(e){var n=this;return zingchart.bind(this[0].id,"dimension_change",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.sourceShow=function(e){var n=this;return zingchart.bind(this[0].id,"source_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.sourceHide=function(e){var n=this;return zingchart.bind(this[0].id,"source_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendShow=function(e){var n=this;return zingchart.bind(this[0].id,"legend_show",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendHide=function(e){var n=this;return zingchart.bind(this[0].id,"legend_hide",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMaximize=function(e){var n=this;return zingchart.bind(this[0].id,"legend_maximize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.legendMinimize=function(e){var n=this;return zingchart.bind(this[0].id,"legend_minimize",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.zoomEvent=function(e){var n=this;return zingchart.bind(this[0].id,"zoom",function(i){t.extend(n,{event:i}),e.call(n)}),this},t.fn.setTitle=function(t){return"object"==typeof t?zingchart.exec(this[0].id,"modify",{data:{title:t}}):zingchart.exec(this[0].id,"modify",{data:{title:{text:t}}}),this},t.fn.setSubtitle=function(t){return"object"==typeof t?zingchart.exec(this[0].id,"modify",{data:{subtitle:t}}):zingchart.exec(this[0].id,"modify",{data:{subtitle:{text:t}}}),this},t.fn.setType=function(t){return zingchart.exec(this[0].id,"modify",{data:{type:t}}),zingchart.exec(this[0].id,"update"),this},t.fn.drawTrendline=function(e){function n(n){for(var i=t(this).getSeriesValues({plotindex:n}),r=0,c=0,h=0,a=0,o=0,d=t(this).getObjectInfo({object:"scale",name:"scale-x"}),s=d.values,u=0;u