func (g *TextGraphics) Rings(wedges []chart.Wedgeinfo, x, y, ro, ri int) { if g.xoff == -1 { g.xoff = int(float64(ro) * (CircleStretchFactor - 1)) // debug.Printf("Shifting center about %d (ro=%d, f=%.2f)", g.xoff, ro, CircleStretchFactor) } for i := range wedges { wedges[i].Style.LineWidth = 1 } chart.GenericRings(g, wedges, x+g.xoff, y, ro, ri, 1.8) }
func (ig *ImageGraphics) Rings(wedges []chart.Wedgeinfo, x, y, ro, ri int) { chart.GenericRings(ig, wedges, x, y, ro, ri, 1) }