changing how we handle default padding.
This commit is contained in:
parent
630885bd27
commit
0e3d2e9c1f
2 changed files with 47 additions and 1 deletions
2
chart.go
2
chart.go
|
|
@ -323,7 +323,7 @@ func (c Chart) getAxisAdjustedCanvasBox(r Renderer, canvasBox Box, xr, yr, yra R
|
|||
axesOuterBox = axesOuterBox.Grow(axesBounds)
|
||||
}
|
||||
|
||||
return canvasBox.OuterConstrain(c.Box(), axesOuterBox)
|
||||
return canvasBox.OuterConstrain(canvasBox, axesOuterBox)
|
||||
}
|
||||
|
||||
func (c Chart) setRangeDomains(canvasBox Box, xr, yr, yra Range) (xr2, yr2, yra2 Range) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue