mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
initial work to add shortcut to toggle legend - generic
This commit is contained in:
@@ -147,7 +147,7 @@ class GraphCtrl extends MetricsPanelCtrl {
|
||||
|
||||
onInitPanelActions(actions) {
|
||||
actions.push({ text: 'Export CSV', click: 'ctrl.exportCsv()' });
|
||||
actions.push({ text: 'Toggle legend', click: 'ctrl.toggleLegend()' });
|
||||
actions.push({ text: 'Toggle legend', click: 'ctrl.toggleLegend()', shortcut: 'p l' });
|
||||
}
|
||||
|
||||
issueQueries(datasource) {
|
||||
|
||||
Reference in New Issue
Block a user