![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Setting an image to the Back Wall makes the image to appear also in the panel background | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=10&t=15210&p=67446#p67446 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
This code reproduces the problem. Don't forget to put the image at res\drawable @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); createChart(); testLoadImage(); } private TChart tChart1; private void createChart() { LinearLayout layout = (LinearLayout) findViewById(R.id.chart_layout1); tChart1 = new TChart(this); layout.addView(tChart1); } private void testLoadImage() { tChart1.getAspect().setView3D(false); Bitmap bitmapLogo = BitmapFactory.decodeResource( getApplicationContext().getResources(), R.drawable.health_regions_chart); tChart1.getWalls().getBack().getBrush().setImage(new Image(bitmapLogo)); }