-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Firstly, thank you for a wonderful package, love YouPlot
What's the feature?
I often find myself wanting to plot timeseries data. Currently the best solution i've found is converting to unix timestamps, but these are not human readable.
It would be good to be able to plot timeseries data using youplot, where a column of data is provided as a date or datetime.
This would be for:
- line
- lines
- (possibly) scatter
- (possibly) density
Unicode plot accepts both Date and DateTime types, so this is pretty possible (but may need to work around this bug)
Examples
Potential UX
I'm very open to suggestions here.
A solution that would not cause any breaking changes would be something like
uplot lines --xtype date
uplot lines --xtype datetime
If you are still considering the API pre-1.0, then an alternative would be to autodetect the type of the x column, and use that to determine what is used
uplot lines
uplot lines
PR
I would happily open a PR for this feature if you are open to it