Hi,
I have create a
RadChart based on a datatable that has 2 columns "XValue" and "YValue".
Dim
seriesMapping2 As New SeriesMapping
seriesMapping2.SeriesDefinition =
New BarSeriesDefinition
Dim itemMapping2 As New ItemMapping
itemMapping2.DataPointMember = DataPointMember.YValue
itemMapping2.FieldName =
"YValue"
seriesMapping2.ItemMappings.Add(itemMapping2)
RadChart1.SeriesMappings.Add(seriesMapping2)
When i execute the chart, the X axis labels values are 1,2,3, .... and i would like to put here the values of "XValue" column on my datatable. How can i do it?
Also, If I try to put string values to "YValue" column in mi datatable, the chart fails, that is, only numeric values can be put as source of a serie?.
Thanks a lot.