Articles in this section
Category / Section

How to customize EjChart legend position?

1 min read

EjChart supports customizing the legend position in the chart using 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 the center, far or near the chart.

HTML

<ej:Chart ID="Chart1" runat="server" Width="970" Height="600">
<Legend Visible="true" Alignment="Near" Position="Right"></Legend>
</ej:Chart>

Screenshot

After customized EjChart legend position

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