Crate a chart with X-axis being Duration #630
Unanswered
andrewdavidmackenzie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to create a chart where the x-axis is Duration type (nanos in UNIX epoch), but it does not implement Ranged
(https://docs.rs/plotters/0.3.6/plotters/coord/ranged1d/trait.AsRangedCoord.html).
At the moment I am converting to DateTime using chrono, and I'd like to get rid of that dependency and the conversions.
(if some other std::time struct can be used instead of chrono::DateTime or std::time::Duration, that would suit my needs also).
Thanks
Beta Was this translation helpful? Give feedback.
All reactions