class VRule extends Rule
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
timestamp
The timestamp at which to draw the vertical rule
|
color| Constructor and Description |
|---|
VRule(long timestamp,
Paint color,
LegendText legend,
BasicStroke stroke)
Creates a vertical rule at the specified timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
setLegendVisibility(long minval,
long maxval,
boolean forceLegend)
Sets legend visibility based on timestamp range and force setting.
|
VRule(long timestamp,
Paint color,
LegendText legend,
BasicStroke stroke)
timestamp - timestamp in seconds for the rulecolor - color for the rule linelegend - optional legend textstroke - stroke style for the line