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

自定义图表 XY 轴的标题 #196

Open
AAChartModel opened this issue Jun 26, 2024 · 3 comments
Open

自定义图表 XY 轴的标题 #196

AAChartModel opened this issue Jun 26, 2024 · 3 comments

Comments

@AAChartModel
Copy link
Owner

No description provided.

@AAChartModel
Copy link
Owner Author

@AAChartModel
Copy link
Owner Author

public class AATitle {
    ...
    ...
    public String align;
    public String verticalAlign;
    public Number x;
    public Number y;
    public AATitle align(String prop) {
        align = prop;
        return this;
    }

    public AATitle verticalAlign(String prop) {
        verticalAlign = prop;
        return this;
    }

    public AATitle x(Number prop) {
        x = prop;
        return this;
    }

    public AATitle y(Number prop) {
        y = prop;
        return this;
    }
    ...
    ...
}

通过这几个关键属性, 可以自定义轴标题的位置.

@CodeWizardX11
Copy link

image
java版本怎么配置

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

No branches or pull requests

2 participants