ContEx v0.3.0 Contex.PlotContent protocol View Source

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

Link to this section Functions

Generates svg content for a legend appropriate for the plot content.

Link to this function

set_size(plot, width, height)

View Source

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.