ux: create annotations

This commit is contained in:
Torkel Ödegaard
2017-04-14 23:10:56 +02:00
parent 03ef1fd758
commit fa2a7db657
4 changed files with 6 additions and 6 deletions

View File

@@ -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,