Commit 02e1ac12 by Torkel Ödegaard

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

parent bde13817
......@@ -69,6 +69,7 @@ function (_) {
p.getAnnotations = function () {
var list = [];
var self = this;
console.log(this.seriesList);
_.each(this.seriesList, function (series) {
var titleCol = null;
......@@ -88,7 +89,7 @@ function (_) {
_.each(series.points, function (point) {
var data = {
annotation: self.annotation,
time: point[timeCol] * 1000,
time: point[timeCol],
title: point[titleCol],
tags: point[tagsCol],
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