Versions in this module Expand all Collapse all v0 v0.0.2 May 11, 2026 v0.0.1 Apr 30, 2026 Changes in this version + func DrawColorBar(cv canvas.Canvas, spec ColorBarSpec, x, y, barH float64, th theme.Theme) + func DrawColorBarHorizontal(cv canvas.Canvas, spec ColorBarSpec, x, y, barW float64, th theme.Theme) + func DrawGrid(cv canvas.Canvas, xScale, yScale scale.Scale, x, y, w, h float64, ...) + func DrawLegend(cv canvas.Canvas, title string, entries []LegendEntry, x, y float64, ...) + func DrawLegendHorizontal(cv canvas.Canvas, title string, entries []LegendEntry, x, y, maxW float64, ...) + func DrawXAxis(cv canvas.Canvas, sc scale.Scale, label string, x, y, w float64, ...) + func DrawYAxis(cv canvas.Canvas, sc scale.Scale, label string, x, y, h float64, ...) + type ColorBarSpec struct + Cmap colormap.Cmap + Norm colormap.Norm + Title string + type LegendEntry struct + Color gg.RGBA + Label string