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 2219 - Access violation exporting chart with TSeriesBandTool to pdf
Summary: Access violation exporting chart with TSeriesBandTool to pdf
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Export (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-05 09:42 EDT by Bert Kreisel
Modified: 2023-03-15 15:12 EDT (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Kreisel 2019-08-05 09:42:11 EDT
Exporting a chart with an TSeriesBandTool causes an access violation if the the TSeriesBandTool property 

Condition = bcLower or if that works if
Condition = bcHigher.

This depends on the data in series1 and series2.
Comment 1 david berneda 2023-03-15 15:04:20 EDT
I could reproduce the AV when the setting is bcLower.
Fixing the bug.
Comment 2 david berneda 2023-03-15 15:12:18 EDT
The fix is at TeePDFCanvas.pas unit, procedure TPDFCanvas.Polygon:

begin
  if Length(Points)>0 then  // Protect against empty point array #2219
...