Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据过多的时候可以加个纵向滑动么?? #50

Closed
AmoyJJ opened this issue Jun 30, 2020 · 2 comments
Closed

数据过多的时候可以加个纵向滑动么?? #50

AmoyJJ opened this issue Jun 30, 2020 · 2 comments
Labels

Comments

@AmoyJJ
Copy link

AmoyJJ commented Jun 30, 2020

No description provided.

@AAChartModel
Copy link
Owner

AAChartModel commented Jun 30, 2020

支持图表的横向和纵向滑动. 具体示例参见 demo 中的 ScrollableChartActivity类示例.

关键内容

                .scrollablePlotArea(
                        new AAScrollablePlotArea()
                                .minWidth(3000)
                                .scrollPositionX(1f)
                )

@AAChartModel
Copy link
Owner

AAScrollablePlotArea类的所有属性如下

    public Integer minHeight;
    public Integer minWidth;
    public Float opacity;
    public Float scrollPositionX;
    public Float scrollPositionY;

各个属性的具体功能,参见官方 API 文档 https://api.highcharts.com/highcharts/chart.scrollablePlotArea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants