Articles in this section
Category / Section

How to customize EjChart legend's position and alignment?

1 min read

EjChart allows you to customize the legend position in the chart using the legend properties “position” and “alignment”.

  • Position- To move the legend to the top, bottom, left or right side of the chart.
  • Alignment- To align the legend in center, far and near of the chart.


    legend: { position:"right", alignment: "near”}


JS Playground Link: Legend Position


Customization of legend's position and alignment

Figure 1: EjChart

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied