legend.offsetY Number(default: 0)

The Y offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from it's initial position. A negative value will move the legend upwards from the current position.


        legend: {
            // move the legend up 100 pixels
            offsetY: -100
In this article