Hello,
I'm trying to implement live data chart with d3.js.
The problem is that each day data comes from 9AM to 9PM and I have really big gap between days as on interval from 9PM to 9AM I have no data.
I was searching through the forum for the answer and one of solutions is to use ordinal scale instead time scale.But it looks like that such approach doesn't work for me as data is not consistent and there could be situations that i have point at 9:00,10:00,11:20,12:45 etc and I need
to display those points accordingly to exact time(not in equal interval as ordinal scale does).
Another issue is that on hover I need to display value for exact date but ordinal scale doesn't have invert as time scale does.
Also there is problem that data is aggregated and not all points are displayed,but on time axis ticks should be equally displayed according to aggregation(every hour,every 2 hours,every 30 minutes)
What I need to achieve is the chart for two days which displays data on time scale but ignores night time(9PM to 9AM)
Does any one has idea how to implement such functionality.Would be thankfull for any help.
