Chart displays 2 series
Posted: Wed Aug 10, 2011 6:13 am
Support,
I'm currently using TeeChart WPF.
I've created a chart and set the following properties for the chart:
Additionally, I have another method that adds the series for me:
I keep getting two series, one of them is correct i.e. as per added data. However, the other highlighted in the red box below is invalid. I just want the one series as per the added data. What am I doing wrong?
I'm currently using TeeChart WPF.
I've created a chart and set the following properties for the chart:
Code: Select all
this.chart.Aspect.View3D = false;
this.chart.Legend.CheckBoxes = true;
this.chart.Legend.Alignment = LegendAlignments.Top;
this.chart.Header.Visible = false;
Code: Select all
public void AddSeries(double[] xValues, double[] yValues)
{
//var line = new Steema.TeeChart.WPF.Styles.Line();
var line = new Steema.TeeChart.WPF.Styles.Points();
line.Add(xValues, yValues);
chart.Series.Add(line);
}