How to use egui_plot to plot time series #4376
-
Hi, I have a time series set of data where x-values are basically DateTimes and I'm wondering how can I plot the dates in the x-axis? I'm aware of the custom_x_axes function but the AxisHints.formatter function receives a f64 value and I don't see the way to retrieve there a DataTime<Utc? value instead that I could format appropiately. Here the DataSet I 'm using
So I would like to plot the values in the Vector (x = DateTime, y= i32, label = string). Does anyone have a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the way here: #4186 |
Beta Was this translation helpful? Give feedback.
Found the way here: #4186