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 1551 - DrawLine tool doesn't work in Android
Summary: DrawLine tool doesn't work in Android
Status: CONFIRMED
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-31 03:22 EDT by yeray alonso
Modified: 2016-05-31 03:42 EDT (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 2016-05-31 03:22:09 EDT
The application crashes with an "A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr ..." error.

I believe this has something to do with drawing manually at the main thread, while Android has to control the drawing thread.
Comment 1 yeray alonso 2016-05-31 03:42:34 EDT
You can do this to create a series and the DrawLine tool:

    tChart1.getHeader().setVisible(false);
    tChart1.getAspect().setView3D(false);
    tChart1.getLegend().setVisible(false);

    final Candle candle1 = new Candle(tChart1.getChart());
    candle1.fillSampleValues();

    DrawLine drawLine1 = new DrawLine(tChart1.getChart());

However, as soon as you touch the screen and the first line tries to be drawn, the application crashes.

The same works perfectly fine in Swing and SWT.