* Make the scatterChart to accept function to access data periodically.