SMART datagrid v.1 > Classes > CategorizedAxis

Back  Forward

DataLudi.CategorizedAxis.padding  property

It sets paddingNear and paddingFar which specify the left and right margins of area in which will display series items in one category of axis as the same value at the same time. 

You cannot get the value. 

Defaults to 0.

Setter
function setPadding(value: Number)
Code -1
    var chartConfig = {
        type: "column",
        xAxes: {
            padding: 0.1
        }
    };
    grid.setOptions({
        headerItems: [{
            type: "chart",
            chart: chartConfig
            }
        }]
    });
See Also
paddingNear
paddingFar
Examples
Group Header Chart
Grid Header Chart