padding

Specifies the text offset to its surrounding border, given that the border is visible:

seriesSettings: {
    spline: {
        dataPointText: {
            enabled: true,            
            borderColor: "green",
            borderWidth: 5,
            borderRadius: 5,
            padding: 12
        }
    }
}

This setting is demonstrated in the following example.