The high-level plotting abstractions.
ChartContext, a thin layer on the top of
DrawingArea, to provide
high-level chart specific drawing functionalities, like, mesh line, coordinate label
and other common components for the data chart.
To draw a series,
ChartContext::draw_series is used to draw a series on the chart.
In Plotters, a series is abstracted as an iterator of elements.
ChartBuilder is used to construct a chart. To learn more detailed information, check the
detailed description for each struct.
The helper object to create a chart context, which is used for the high-level figure drawing. With the help of this object, we can convert a basic drawing area into a chart context, which allows the high-level charting API being used on the drawing area.
The context of the chart. This is the core object of Plotters. Any plot/chart is abstracted as this type, and any data series can be placed to the chart context.
A chart context state - This is the data that is needed to reconstruct the chart context without actually drawing the chart. This is useful when we want to do realtime rendering and want to incrementally update the chart.
The chart context that has two coordinate system attached
The chart state for a dual coord chart, see the detailed description for
The struct that is used for tracking the configuration of a mesh of any chart
The annotations (such as the label of the series, the legend element, etc) When a series is drawn onto a drawing area, an series annotation object is created and a mutable reference is returned.
The struct to specify the series label of a target chart context
The enum used to specify the position of label area.
This is used when we configure the label area size with the API
Describes where we want to put the series label