wjc
2024-12-04 0bf583d6fa50fc4ab1eb4dd55c968e6333c9640c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package com.github.AAChartModel.AAChartCore.AAOptionsModel;
 
public class AALegend {
    public String layout; //图例数据项的布局。布局类型: "horizontal" 或 "vertical" 即水平布局和垂直布局 默认是:horizontal.
    public String align; //设定图例在图表区中的水平对齐方式,合法值有left,center 和 right。
    public String verticalAlign; //设定图例在图表区中的垂直对齐方式,合法值有 top,middle 和 bottom。垂直位置可以通过 y 选项做进一步设定。
    public Boolean enabled;
    public String borderColor;
    public Number borderWidth;
    public Number itemMarginTop; //图例的每一项的顶部外边距,单位px。 默认是:0.
    public AAItemStyle itemStyle;
    public Number symbolHeight;
    public Number symbolPadding;
    public Number symbolRadius;
    public Number symbolWidth;
    public Number x;
    public Number y;
    public Boolean floating;
    public String labelFormat;
 
    public AALegend layout(String prop) {
        layout = prop;
        return this;
    }
 
    public AALegend align(String prop) {
        align = prop;
        return this;
    }
 
    public AALegend verticalAlign(String prop) {
        verticalAlign = prop;
        return this;
    }
 
    public AALegend enabled(Boolean prop) {
        enabled = prop;
        return this;
    }
 
    public AALegend borderColor(String prop) {
        borderColor = prop;
        return this;
    }
 
    public AALegend BorderWidth(Number prop) {
        borderWidth = prop;
        return this;
    }
 
    public AALegend itemMarginTop(Number prop) {
        itemMarginTop = prop;
        return this;
    }
 
    public AALegend itemStyle(AAItemStyle prop) {
        itemStyle = prop;
        return this;
    }
 
    public AALegend symbolHeight(Number prop) {
        symbolHeight = prop;
        return this;
    }
 
    public AALegend symbolPadding(Number prop) {
        symbolPadding = prop;
        return this;
    }
 
    public AALegend symbolRadius(Number prop) {
        symbolRadius = prop;
        return this;
    }
 
    public AALegend symbolWidth(Number prop) {
        symbolWidth = prop;
        return this;
    }
 
    public AALegend x(Number prop) {
        x = prop;
        return this;
    }
 
    public AALegend y(Number prop) {
        y = prop;
        return this;
    }
 
    public AALegend floating(Boolean prop) {
        floating = prop;
        return this;
    }
 
    public AALegend labelFormat(String prop) {
        labelFormat = prop;
        return this;
    }
 
 
 
}