Currently, the whole chart just gets replaced instead of just rewriting the data. Must implement a conditional to check for whether this is the first time the function has been called. If it isn't, then just the chart should be redrawn with new data.
Currently, the whole chart just gets replaced instead of just rewriting the data. Must implement a conditional to check for whether this is the first time the function has been called. If it isn't, then just the chart should be redrawn with new data.