Skip to content

Commit

Permalink
Initial commit:
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Schultz committed Nov 12, 2019
0 parents commit 7873b0c
Show file tree
Hide file tree
Showing 5 changed files with 233 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# zingchart-constants

Just a repo with all of the method, event, and misc constants for ZingChart. Used for wrappers and integrations.
106 changes: 106 additions & 0 deletions events.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
export default [
'about_hide',
'about_show',
'animation_end',
'animation_start',
'animation_step',
'beforedestroy',
'bugreport_hide',
'bugreport_show',
'click',
'complete',
'data_export',
'dataexport',
'dataload',
'dataparse',
'dataready',
'destroy',
'dimension_change',
'error',
'feed_clear',
'feed_interval_modify',
'feed_start',
'feed_stop',
'gcomplete',
'gload',
'gparse',
'guide_mousemove',
'guide_mouseout',
'guide_mouseout',
'heatmap.mousemove',
'history_back',
'history_forward',
'image_save',
'label_click',
'label_mousedown',
'label_mouseout',
'label_mouseover',
'label_mouseup',
'legend_hide',
'legend_item_click',
'legend_item_mousemove',
'legend_item_mouseout',
'legend_item_mouseout',
'legend_item_mouseover',
'legend_marker_click',
'legend_marker_click',
'legend_maximize',
'legend_minimize',
'legend_minimize_click',
'legend_pagination_click',
'legend_show',
'legend-drag_mousedown',
'lens_hide',
'lens_show',
'load',
'maps.zoom',
'menu_item_click',
'modify',
'modulesready',
'mousewheel',
'node_add',
'node_click',
'node_deselect',
'node_doubleclick',
'node_mousedown',
'node_mouseout',
'node_mouseover',
'node_mouseup',
'node_remove',
'node_select',
'node_set',
'objectsinit',
'objectsready',
'overscroll',
'plot_add',
'plot_click',
'plot_deselect',
'plot_doubleclick',
'plot_hide',
'plot_modify',
'plot_mouseout',
'plot_mouseover',
'plot_remove',
'plot_select',
'plot_show',
'postzoom',
'print',
'reload',
'render',
'resize',
'setdata',
'shape_click',
'shape_mousedown',
'shape_mouseout',
'shape_mouseover',
'shape_mouseup',
'source_hide',
'source_show',
'swipe',
'touchemove',
'touchend',
'touchstart',
'zingchart.plugins.selection-tool.mouseup',
'zingchart.plugins.selection-tool.selection',
'zoom'
];
10 changes: 10 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import EVENT_NAMES from './events';
import METHOD_NAMES from './methods';
import {DEFAULT_WIDTH, DEFAULT_HEIGHT} from './misc.js';

export default {
EVENT_NAMES,
METHOD_NAMES,
DEFAULT_WIDTH,
DEFAULT_HEIGHT
};
110 changes: 110 additions & 0 deletions methods.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
export default [
'addgraph',
'addmenuitem',
'addnode',
'addnote',
'addobject',
'addplot',
'addrule',
'addscalevalue',
'appendseriesdata',
'appendseriesvalues',
'clearfeed',
'clearscroll',
'clearselection',
'clicknode',
'clicknode',
'closemodal',
'closemodal',
'destroy/zcdestroy',
'disable',
'downloadCSV',
'downloadRAW',
'downloadXLS',
'exitfullscreen',
'exportdata',
'exportimage',
'fullscreen',
'get3dview',
'getbubblesize',
'getcharttype',
'getdata',
'getgraphlength',
'getimagedata',
'getinterval',
'getnodelength',
'getnodevalue',
'getobjectinfo',
'getoriginaljson',
'getpage',
'getplotlength',
'getplotvalues',
'getrender',
'getrules',
'getscaleinfo',
'getscales',
'getseriesdata',
'getseriesdata',
'getseriesvalues',
'getversion',
'getxyinfo',
'goback',
'goforward',
'hideguide',
'hidemenu',
'hideplot/plothide',
'hidetooltip',
'legendmaximize',
'legendminimize',
'legendscroll',
'load',
'loadstorage',
'mapdata',
'mapdata',
'modify',
'modifyplot',
'openmodal',
'print',
'reload',
'removegraph',
'removenode',
'removenote',
'removeobject',
'removeplot',
'removerule',
'removescalevalue',
'repaintobjects',
'resize',
'saveasimage',
'set3dview',
'setcharttype',
'setdata',
'setguide',
'setinterval',
'setmode',
'setnodevalue',
'setpage',
'setscalevalues',
'setseriesdata',
'setseriesvalues',
'showhoverstate',
'showmenu',
'showplot/plotshow',
'showtooltip',
'startfeed',
'stopfeed',
'togglebugreport',
'toggledimension',
'togglelegend',
'toggleplot',
'unbinddocument',
'update',
'updatenote',
'updateobject',
'updaterule',
'viewDataTable',
'zoomin',
'zoomout',
'zoomto',
'zoomtovalues'
];
4 changes: 4 additions & 0 deletions misc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
DEFAULT_WIDTH: '100%',
DEFAULT_HEIGHT: 480,
};

0 comments on commit 7873b0c

Please sign in to comment.