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 1107 - Dashed lines show as solid in Android
Summary: Dashed lines show as solid in Android
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://stackoverflow.com/questions/28...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 11:27 EST by yeray alonso
Modified: 2015-02-17 07:36 EST (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2015-01-28 11:27:27 EST
Dashed lines work well in Android 2 but they are drawn as solid lines in Android 4 and up.
Comment 1 yeray alonso 2015-02-17 07:36:16 EST
I initially modified the TeeChart sources to disable the Hardware Acceleration internally when a pen is set to DASH style. But setLayerType was implemented in API 11 so, to keep TeeChart support from API 7, I had to remove it and let the developer to do this when necessary.
https://developer.android.com/reference/android/view/View.html#setLayerType%28int,%20android.graphics.Paint%29