Edit this page

legend.offsetX Number(default: 0)

The X 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 to the right of it's initial position. A negative value will move the legend to the left of the current position.


        legend: {
            // move the legend to the left side of the chart
            offsetX: 20
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article