Versions in this module Expand all Collapse all v0 v0.2.0 Jul 26, 2024 Changes in this version + type BarChart struct + Color color.Color + Horizontal bool + Offset vg.Length + Width float64 + XMin float64 + func NewBarChart(vs plotter.Valuer, width float64) (*BarChart, error) + func (b *BarChart) BarHeight(i int) float64 + func (b *BarChart) DataRange() (xmin, xmax, ymin, ymax float64) + func (b *BarChart) GlyphBoxes(plt *plot.Plot) []plot.GlyphBox + func (b *BarChart) Plot(c draw.Canvas, plt *plot.Plot) + func (b *BarChart) StackOn(on *BarChart) + func (b *BarChart) Thumbnail(c *draw.Canvas) + type GridBoundaries struct + func NewGridBoundaries(grid plotter.GridXYZ) (*GridBoundaries, error) + func (h *GridBoundaries) DataRange() (xMin, xMax, yMin, yMax float64) + func (h *GridBoundaries) GlyphBoxes(plt *plot.Plot) []plot.GlyphBox + func (h *GridBoundaries) Plot(c draw.Canvas, plt *plot.Plot) + type Legend struct + Columns int + Left bool + Padding vg.Length + TextStyle text.Style + ThumbnailWidth vg.Length + Top bool + XOffs vg.Length + YOffs vg.Length + YPosition float64 + func NewLegend() Legend + func (l *Legend) Add(name string, thumbs ...plot.Thumbnailer) + func (l *Legend) AdjustColumns(maxWidth font.Length) + func (l *Legend) Draw(c draw.Canvas) + func (l *Legend) Rectangle(c draw.Canvas) vg.Rectangle