Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Line Chart Series sharing same X axis
posted

I'm dynamicly creating each series of the chart but it is creating duplicate x axis values.  WHen I tried to create an axis nothing shows at all.  I think the issue may be axis type.Code below

 foreach (Entity l in lsummary.AllEntities)
            {
                CRA_RtCSQsSummary en = new CRA_RtCSQsSummary();
                en = (CRA_RtCSQsSummary)l;
              string queuename=  en.CSQName.ToString();
         
            Infragistics.Silverlight.Chart.Series s = new Infragistics.Silverlight.Chart.Series();
            s.Label = queuename;
            s.ChartType = Infragistics.Silverlight.Chart.ChartType.Line;
            s.DataSource = results.Where(x => x.CSQName == queuename);
            s.DataMapping = "Value=TotalCalls;Label=hour";            
//s.AxisX = "{Binding ElementName=Xaxis}";
            this.xamWebChart1.Series.Add(s);   }
        }
Parents
No Data
Reply Children
No Data