Versions in this module Expand all Collapse all v0 v0.1.0 Sep 24, 2026 Changes in this version + const PlotPaddingPercent + func NewPlotter(tr Transformer) *plotter + func NewRenderer(msg *pb.PlotFeature) *renderer + func Scale(rx, ry float64) *scaleTransformer + func Translate(dx, dy float64) *translateTransformer + type Autoscaler struct + Padding Percent + func (scaler *Autoscaler) Scale(xmin, xmax float64) (float64, float64) + type AxesConfig struct + X AxisConfig + Y AxisConfig + type Axis struct + Guides *Path + Labels []Text + Line *Path + type AxisConfig struct + Height int + Padding int + TickWidth int + Width int + X int + Y int + type Graph struct + Height int + Width int + X int + Y int + type HTMLTemplateData struct + Graph *Graph + Path *Path + Title string + ViewBox *ViewBox + X *Axis + Y *Axis + type JSTemplateData struct + Quotes XQuote + type Path struct + Commands []PathCommand + func (p Path) String() string + type PathCommand interface + type PathLineCommand struct + func (cmd PathLineCommand) String() string + type PathMoveCommand struct + func (cmd PathMoveCommand) String() string + type Percent float64 + type PlotConfig struct + Axes AxesConfig + ViewBox ViewBoxConfig + type PlotInfo struct + Path *Path + Quotes XQuote + Ymax float64 + Ymin float64 + type Point struct + X int + Y int + func (p Point) String() string + type Quote struct + Cents int32 + UnixTime int64 + type TemplateData struct + type Text struct + Val string + X int + Y int + type Transformer interface + Transform func(x, y float64) (newx, newy float64) + func WithTransformer(t Transformer, opts ...Transformer) Transformer + type ViewBox struct + Height int + Width int + func (vb *ViewBox) String() string + type ViewBoxConfig struct + Height int + Width int + type XQuote map[int]*Quote