Setting custom gridPadding on charts. The red border indicates the plot target container. By default, the grid will size itself to fit axes, titles, etc. within the plot target. This values will be overridden if a "gridPadding" option is specified.

The default computed gridPadding:


Setting all gridPadding to 0 hides the title under the plot:


If a gridPadding member is null or undefined, the default will be used:


Just specify padding on the sides we need, defaults used for others: