Dynamic Data Example - ArrayDataHandler

Properties and Methods Demonstrated

  • Series.reload()
  • ArrayDataHandler.setArray()

Desired Result

The following example demonstrates the Series reload() method and the ArrayDataHandler setArray() method. Every second, the array data set is updated by adding a new random value to the end and removing a point from the beginning. The series is then reloaded with the new data set.

Source Code

    Rendering Source Code...