![]() | 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: | Area series draws line between first/last points | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Brian Kohrs <bkohrs> |
| Component: | .NET 5.0 | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
When executing as a console application, area series draw a line between their first/last point. If you run the same code in a WinForms application, the line is not drawn. Here is some sample code to reproduce it: var chart = new TChart(); var series1 = new Area(); series1.Add(1, 2); series1.Add(2, 3); series1.Add(3, 6); var series2 = new Area(); series2.Add(1, 1); series2.Add(2, 2); series2.Add(3, 5); chart.Series.Add(series1); chart.Series.Add(series2); chart.Export.Image.PNG.Width = 800; chart.Export.Image.PNG.Height = 600; chart.Export.Image.PNG.Save(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "chart.png")); This repository also has projects that demonstrate the issue. https://github.com/jhabkohrs/TeeChartAreaLine