As the main purpose of RadHtmlChart
's Legend is to show information which is connected with the displayed data, there is no property which allows populating custom legend items.
property is specific for PieSeries
, but you can achieve the same appearance in BarSeries
by setting their Name
Specifying a Name
property for a series creates an "item" in the legend. Note that this property is used for setting series' names explicitly and the NameField
property is its equivalent in a databind scenario.
I also attach a sample page where I have databound a ColumnSeries
and set its Name property, so you can check my suggestions. Feel free to contact me if you need any further assistance.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed