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 498

Summary: ScrollPager.setDivisionRatio does not work correctly in Android
Product: Java TeeChart Reporter: wangxing8192
Component: AndroidAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: Phone   
OS: Android   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description wangxing8192 2013-12-03 13:56:31 EST
## Description
For Android platform, scrollPager.setDivisionRatio(n) cannot modify the height of the sub chart.
After set division ratio, it seems that the main chart changed size, but the sub chart didn't, and there was only apart of sub chart could be rendered (because the height of whole view is fixed ?) 

## Re-present:
In the Android demo application, modify:
com.steema.teechart.android.ChartView.java: line 877

replace
    new ScrollPager(chart.getChart(), this);
with
    new ScrollPager(chart.getChart(), this).setDivisionRatio(4.0);

Then run the modified demo --> Play TeeChart --> Tools --> Scroll Pager


## Please response quickly
Comment 1 wangxing8192 2013-12-03 14:00:17 EST
Sorry for operation mistake when reporting bug...

*** This bug has been marked as a duplicate of bug 487 ***