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 - ScrollPager.setDivisionRatio does not work correctly in Android
Summary: ScrollPager.setDivisionRatio does not work correctly in Android
Status: RESOLVED DUPLICATE of bug 487
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: unspecified
Hardware: Phone Android
: --- blocker
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 13:56 EST by wangxing8192
Modified: 2013-12-03 14:00 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 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 ***