mac
2024-04-22 89e91f91b49676be534eb0005d02beae7b8343ba
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
/**
//  AASeriesElement.java
//  AAChartCore
//
//  Created by anan on 2018/4/16..
//  Copyright © 2018年 An An. All rights reserved.
 
 * ◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉ ...... SOURCE CODE ......◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉
 * ◉◉◉...................................................       ◉◉◉
 * ◉◉◉   https://github.com/AAChartModel/AAChartCore            ◉◉◉
 * ◉◉◉   https://github.com/AAChartModel/AAChartCore-Kotlin     ◉◉◉
 * ◉◉◉...................................................       ◉◉◉
 * ◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉ ...... SOURCE CODE ......◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉
 
 
 * -------------------------------------------------------------------------------
 *
 *  🌕 🌖 🌗 🌘  ❀❀❀   WARM TIPS!!!   ❀❀❀ 🌑 🌒 🌓 🌔
 *
 * Please contact me on GitHub,if there are any problems encountered in use.
 * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues
 * -------------------------------------------------------------------------------
 * And if you want to contribute for this project, please contact me as well
 * GitHub        : https://github.com/AAChartModel
 * StackOverflow : https://stackoverflow.com/users/7842508/codeforu
 * JianShu       : http://www.jianshu.com/u/f1e6753d4254
 * SegmentFault  : https://segmentfault.com/u/huanghunbieguan
 *
 * -------------------------------------------------------------------------------
 
 */
 
package com.github.AAChartModel.AAChartCore.AAChartCreator;
 
import com.github.AAChartModel.AAChartCore.AAOptionsModel.AADataLabels;
import com.github.AAChartModel.AAChartCore.AAOptionsModel.AAMarker;
import com.github.AAChartModel.AAChartCore.AAOptionsModel.AAShadow;
import com.github.AAChartModel.AAChartCore.AAOptionsModel.AATooltip;
import com.github.AAChartModel.AAChartCore.AAOptionsModel.AAZonesElement;
 
/**
 * Created by anan on 2018/4/16.
 */
 
public class AASeriesElement {
 
    private String type;
    private Boolean allowPointSelect;
    private String name;
    private Object[] data;
    private Number lineWidth;//折线图、曲线图、直方折线图、折线填充图、曲线填充图、直方折线填充图的线条宽度
    private String borderColor; //The border color, It is only valid for column, bar, pie, columnrange, pyramid and funnel chart types
    private Number borderWidth; //The border width, It is only valid for column, bar, pie, columnrange, pyramid and funnel chart types
    private Number borderRadius; //The corner radius of the border surrounding each column or bar.
    private Object borderRadiusTopLeft;
    private Object borderRadiusTopRight;
    private Object borderRadiusBottomLeft;
    private Object borderRadiusBottomRight;
    private Object color;
    private Object fillColor;
    private Number fillOpacity;//折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色透明度
    private Number threshold;//The threshold, also called zero level or base level. For line type series this is only used in conjunction with negativeColor. default:0.
    private String negativeColor;// The color for the parts of the graph or points that are below the threshold
    private Object negativeFillColor;
    private Object size;
    private Object innerSize;
    private String dashStyle;
    private Integer yAxis;
    private AADataLabels dataLabels;
    private AAMarker marker;
    private Object step;
    private Object states;
    private Boolean colorByPoint;
    private Integer zIndex;
    private AAZonesElement[] zones;
    private String zoneAxis;
    private AAShadow shadow;
    private String stack;
    private AATooltip tooltip;
    private Boolean showInLegend;
    private Boolean enableMouseTracking;
    private Boolean reversed;
    private String id;
    private Boolean connectNulls;
 
    public AASeriesElement type(String prop) {
        type = prop;
        return this;
    }
 
    public AASeriesElement allowPointSelect(Boolean prop) {
        allowPointSelect = prop;
        return this;
    }
 
    public AASeriesElement name(String prop) {
        name = prop;
        return this;
    }
 
    public AASeriesElement data(Object[] prop) {
        data = prop;
        return this;
    }
 
    public AASeriesElement lineWidth(Number prop) {
        lineWidth = prop;
        return this;
    }
 
    public AASeriesElement borderColor(String prop) {
        borderColor = prop;
        return this;
    }
 
    public AASeriesElement borderWidth(Number prop) {
        borderWidth = prop;
        return this;
    }
 
    public AASeriesElement borderRadius(Number prop) {
        borderRadius = prop;
        return this;
    }
 
    public AASeriesElement borderRadiusTopLeft(Object prop) {
        borderRadiusTopLeft = prop;
        return this;
    }
 
    public AASeriesElement borderRadiusTopRight(Object prop) {
        borderRadiusTopRight = prop;
        return this;
    }
 
    public AASeriesElement borderRadiusBottomLeft(Object prop) {
        borderRadiusBottomLeft = prop;
        return this;
    }
 
    public AASeriesElement borderRadiusBottomRight(Object prop) {
        borderRadiusBottomRight = prop;
        return this;
    }
 
    public AASeriesElement color(Object prop) {
        color = prop;
        return this;
    }
 
    public AASeriesElement fillColor(Object prop) {
        fillColor = prop;
        return this;
    }
 
    public AASeriesElement fillOpacity(Number prop) {
        fillOpacity = prop;
        return this;
    }
 
    public AASeriesElement threshold(Number prop) {
        threshold = prop;
        return this;
    }
 
    public AASeriesElement negativeColor(String prop) {
        negativeColor = prop;
        return this;
    }
 
    public AASeriesElement negativeFillColor(Object prop) {
        negativeFillColor = prop;
        return this;
    }
 
    public AASeriesElement size(Object prop) {
        size = prop;
        return this;
    }
 
    public AASeriesElement innerSize(Object prop) {
        innerSize = prop;
        return this;
    }
 
    public AASeriesElement dashStyle(String prop) {
        dashStyle = prop;
        return this;
    }
 
    public AASeriesElement yAxis(Integer prop) {
        yAxis = prop;
        return this;
    }
 
    public AASeriesElement dataLabels(AADataLabels prop) {
        dataLabels = prop;
        return this;
    }
 
    public AASeriesElement marker(AAMarker prop) {
        marker = prop;
        return this;
    }
 
    public AASeriesElement step(Object prop) {
        step = prop;
        return this;
    }
 
    public AASeriesElement states(Object prop) {
        states = prop;
        return this;
    }
 
    public AASeriesElement colorByPoint(Boolean prop) {
        colorByPoint = prop;
        return this;
    }
 
    public AASeriesElement zIndex(Integer prop) {
        zIndex = prop;
        return this;
    }
 
    public AASeriesElement zones(AAZonesElement[] prop) {
        zones = prop;
        return this;
    }
 
    public AASeriesElement zoneAxis(String prop) {
        zoneAxis = prop;
        return this;
    }
 
    public AASeriesElement shadow(AAShadow prop) {
        shadow = prop;
        return this;
    }
 
    public AASeriesElement stack(String prop) {
        stack = prop;
        return this;
    }
 
    public AASeriesElement tooltip(AATooltip prop) {
        tooltip = prop;
        return this;
    }
 
    public AASeriesElement showInLegend(Boolean prop) {
        showInLegend = prop;
        return this;
    }
 
    public AASeriesElement enableMouseTracking(Boolean prop) {
        enableMouseTracking = prop;
        return this;
    }
 
    public AASeriesElement reversed(Boolean prop) {
        reversed = prop;
        return this;
    }
 
    public AASeriesElement id(String prop) {
        id = prop;
        return this;
    }
 
    public AASeriesElement connectNulls(Boolean prop) {
        connectNulls = prop;
        return this;
    }
 
}