What is legend used for? The element legend owns the ability to specify the representing meaning of each data series with a preset symbol and a name. And the legend element can be visible or invisible in the chart.
How to add a custom legend to chart using C# programming code? The KaxChart control allows users to modify and set many properties of the legend, like position, size, spacing, color, text and symbol style. And from this online tutorial, you will find detailed C# programming example for customizing the chart legend in ASP.NET application. Legend Properties
Following four properties are used to help you modify and customize the settings of chart legend element. Changing the legend lable attributes to edit the style and appearance to distinguish the multiple series data surface.
Here we offer a programming example which will show you how to use above mentioned legend properties using C# code.
C# Code for Legend Layout
The layout of chart legend element covers several aspects, including legend sizing dimensions, legend position and the symbol of legend.
Here we also attach a programming example for you to customize the legend layout using C# code.
Here we also attach a programming example for you to customize the legend layout using C# code. | ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control OverviewGetting StartedChart Element DiagramSeriesAxesLegendCaptionTickData 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 |