- 2 minutes to read
This topic describes how to customize the legend appearance at design time.
You can customize the appearance of the ASP.NET Chart Control's legend in a variety of ways - as described below.
- Use the Legend.MarkerVisible property to show or hide item markers within the legend.
- Use the Legend.MarkerSize property to define the size of the legend markers (in pixels).
- To use check boxes and/or markers in all legend items, set the Legend.MarkerMode property to the MarkerAndCheckBoxes or CheckBoxesAndMarkers value.
- Use the Legend.Visibility property to control the visibility of the legend itself.
In addition, you can customize the appearance of the legend's borders and shadow.