Hey,
I am trying to use scaleTime, but I need to be able to “skip” certain parts of time. I have looked into d3fc-discontinuous-scale, but this does not work for what I want to do as it is too laggy specifically when calling transform.rescale
I need to be able to:
- Full zoom
- Ability to get new data and update the chart.
- Draw shapes/objects on the chart and be able to save the timestamps / positions
- Ability to change scale from Years, months, days, minutes etc and have shapes correctly update
I have tried using scaleLinear. This falls apart when trying to do shapes. Why I can save the correct positions if the data exists if I go to a different scale from day to month. The time for the point before wont exist.
ScaleTime works perfectly and d3fc-discontinuous-scale would provide exactly what I need apart from the fact that it lags out when moving left and right. ScaleTime does not have this lag at all and is something to do with the way d3fc calculates the scale of the data.
Is there any better ways of doing this or any way I can improve the performance of this and still provide everything I need.