Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// The preprocessor can convert arbitary api data, into a figure convenient format
this._data_pre_processor_hooks = [];
this._pre_render_hooks = [];
this._post_render_hooks= [];
this.scheduler = new Scheduler(()=>this._fetch_data(), this.get_update_interval());
// Post url and body for fetching the graph data
this._post_url = "";
this._post_body = "";
// Current data of this figure
this._data = {data: [], plot_definitions: []};
this._crossfilter = new crossfilter.default();
}