View Source Contex.PlotContent protocol (ContEx v0.5.0)
Defines what a charting component needs to implement to be rendered within a Contex.Plot
Link to this section Summary
Functions
Generates svg content for a legend appropriate for the plot content.
Sets the size for the plot content. This is called after the main layout and margin calculations are performed by the container plot.
Generates svg as a string or improper list of strings without the SVG containing element.
Link to this section Types
@type t() :: term()
Link to this section Functions
Generates svg content for a legend appropriate for the plot content.
Sets the size for the plot content. This is called after the main layout and margin calculations are performed by the container plot.
Generates svg as a string or improper list of strings without the SVG containing element.