DHTMLX Docs & Samples Explorer

padding

Chart padding.

Value type: Object

  • top - (string) the top padding
  • bottom - (string) the bottom padding
  • left - (string) the left padding
  • right - (string) the right padding
var chart =  new dhtmlXChart({
	padding:{
			top: 6,
                        left:10
	},
        ...
})

or

chart.define("padding",{
			top: 6,
                        left:10
});