Does not support DateOnly/TimeOnly values
It appears that Plotly.NET does not currently support DateOnly/TimeOnly values.
Seq.init 10 (fun x -> DateOnly.MinValue, x)
|> Chart.Column
Error
typecheck error No overloads match for method 'Column'.
Known type of argument: (DateOnly * int) seq
Hey @games, thanks for bringing this up.
Date/TimeOnly do not support the IConvertible interface, so I'm afraid there is not much we can do about this.
Or maybe instead of using IConvertible , we should create a custom interface?
That would change hundreds of functions and i don't know how that interface would have to look like. Can you add implementations of custom interfaces to built-in types? If that works, would that require casting every input to that interface before passing it to the charting functions?
I'd love to review a PR that would not affect the current usage and add the desired support, but I am not sure if it is possible (feel free to prove me wrong though!).