-
Committer:
Kraig Amador
-
Date:
2009-06-18 20:46:13 UTC
-
Revision ID:
kraig@ucla.edu-20090618204613-yiv1dqyt4ylk9fwv
Add 'options' variable to TimeSeries.
This will allow for styling series individually with these new functions.
- dashed: Takes series and optional pixel dash length parameters. This allows you to selectively dash lines on the graph.
- lineWidth: Takes a series and line width. Modifies the line width of these series.
- drawAsInfinite: Takes a series parameter and draws a vertical line at any point where the series is greater than zero. I have used this to plot s
ervice restarts.
Example:
target=lineWidth(drawAsInfinite(service.someservice.start),3) # Draws a thick vertical line where service.someservice.start was > 0 target=dashed(data1), target=dashed(data2,50) # Draws data1 with a default dash seperation of 5 and data2 with a dash seperation of 50