![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | TextSource not throwing unhandled exception in Contour Series FillLevels | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | christopher ireland <chris> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Data source | ||
Created attachment 657 [details] Data source private void InitializeChart() { tChart1.Aspect.View3D = false; Contour series = new Contour(tChart1.Chart); Steema.TeeChart.Data.TextSource ts = new Steema.TeeChart.Data.TextSource(@"D:\Test Projects\ContourBug\ContourBug\DataFillled.txt"); ts.HeaderLines = 1; ts.DecimalSeparator = '.'; ts.Separator = ','; ts.Fields.Add(0, "X"); ts.Fields.Add(1, "Y"); ts.Fields.Add(2, "Z"); ts.Fields.Add(3, "Text"); series.XValues.DataMember = "X"; series.YValues.DataMember = "Y"; series.ZValues.DataMember = "Z"; series.DataSource = ts; series.FillLevels = true; } DataFilled.txt is attached. Note the unhandled exception when resizing the chart. With FillLevels commented out, the TextSource performs as expected.