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 - Other components disappearing when clipping at OnBeforeDrawSeries
Summary: Other components disappearing when clipping at OnBeforeDrawSeries
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-26 05:38 EST by yeray alonso
Modified: 2019-11-26 05:38 EST (History)
0 users

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


Attachments
test project (1.90 KB, application/x-zip-compressed)
2019-11-26 05:38 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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.