Module plotters::series

source ·
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.
  • Presents data in a histogram. Input data can be raw or aggregated.
  • 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.
  • The point plot object, which takes an iterator of points in guest coordinate system and create an element for each point
  • Represents functions of two variables.