Skip to content

Align legend width plot area

This demo shows how we can use events to set legend’s dx setting, to automatically align it to the left side of the chart’s plot container.

Open in CodePen