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 LinePen not rendering correctly with a specific dataset. | ||
---|---|---|---|
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 | ||
URL: | https://steema.com/support/viewtopic.php?f=4&t=17883 | ||
Chart Series: | Area | Delphi / C++ Builder RAD IDE Version: | |
Attachments: |
Project to reproduce issue
reproducible in version 4.0.2009.62332 |
Created attachment 1045 [details]
reproducible in version 4.0.2009.62332
Screenshot showing that this issue is reproducible in version 4.0.2009.62332.
diff --git a/TeeChart/Styles/Custom.cs b/TeeChart/Styles/Custom.cs index 0c361f56..6a1695ac 100644 --- a/TeeChart/Styles/Custom.cs +++ b/TeeChart/Styles/Custom.cs @@ -3518,11 +3518,12 @@ System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.Desi { if (drawArea && IsAreaGradRelative()) { - return ((IgnoreNull() || (DoNotPaintNull() && drawArea)) || !IsNull(valueIndex)); + return IgnoreNull() || (DoNotPaintNull() && drawArea) || !IsNull(valueIndex); } else { - return ((x != OldX) || (y != OldY)) && ((IgnoreNull() || (DoNotPaintNull() && drawArea)) || !IsNull(valueIndex)); + var diff = x != OldX || y != OldY; + return diff && (IgnoreNull() || (DoNotPaintNull() && drawArea)) || !IsNull(valueIndex); } } |
Created attachment 1044 [details] Project to reproduce issue Using the project attached and zooming the chart we can see that the Area's LinePen is not rendering correctly.