Versions in this module Expand all Collapse all v1 v1.8.0 Sep 9, 2026 v1.7.0 Sep 8, 2026 v1.6.0 Sep 8, 2026 v1.5.0 Sep 8, 2026 Changes in this version + type Labels struct + func (l *Labels) Place(run ir.TextRun, m ir.TextMetrics, move bool) (ir.Point, bool) + func (l *Labels) Reset(area ir.Rect) v1.4.0 Sep 7, 2026 v1.3.0 Sep 7, 2026 Changes in this version type Grid + X2Title string + Y2Title string type GridResult + X2Title ir.Point + Y2Title ir.Point type Panel + X2Labels []string + Y2Labels []string v1.2.0 Sep 7, 2026 v1.1.0 Sep 7, 2026 Changes in this version type Grid + ColWidths []float32 + RowHeights []float32 v1.0.0 Sep 7, 2026 Changes in this version + type Chart struct + Canvas ir.Rect + Guides []Guide + Theme theme.Theme + Title string + XLabels []string + XTitle string + YLabels []string + YTitle string + type Grid struct + Canvas ir.Rect + Cols int + Guides []Guide + Panels []Panel + Rows int + Theme theme.Theme + Title string + XTitle string + YTitle string + type GridResult struct + Areas []ir.Rect + Guides []ir.Rect + Region ir.Rect + RightStrips []ir.Rect + Strips []ir.Rect + TickLabelPad float32 + Title ir.Point + XTitle ir.Point + YTitle ir.Point + func Panels(g Grid, m Measurer) GridResult + type Guide struct + Kind GuideKind + Labels []string + Sizes []float32 + Title string + type GuideKind uint8 + const GuideColorbar + const GuideLegend + const GuideSize + type Measurer interface + Measure func(run ir.TextRun) ir.TextMetrics + type Panel struct + Col int + RightStrip string + Row int + Strip string + XLabels []string + YLabels []string + type Result struct + Guides []ir.Rect + Plot ir.Rect + TickLabelPad float32 + Title ir.Point + XTitle ir.Point + YTitle ir.Point + func Compute(c Chart, m Measurer) Result