Versions in this module Expand all Collapse all v1 v1.0.0 Nov 1, 2018 Changes in this version + func ConstructFontSizes(basesize float64) map[chart.FontSize]float64 + type ImageGraphics struct + Image *image.RGBA + func AddTo(img *image.RGBA, x, y, width, height int, bgcol color.RGBA, ...) *ImageGraphics + func New(width, height int, bgcol color.RGBA, font *truetype.Font, ...) *ImageGraphics + func (ig *ImageGraphics) Background() (r, g, b, a uint8) + func (ig *ImageGraphics) Bars(bars []chart.Barinfo, style chart.Style) + func (ig *ImageGraphics) Begin() + func (ig *ImageGraphics) Boxes(boxes []chart.Box, width int, style chart.Style) + func (ig *ImageGraphics) Dimensions() (int, int) + func (ig *ImageGraphics) End() + func (ig *ImageGraphics) FontMetrics(font chart.Font) (fw float32, fh int, mono bool) + func (ig *ImageGraphics) Key(x, y int, key chart.Key, options chart.PlotOptions) + func (ig *ImageGraphics) Line(x0, y0, x1, y1 int, style chart.Style) + func (ig *ImageGraphics) Options() chart.PlotOptions + func (ig *ImageGraphics) Path(x, y []int, style chart.Style) + func (ig *ImageGraphics) Rect(x, y, w, h int, style chart.Style) + func (ig *ImageGraphics) Rings(wedges []chart.Wedgeinfo, x, y, ro, ri int) + func (ig *ImageGraphics) Scatter(points []chart.EPoint, plotstyle chart.PlotStyle, style chart.Style) + func (ig *ImageGraphics) Symbol(x, y int, style chart.Style) + func (ig *ImageGraphics) Text(x, y int, t string, align string, rot int, f chart.Font) + func (ig *ImageGraphics) TextLen(s string, font chart.Font) int + func (ig *ImageGraphics) Wedge(ix, iy, iro, iri int, phi, psi float64, style chart.Style) + func (ig *ImageGraphics) XAxis(xr chart.Range, ys, yms int, options chart.PlotOptions) + func (ig *ImageGraphics) YAxis(yr chart.Range, xs, xms int, options chart.PlotOptions)