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 1737

Summary: Xamarin.Android: having several charts in a ScrollView draws them over the actionbar
Product: .NET TeeChart Reporter: yeray alonso <yeray>
Component: AndroidAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: pep
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

Description yeray alonso 2017-01-02 08:20:16 EST
The attached application has a toolbar/actionBar and uses appcompat to support older android APIs.

If you create several charts in a ScrollView and you scroll it, the charts are drawn over the actionBar.

Problem reproduced with x86 emulators from API 15 to 23.
Works fine with x86 emulator API 24.
Works fine with ARM emulator API 10.

The legend visibility affects the behaviour; if you hide it, the problem doesn't appear in those emulators where it did.

A workaround is to disable the Hardware Acceleration. Ie:

        if (Build.VERSION.SdkInt > BuildVersionCodes.GingerbreadMr1)
          chart.SetLayerType(LayerType.Software, null);
Comment 1 yeray alonso 2017-01-31 06:42:38 EST
Created attachment 703 [details]
test project