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 1103

Summary: Image for the Series Brush 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 2015-01-26 06:53:57 EST
This works in SWT:

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

        Area area1 = new Area(tChart1.getChart());
        area1.fillSampleValues();
        area1.getAreaBrush().loadImage("C://tmp//flower.jpg");

But the homolog in Android draws the series without using the image for the brush:

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

        Area area1 = new Area(tChart1.getChart());
	area1.fillSampleValues();
        Bitmap bitmapFlower = BitmapFactory.decodeResource(getApplicationContext().getResources(), R.drawable.flower);
        area1.getAreaBrush().setImage(new Image(bitmapFlower));