Struct flot::Page [] [src]

pub struct Page { /* fields omitted */ }

represents an HTML document containing plots

Methods

impl Page
[src]

[src]

create the page. If the title isn't empty then add a document header (H1) and set title

[src]

create a new plot. If the title isn't empty, then create a header (centered H2) for the plot

[src]

the size in pixels (width,height) of all the plots. Can be overriden with the size method of indivdiual plots.

[src]

render the page as HTML to the given file. Warning: this must absolutely be the last call when creating Flot plots - any attempt to access plot objects after this will lead to tears.