Commit 29e871ff authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix tick values sort

parent 11c0fe61
...@@ -1531,7 +1531,7 @@ ...@@ -1531,7 +1531,7 @@
tickValues.push(end); tickValues.push(end);
} }
} }
if (!isTimeSeries) { tickValues = tickValues.sort(); } if (!isTimeSeries) { tickValues = tickValues.sort(function (a, b) { return a - b; }); }
return tickValues; return tickValues;
} }
function addHiddenTargetIds(targetIds) { function addHiddenTargetIds(targetIds) {
......
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