Dependent on what data is passed into the chart, my range selector's positioning is different. Also, another issue is that the range selector REALLY shifts when the chart is redrawn / new data is given to it. Is there a way to keep it from moving?
My problem is demonstrated greatly in this fiddle: https://jsfiddle.net/DoriBro/L8vf2g1x/95/
Tests that show different cases:
1) Having data2 on line 82 and data1 on line 87
2) Having data1 on line 82 and data2 on line 87
3) Having the same data on both line 82 and 87
4) Commenting out the setTimeout function, and seeing the difference in position when you have data1 on line 82 versus having data2 on line 82