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 2266

Summary: Other components disappearing when clipping at OnBeforeDrawSeries
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

Description yeray alonso 2019-11-26 05:38:18 EST
Created attachment 924 [details]
test project

Buttons, comboboxes and other charts disappearing when clipping at OnBeforeDrawSeries.

This affects the THighLowSeries, which internally uses OnBeforeDrawSeries to draw High and Low Brushes.

It can also be reproduced with a TLineSeries as in the attached example.

However, the clipping works fine using the LineSeries and doing the clipping calling SaveState, IntersectClipRect and RestoreState directly, which seems to be exactly what TeeChart's ClipRectangle and UnClipRectangle are doing. But only TeeChart's functions are giving problems here.