Quartz.Legend (Quartz v0.8.1)

View Source

TODO

Summary

Functions

Builder for a circle with the given options that can be put in a legend.

Draw the legend of a plot. Users won't usually use this directly.

Draw a legend by vertically stacking its components.

Builder for a line with the given options that can be put in a legend.

Builder for a rectangle with the given options that can be put in a legend.

Functions

circle_symbol(opts)

Builder for a circle with the given options that can be put in a legend.

Quartz uses this internally to build labels. Users won't usually use this directly.

draw_legend(plot)

@spec draw_legend(Quartz.Plot2D.t()) :: Quartz.Plot2D.t()

Draw the legend of a plot. Users won't usually use this directly.

draw_vertically_stacked_legend(plot)

@spec draw_vertically_stacked_legend(Quartz.Plot2D.t()) :: Quartz.Plot2D.t()

Draw a legend by vertically stacking its components.

line_symbol(opts)

Builder for a line with the given options that can be put in a legend.

Quartz uses this internally to build labels. Users won't usually use this directly.

rectangle_symbol(opts)

Builder for a rectangle with the given options that can be put in a legend.

Quartz uses this internally to build legend. Users won't usually use this directly.

symbol_for_color(tag, properties)