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§
- Area
Series area_series
- 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.
- Dashed
Line Series line_series
- A dashed line series, map an iterable object to the dashed line element. Can be used to draw simple dashed and dotted lines.
- Dotted
Line Series line_series
- A dotted line series, map an iterable object to the dotted line element.
- Histogram
histogram
- Presents data in a histogram. Input data can be raw or aggregated.
- Line
Series line_series
- 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.
- Point
Series point_series
- The point plot object, which takes an iterator of points in guest coordinate system and create an element for each point
- Surface
Series surface_series
- Represents functions of two variables.