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