mysql: convert numbers to text for annotation tooltip

This commit is contained in:
Daniel Lee 2018-01-18 11:45:20 +01:00
parent 6d13645206
commit 1a019052d5

View File

@ -138,7 +138,7 @@ export default class ResponseParser {
list.push({
annotation: options.annotation,
time: Math.floor(row[timeColumnIndex]) * 1000,
text: row[textColumnIndex],
text: row[textColumnIndex] ? row[textColumnIndex].toString() : '',
tags: row[tagsColumnIndex] ? row[tagsColumnIndex].trim().split(/\s*,\s*/) : [],
});
}