Steema Issues Database

Note: 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.



Bug 1661 - TextSource not throwing unhandled exception in Contour Series FillLevels
Summary: TextSource not throwing unhandled exception in Contour Series FillLevels
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 07:42 EDT by christopher ireland
Modified: 2016-10-20 09:19 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Data source (2.05 KB, text/plain)
2016-10-20 07:42 EDT, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2016-10-20 07:42:51 EDT
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.