in src/dashboard.ts [56:73]
_init(opts: DashboardOptions) {
this.state.id = opts.id || null;
this.state.title = opts.title || 'Generated Grafana Dashboard';
this.state.originalTitle = opts.originalTitle || 'Generated Dashboard';
this.state.tags = opts.tags || [];
this.state.style = opts.style || 'dark';
this.state.timezone = opts.timezone || 'browser';
this.state.editable = true;
this.state.hideControls = !!opts.hideControls;
this.state.sharedCrosshair = !!opts.sharedCrosshair;
this.state.refresh = opts.refresh || false;
this.state.schemaVersion = opts.schemaVersion || 6;
this.state.hideAllLegends = !!opts.hideAllLegends;
this.state.time = opts.time || null;
if ('editable' in opts) {
this.state.editable = opts.editable;
}
}