HorizBoxPlot Issue with only one Datapoint
Posted: Fri Oct 24, 2008 1:26 pm
Hi Narcís,
according to the fixed TF02013240 bug, the same happend with the HorizBox. Other Series i have not tried.
Bye!
according to the fixed TF02013240 bug, the same happend with the HorizBox. Other Series i have not tried.
Code: Select all
TChart chart = new TChart();
this.Controls.Add(chart);
chart.Dock = DockStyle.Fill;
FastLine line1 = new FastLine();
FastLine line2 = new FastLine();
HorizBox box = new HorizBox();
line1.Add(1);
line2.Add(1);
// line2.Add(2); // add this and there is no exception
chart.Series.Add(line1);
chart.Series.Add(line2);
chart.Series.Add(box);
box.DataSource = line1;
box.ReconstructFromData(); // first try: no issue
box.DataSource = line2;
box.ReconstructFromData(); // second try: exception