Hi,
I have been trying to add string values to a Multiple Line Chart but with no luck at all.
The last approach was to use the TickPoints.Label which seems to make the most sense but the problem is that even after I have added the Item data to the chart the TickPoints[0] stopping me from editing the data.
itemsSource.Add(data1);
itemsSource.Add(data2);
itemsSource.Add(data3);
itemsSource.Add(data4);
RadChart1.ItemsSource = itemsSource;
string[] months = new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"};
for (int i = 0; i < months.Length; i++)
{
RadChart1.DefaultView.ChartArea.AxisX.TickPoints[i].Label = months[i];
}
Any ideas?
I have been trying to add string values to a Multiple Line Chart but with no luck at all.
The last approach was to use the TickPoints.Label which seems to make the most sense but the problem is that even after I have added the Item data to the chart the TickPoints[0] stopping me from editing the data.
itemsSource.Add(data1);
itemsSource.Add(data2);
itemsSource.Add(data3);
itemsSource.Add(data4);
RadChart1.ItemsSource = itemsSource;
string[] months = new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"};
for (int i = 0; i < months.Length; i++)
{
RadChart1.DefaultView.ChartArea.AxisX.TickPoints[i].Label = months[i];
}
Any ideas?