This is the most relevant file. Contains all of the Dygraphs specific handling. 99% is the same as example 3. Additional
code added to load and set annotations. In a non-demo system these annotations could be loaded from server and any
number of other ways. The appropriate granularity would be use-case specific. The only caveat is that the annotation.x
value must align exactly to an existing x value in the graphed data set.
Responsible for getting range and detail data from the server/simulator and then aggregating,splicing, and
converting it for dygraphs. This file is shared with example 1 & 2 & 3.