mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
mysql: convert numbers to text for annotation tooltip
This commit is contained in:
parent
6d13645206
commit
1a019052d5
@ -138,7 +138,7 @@ export default class ResponseParser {
|
|||||||
list.push({
|
list.push({
|
||||||
annotation: options.annotation,
|
annotation: options.annotation,
|
||||||
time: Math.floor(row[timeColumnIndex]) * 1000,
|
time: Math.floor(row[timeColumnIndex]) * 1000,
|
||||||
text: row[textColumnIndex],
|
text: row[textColumnIndex] ? row[textColumnIndex].toString() : '',
|
||||||
tags: row[tagsColumnIndex] ? row[tagsColumnIndex].trim().split(/\s*,\s*/) : [],
|
tags: row[tagsColumnIndex] ? row[tagsColumnIndex].trim().split(/\s*,\s*/) : [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user