Versions in this module Expand all Collapse all v1 v1.0.2 Jan 14, 2024 v1.0.1 Jan 9, 2024 Changes in this version + func BMP(opts ...interface{}) canvas.Writer + func EPS(opts ...interface{}) canvas.Writer + func GIF(opts ...interface{}) canvas.Writer + func JPEG(opts ...interface{}) canvas.Writer + func NewGoChart(writer canvas.Writer) func(int, int) (chart.Renderer, error) + func NewGonumPlot(r canvas.Renderer) draw.Canvas + func PDF(opts ...interface{}) canvas.Writer + func PNG(opts ...interface{}) canvas.Writer + func PS(opts ...interface{}) canvas.Writer + func SVG(opts ...interface{}) canvas.Writer + func SVGZ(opts ...interface{}) canvas.Writer + func TIFF(opts ...interface{}) canvas.Writer + func TeX(opts ...interface{}) canvas.Writer + func Write(filename string, c *canvas.Canvas, opts ...interface{}) error + type GoChart struct + func (r *GoChart) ArcTo(cx, cy int, rx, ry, startAngle, delta float64) + func (r *GoChart) Circle(radius float64, x, y int) + func (r *GoChart) ClearTextRotation() + func (r *GoChart) Close() + func (r *GoChart) Fill() + func (r *GoChart) FillStroke() + func (r *GoChart) GetDPI() float64 + func (r *GoChart) LineTo(x, y int) + func (r *GoChart) MeasureText(body string) chart.Box + func (r *GoChart) MoveTo(x, y int) + func (r *GoChart) QuadCurveTo(cx, cy, x, y int) + func (r *GoChart) ResetStyle() + func (r *GoChart) Save(w io.Writer) error + func (r *GoChart) SetClassName(name string) + func (r *GoChart) SetDPI(dpi float64) + func (r *GoChart) SetFillColor(col drawing.Color) + func (r *GoChart) SetFont(f *truetype.Font) + func (r *GoChart) SetFontColor(col drawing.Color) + func (r *GoChart) SetFontSize(size float64) + func (r *GoChart) SetStrokeColor(col drawing.Color) + func (r *GoChart) SetStrokeDashArray(dashArray []float64) + func (r *GoChart) SetStrokeWidth(width float64) + func (r *GoChart) SetTextRotation(radian float64) + func (r *GoChart) Stroke() + func (r *GoChart) Text(body string, x, y int) + type GonumPlot struct + func (r *GonumPlot) DrawImage(rect vg.Rectangle, img image.Image) + func (r *GonumPlot) Fill(path vg.Path) + func (r *GonumPlot) FillString(f gonumFont.Face, pt vg.Point, text string) + func (r *GonumPlot) Pop() + func (r *GonumPlot) Push() + func (r *GonumPlot) Rotate(rad float64) + func (r *GonumPlot) Scale(x, y float64) + func (r *GonumPlot) SetColor(col color.Color) + func (r *GonumPlot) SetLineDash(pattern []vg.Length, offset vg.Length) + func (r *GonumPlot) SetLineWidth(length vg.Length) + func (r *GonumPlot) Size() (vg.Length, vg.Length) + func (r *GonumPlot) Stroke(path vg.Path) + func (r *GonumPlot) Translate(pt vg.Point)