Commit 02e1ac12 by Torkel Ödegaard

InfluxDB: fixed annotations, broken after switch to millisecond resolution, Fixes #1061

parent bde13817
...@@ -69,6 +69,7 @@ function (_) { ...@@ -69,6 +69,7 @@ function (_) {
p.getAnnotations = function () { p.getAnnotations = function () {
var list = []; var list = [];
var self = this; var self = this;
console.log(this.seriesList);
_.each(this.seriesList, function (series) { _.each(this.seriesList, function (series) {
var titleCol = null; var titleCol = null;
...@@ -88,7 +89,7 @@ function (_) { ...@@ -88,7 +89,7 @@ function (_) {
_.each(series.points, function (point) { _.each(series.points, function (point) {
var data = { var data = {
annotation: self.annotation, annotation: self.annotation,
time: point[timeCol] * 1000, time: point[timeCol],
title: point[titleCol], title: point[titleCol],
tags: point[tagsCol], tags: point[tagsCol],
text: point[textCol] text: point[textCol]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment