Closed billdenney closed 1 year ago
minutes and seconds have now been added (though "min" won't work, requires full unit name now of year, month, week, day, hour, minute, second). The only flexibility is in capitalization and in ending the unit with an "s" otherwise an error is thrown.
Thanks!
I needed a minutes x-axis for a current dataset, but
xgx_scale_time_units_()
only supports between hours and years.units_dataset
andunits_plot
options be considered?units_dataset = "min"
, then it assumes that the units are "months" which is inaccurate. I think that stricter input testing would be helpful to prevent unintentional unit assignment.