mirror of
https://github.com/nasa/openmct.git
synced 2025-03-18 18:15:29 +00:00
Pass numerical value to format functions
This commit is contained in:
parent
121ab413ff
commit
4cd579d274
@ -65,7 +65,7 @@ define(
|
|||||||
|
|
||||||
//Define a custom format function
|
//Define a custom format function
|
||||||
xAxis.tickFormat(function (date) {
|
xAxis.tickFormat(function (date) {
|
||||||
return format.format(date, {min: b.start, max: b.end});
|
return format.format(date.getTime(), {min: b.start, max: b.end});
|
||||||
});
|
});
|
||||||
axisElement.call(xAxis);
|
axisElement.call(xAxis);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user