mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux: create annotations
This commit is contained in:
@@ -57,7 +57,7 @@ export class EventManager {
|
||||
this.panelCtrl.render();
|
||||
}
|
||||
|
||||
addPlotEvents(annotations) {
|
||||
addFlotEvents(annotations, flotOptions) {
|
||||
if (this.event || annotations.length === 0) {
|
||||
return;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ export class EventManager {
|
||||
}
|
||||
}
|
||||
|
||||
options.events = {
|
||||
flotOptions.events = {
|
||||
levels: _.keys(types).length + 1,
|
||||
data: annotations,
|
||||
types: types,
|
||||
|
||||
Reference in New Issue
Block a user