Struct flot::Grid
[−]
[src]
pub struct Grid<'a> { /* fields omitted */ }
represents the grid area of the plot
Methods
impl<'a> Grid<'a>
[src]
fn set_option(&mut self, key: &str, val: JsonValue) -> &mut Self
[src]
set any grid option not covered by this API https://github.com/flot/flot/blob/master/API.md#customizing-the-grid
fn hide(&mut self) -> &mut Self
[src]
hide the grid completely
fn color(&mut self, front: &str) -> &mut Self
[src]
foreground colour
fn background_color(&mut self, back: &str) -> &mut Self
[src]
background colour
fn background_gradient(&mut self, bottom: &str, top: &str) -> &mut Self
[src]
background gradient, from bottom colour to top colour