The data (including dates) are in order, so I don’t understand why it looks like it’s trying to draw points in the middle after the last points. Why is this happening?
Ha! That’s weird, and I’ll look into why that happened (thanks!). Two quick things, though:
i) does/should Plotly not order line graphs by date anyway?
ii) what about the situation I mentioned in my second post, where every now and then (perhaps every 25th reload) it does render as expected, then, when I press refresh (without changing anything), it reverts to the weird formatting?
So, embarrassingly, I now can’t replicate it either. I genuinely spent about an hour with this problem yesterday, but it seems to have gone now, and I haven’t changed anything in the way mongodb was sorting the data. This makes me feel pretty stupid (which, fortunately, is something I’m used to)…
Anyway, I guess I can stop bothering you now. Thanks so much for your help, and have a great weekend!