docs/a.js
function(chartInstance, box) {
			if (!chartInstance.boxes) {
				chartInstance.boxes = [];
			}
			chartInstance.boxes.push(box);
		}
function(chartInstance, box) {
			if (!chartInstance.boxes) {
				chartInstance.boxes = [];
			}
			chartInstance.boxes.push(box);
		}
function ( chartInstance , box ) { if ( ! chartInstance . boxes ) { chartInstance . boxes = [ ] ; } chartInstance . boxes . push ( box ) ; }
Register a box to a chartInstance. A box is simply a reference to an object that requires layout. eg. Scales, Legend, Plugins.
Register a box to a chartInstance . A box is simply a reference to an object that requires layout . eg . Scales Legend Plugins .