plotters

Module 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 use a filled polygon
  • The line series object, which takes an iterator of points in guest coordinate system and creates the element rendering the line plot