mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
Pass numerical value to format functions
This commit is contained in:
@ -65,7 +65,7 @@ define(
|
||||
|
||||
//Define a custom format function
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user