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

Summary: DrawLine tool doesn't work in Android
Product: Java TeeChart Reporter: yeray alonso <yeray>
Component: AndroidAssignee: 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:

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.