I am using flot library to plot the graph , i am able to plot only up to seconds using this
xaxis: {
mode: "time",
timeformat: "%y/%m/%d-%H:%M:%S"
}
I want to also plot milliseconds on x-axis . Is it possible ? Any help / suggestion will be appreciated.
Currently, no, you would have to provide your own tickFormatter, like this:
xaxis: {
mode: "time",
tickFormatter: function(value, axis) {
return value % 1000;
}
}
We really should add a format specifier for that, though; perhaps %f, like Python. You should definitely open an enhancement issue for this on Github.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.