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