SMART datagrid v.1 > Classes > CategorizedAxis

Back  Forward

DataLudi.CategorizedAxis.paddingNear  property

The left (the near side from starting point of axis) margins of area in which will display series items in one category of axis. 

You can specify the right margins by paddingFar, and can also specify the left and right margins at the same time by padding

Defaults to 0.

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