7 # - 0 to enable the chart
8 # - 1 to disable the chart
14 # create the chart with 3 dimensions
16 CHART example.random '' "Random Numbers Stacked Chart" "% of random numbers" random random stacked 5000 $example_update_every
17 DIMENSION random1 '' percentage-of-absolute-row 1 1
18 DIMENSION random2 '' percentage-of-absolute-row 1 1
19 DIMENSION random3 '' percentage-of-absolute-row 1 1
26 # the first argument to this function is the microseconds since last update
27 # pass this parameter to the BEGIN statement (see bellow).
29 # do all the work to collect / calculate the values
31 # remember: KEEP IT SIMPLE AND SHORT
37 # write the result of the work.
39 BEGIN example.random $1