Padding Configuration
Reference External Link
Padding values in Chart options can be supplied in a couple of different formats.
Number
If this value is a number, it is applied to all sides (left, top, right, bottom). External Link
.Padding(20)Object {top, left, bottom, right}
If this value is an object, the left property defines the left padding. Similarly, the right, top and bottom properties can also be specified. Omitted properties default to 0. External Link
.Padding(p => p.Left(5).Right(10).Top(20).Bottom(15))Object {x, y}
This is a shorthand for defining left/right and top/bottom to the same values. External Link
.Padding(p => p.X(5).Y(10))