Add grid.viewAsChart and grid.goToNextGrid keyboard shortcuts for editor (#1390)

* adding shortcuts for view as chart and go to next grid

* small fix

* refactor query output functions out of gridParentComponents

* Revert "refactor query output functions out of gridParentComponents"

This reverts commit 51addcac76d2a21df150a8d95f54f061aab6ac7a.
This commit is contained in:
Abbie Petchtes
2018-05-11 09:38:14 -07:00
committed by GitHub
parent 23ec6ac567
commit eae8de0373
7 changed files with 50 additions and 3 deletions

View File

@@ -589,7 +589,7 @@ export class QueryComponent extends GridParentComponent implements OnInit, OnDes
});
}
private showChartForGrid(index: number) {
protected showChartForGrid(index: number) {
if (this.renderedDataSets.length > index) {
this.showChartRequested.emit(this.renderedDataSets[index]);
}