Expand description
This module contains predefined types of series.
The series in Plotters is actually an iterator of elements, which
can be taken by ChartContext::draw_series
function.
This module defines some “iterator transformer”, which transform the data iterator to the element iterator.
Any type that implements iterator emitting drawable elements are acceptable series.
So iterator combinator such as map
, zip
, etc can also be used.
Structs§
- An area series is similar to a line series but uses a filled polygon. It takes an iterator of data points in guest coordinate system and creates appropriate lines and points with the given style.
- A dashed line series, map an iterable object to the dashed line element. Can be used to draw simple dashed and dotted lines.
- A dotted line series, map an iterable object to the dotted line element.
- The line series object, which takes an iterator of data points in guest coordinate system and creates appropriate lines and points with the given style.