AAChartCore icon indicating copy to clipboard operation
AAChartCore copied to clipboard

自定义图表 `X` 和 `Y` 轴的标题

Open AAChartModel opened this issue 1 year ago • 3 comments

AAChartModel avatar Jun 26 '24 05:06 AAChartModel

参考:

  • https://api.hcharts.cn/highcharts/xAxis.title
  • https://api.hcharts.cn/highcharts/yAxis.title

AAChartModel avatar Jun 26 '24 05:06 AAChartModel

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;
    }
    ...
    ...
}

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

AAChartModel avatar Jun 26 '24 05:06 AAChartModel

image java版本怎么配置

CodeWizardX11 avatar Jun 26 '24 06:06 CodeWizardX11