I might be missing something vital, however it seems like the this.hasData reflects the initial condition of the data.
So when the chart is initialized with empty arrays then nothing is plotted. addPoint does however not alter the state of hasData - so nothing will ever be rendered.
I might be missing something vital, however it seems like the this.hasData reflects the initial condition of the data. So when the chart is initialized with empty arrays then nothing is plotted. addPoint does however not alter the state of hasData - so nothing will ever be rendered.
Am I right so far?