rawgraphs / rawgraphs-charts

A curated selection of charts provided through RAWGraphs interface
https://rawgraphs.io/
Apache License 2.0
93 stars 42 forks source link

enable use of numbers instead of dates in gantt charts #94

Closed cdebuck closed 2 years ago

cdebuck commented 3 years ago

In which part of the interface would this feature applies?

[ ] 1. Load your data [ ] 2. Choose a chart [x] 3. Mapping [ ] 4. Customize [ ] 5. Export

Is your feature request related to a problem? Please describe. I'm trying to make a gantt chart which is based on integers instead of dates. The datacolumns I try to use as 'start date' and 'end date' are integers ranging from 1-300.000. Rawgraphs gives an error: (Chart error. e.startDate.getTime is not a function) because it tries to convert these numbers to dates. I was surprised by this, since the chart variables 'start date' and 'end date' state that it both accepts numbers and dates.

Describe the solution you'd like I would like to be able to make a gantt chart which has an x-axis based on integers instead of dates.

Describe alternatives you've considered N.A.

Additional context N.A.

mikima commented 2 years ago

Could you provide a dataset that we can use for testing it? thanks!