Hello,
When I bind the RadChart, I get a chart with 10 bars, but the only X-Axis label is "1", while there is a legend that shows the 10 colors for each bar (column name in database table). I would like to label the X-Axis with the database column names programmatically, and have them correspond to the chart's bars.
I did something like this, but all it did was shove all the data from the db, into "Col1" and left "Col2" blank.
Thanks for Your Assistance
When I bind the RadChart, I get a chart with 10 bars, but the only X-Axis label is "1", while there is a legend that shows the 10 colors for each bar (column name in database table). I would like to label the X-Axis with the database column names programmatically, and have them correspond to the chart's bars.
I did something like this, but all it did was shove all the data from the db, into "Col1" and left "Col2" blank.
<telerik:RadChart ID="RadChart1" runat="server" DataSourceID="edsGrade"> </telerik:RadChart> <asp:EntityDataSource ID="edsGrade" runat="server" ConnectionString="name=BFEntities" DefaultContainerName="BFEntities" EnableFlattening="False" EntitySetName="Grades" EntityTypeFilter="Grade" AutoGenerateWhereClause="True"> <WhereParameters> <asp:Parameter Name="Grades.GradeID"/> </WhereParameters> </asp:EntityDataSource>...RadChart1.PlotArea.XAxis.AddItem("Col1");RadChart1.PlotArea.XAxis.AddItem("Col2");Thanks for Your Assistance