AAChartModel / AAChartCore

📈📊☕️☕️☕️An elegant modern declarative data visualization chart framework for Android. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.极其精美而又强大的 Android 数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
Apache License 2.0
921 stars 129 forks source link

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

Open AAChartModel opened 3 months ago

AAChartModel commented 3 months ago

参考:

AAChartModel commented 3 months ago
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;
    }
    ...
    ...
}

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

qizhengzheng commented 3 months ago

image java版本怎么配置