Information to Legend
With the legend, you can easily know what each bar, or line or pie or column stands for. So what is legend? Legend is the symbol and text used to offer some extra information about the chart. And if one chart has several data series, we may usually use the legend to specify each data series with a color-coded symbol and a name.
As for the style and position of the chart legend, the KaxChart control offers various properties for you to fully customize the legend settings. And in this online tutorial, we will offer you sample asp.net programming code to guide you add customized legend to chart. Besides adding, you can also remove, edit, order, resize the lagend in the web chart control. Legend Properties
Following four properties are used to help you modify and customize the settings of chart legend element.
Here we offer a programming example which will show you how to use above mentioned legend properties in aspx web page.
We also provide the C# sample code to help you define the basic legned properties.
Define Legend Layout
The layout of chart legend element covers several aspects, including legend label sizing dimensions, legend position and the symbol of legend. To specify these setting values, the chart legend will redraw to show with differet style and appearance.
Here we also attach a programming example for you to customize the legend layout in aspx web page.
If you want set legend layout property in aspx.cs class using C# code, it's also supported.
Related Chart Legend Element Articles
If you want to set the chart element properties using C#.NET programming code, you can visit Setting chart legend properties using c#. | ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control OverviewGetting StartedChart Element DiagramSeriesAxesLegend CaptionTickData GridChart Type Bar ChartPoint ChartLine ChartPie ChartArea ChartGantt ChartBubble ChartBezier ChartSpline ChartSpline Area ChartCandle Chart Chart With StackedFull Stacked ChartFeatures Automatic LayoutAutomatic Text-wrappingScrollingEmpty ValuesScale BreakMultiline LabelsWise LabelsMarking AreasMultiple TypesInteractiveDrill DownShadowEdtingData Binding Array DataList DataDatabase DataXML DataChart Style Chart SkinASP.NET AJAX Grid UI Control |