The above charts are databound to a SqlDataSource Control.
The first chart shows how to displays the results from different categories, groupped by the category name. The X axis labels show the corresponding years.
The RadChart1.Legend.Appearance.GroupNameFormat is set to "#VALUE" so the legend items display the actual category name. More details about this property are available in
this help topic.
The second chart shows how to display values in a pie chart. ItemDataBound event
is wired and each item's Name property is assigned. This value is then shown in
the legend.
Both charts' datasource controls have a ControlParameter, serving to filter the results according to the corresponding DropDownList selection.