This question is locked. New answers and comments are not allowed.
I am handling the RadChart.DataBound event to set the ShotItemlabels to false and the ShowItemToolTips to true, but I am getting a DataSeries = 0 which is causing a crash.
I have a chart declared as a private member in my class:
Here DataSeries[0] = null. Is this how I should set the ShowItemLabels?
Thanks,
--Jeff
I have a chart declared as a private member in my class:
public class TrafficChart : IDomainsTickerChart { private RadChart chart = new RadChart(); ... public void Initialize() { chart.DataBound += new EventHandler<ChartDataBoundEventArgs>(chart_DataBound); ... void chart_DataBound(object sender, Telerik.Windows.Controls.Charting.ChartDataBoundEventArgs e) { chart.DefaultView.ChartArea.DataSeries[0].Definition.ShowItemLabels = false; chart.DefaultView.ChartArea.DataSeries[0].Definition.ShowItemToolTips = true; }
Here DataSeries[0] = null. Is this how I should set the ShowItemLabels?
Thanks,
--Jeff