SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
179 stars 15 forks source link

Support non-float datetime on X #69

Open inv2004 opened 3 years ago

inv2004 commented 3 years ago

Hello, at the moment Trace contains generic with Trace*[T: SomeNumber]

But it is possible that X contains not simple floats (for example), but timestamp.

I am not sure: is it better to keep floats and convert them to dates in html or to change X's types.

Regards,