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 - Image for the Series Brush in Android
Summary: Image for the Series Brush 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: 2015-01-26 06:53 EST by yeray alonso
Modified: 2015-01-26 06:53 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-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));