Struct flot::Markings
[−]
[src]
pub struct Markings<'a> { /* fields omitted */ }
represents 'markings' or plot annotations.
Methods
impl<'a> Markings<'a>
[src]
fn add_marking(&mut self, val: JsonValue) -> &mut Self
[src]
fn vertical_area(&mut self, p1: f64, p2: f64) -> &mut Self
[src]
vertical band over plot
fn horizontal_area(&mut self, p1: f64, p2: f64) -> &mut Self
[src]
horizontal band over plot
fn vertical_line(&mut self, pos: f64) -> &mut Self
[src]
vertical line at x position
fn horizontal_line(&mut self, pos: f64) -> &mut Self
[src]
horizontal line at y position
fn area(&mut self, x1: f64, x2: f64, y1: f64, y2: f64) -> &mut Self
[src]
rectangular area specified as (x1,x2,y1,y2)
fn color(&mut self, color: &str) -> &mut Self
[src]
set the color of the last marking defined