This commit is contained in:
Thomas Nordquist
2019-06-04 23:03:53 +02:00
parent 1f9215a19f
commit 4f0b13bdc7
3 changed files with 3 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export function toPlottableValue(value: any): number | undefined {
return floatVal
}
const intVal = parseInt(value)
const intVal = parseInt(value, undefined)
if (isNumber && !isNaN(intVal)) {
return intVal
}