Skip to content

Commit 159f9d3

Browse files
committed
删除重复属性.已经通过测试,兼容以前代码.
1 parent d572e4f commit 159f9d3

File tree

4 files changed

+0
-148
lines changed

4 files changed

+0
-148
lines changed

src/main/java/com/github/abel533/echarts/DataZoom.java

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
* @author liuzh
3333
*/
3434
public class DataZoom extends Basic<DataZoom> implements Component {
35-
/**
36-
* 是否显示,当show为true时则接管使用指定类目轴的全部系列数据,如不指定则接管全部直角坐标系数据
37-
*/
38-
private Boolean show;
3935
/**
4036
* 布局方式,默认为水平布局,可选为:'horizontal' | 'vertical'
4137
*/
@@ -81,23 +77,6 @@ public class DataZoom extends Basic<DataZoom> implements Component {
8177
*/
8278
private Boolean showDetail;
8379

84-
/**
85-
* 获取show值
86-
*/
87-
public Boolean show() {
88-
return this.show;
89-
}
90-
91-
/**
92-
* 设置show值
93-
*
94-
* @param show
95-
*/
96-
public DataZoom show(Boolean show) {
97-
this.show = show;
98-
return this;
99-
}
100-
10180
/**
10281
* 获取orient值
10382
*/
@@ -285,22 +264,6 @@ public DataZoom showDetail(Boolean showDetail){
285264
return this;
286265
}
287266

288-
/**
289-
* 获取show值
290-
*/
291-
public Boolean getShow() {
292-
return show;
293-
}
294-
295-
/**
296-
* 设置show值
297-
*
298-
* @param show
299-
*/
300-
public void setShow(Boolean show) {
301-
this.show = show;
302-
}
303-
304267
/**
305268
* 获取orient值
306269
*/

src/main/java/com/github/abel533/echarts/Toolbox.java

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ public class Toolbox extends Basic<Toolbox> implements Component {
4141
* 启用功能,目前支持feature见下,工具箱自定义功能回调处理
4242
*/
4343
private Map<String, Feature> feature;
44-
/**
45-
* 默认false,显示策略,可选为:true(显示) | false(隐藏)
46-
*/
47-
private Boolean show;
4844
/**
4945
* 布局方式,默认为水平布局,可选为:'horizontal' | 'vertical'
5046
*
@@ -82,23 +78,6 @@ public Toolbox color(List<Object> color) {
8278
return this;
8379
}
8480

85-
/**
86-
* 获取show值
87-
*/
88-
public Boolean show() {
89-
return this.show;
90-
}
91-
92-
/**
93-
* 设置show值
94-
*
95-
* @param show
96-
*/
97-
public Toolbox show(Boolean show) {
98-
this.show = show;
99-
return this;
100-
}
101-
10281
/**
10382
* 获取orient值
10483
*/
@@ -310,22 +289,6 @@ public void setFeature(Map<String, Feature> feature) {
310289
this.feature = feature;
311290
}
312291

313-
/**
314-
* 获取show值
315-
*/
316-
public Boolean getShow() {
317-
return show;
318-
}
319-
320-
/**
321-
* 设置show值
322-
*
323-
* @param show
324-
*/
325-
public void setShow(Boolean show) {
326-
this.show = show;
327-
}
328-
329292
/**
330293
* 获取orient值
331294
*/

src/main/java/com/github/abel533/echarts/Tooltip.java

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
* @author liuzh
3232
*/
3333
public class Tooltip extends Basic<Tooltip> implements Component {
34-
/**
35-
* 显示策略,可选为:true(显示) | false(隐藏)
36-
*/
37-
private Boolean show;
3834
/**
3935
* tooltip主体内容显示策略,只需tooltip触发事件或显示axisPointer而不需要显示内容时可配置该项为falase,
4036
* 可选为:true(显示) | false(隐藏)
@@ -105,23 +101,6 @@ public Tooltip textStyle(TextStyle textStyle) {
105101
return this;
106102
}
107103

108-
/**
109-
* 获取show值
110-
*/
111-
public Boolean show() {
112-
return this.show;
113-
}
114-
115-
/**
116-
* 设置show值
117-
*
118-
* @param show
119-
*/
120-
public Tooltip show(Boolean show) {
121-
this.show = show;
122-
return this;
123-
}
124-
125104
/**
126105
* 获取showContent值
127106
*/
@@ -297,22 +276,6 @@ public TextStyle textStyle() {
297276
return this.textStyle;
298277
}
299278

300-
/**
301-
* 获取show值
302-
*/
303-
public Boolean getShow() {
304-
return show;
305-
}
306-
307-
/**
308-
* 设置show值
309-
*
310-
* @param show
311-
*/
312-
public void setShow(Boolean show) {
313-
this.show = show;
314-
}
315-
316279
/**
317280
* 获取showContent值
318281
*/

src/main/java/com/github/abel533/echarts/series/Series.java

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
* @author liuzh
3838
*/
3939
public abstract class Series<T> extends AbstractData<T> implements Chart {
40-
/**
41-
* 是否可点击,默认开启
42-
*/
43-
private Boolean clickable;
4440
/**
4541
* 是否启用图例(legend)hover时的联动响应(高亮显示)
4642
*/
@@ -165,23 +161,6 @@ public Series markLine(MarkLine markLine) {
165161
return this;
166162
}
167163

168-
/**
169-
* 获取clickable值
170-
*/
171-
public Boolean clickable() {
172-
return this.clickable;
173-
}
174-
175-
/**
176-
* 设置clickable值
177-
*
178-
* @param clickable
179-
*/
180-
public T clickable(Boolean clickable) {
181-
this.clickable = clickable;
182-
return (T) this;
183-
}
184-
185164
/**
186165
* 获取legendHoverLink值
187166
*
@@ -412,22 +391,6 @@ public T showAllSymbol(Boolean showAllSymbol) {
412391
return (T) this;
413392
}
414393

415-
/**
416-
* 获取clickable值
417-
*/
418-
public Boolean getClickable() {
419-
return clickable;
420-
}
421-
422-
/**
423-
* 设置clickable值
424-
*
425-
* @param clickable
426-
*/
427-
public void setClickable(Boolean clickable) {
428-
this.clickable = clickable;
429-
}
430-
431394
/**
432395
* 获取legendHoverLink值
433396
*

0 commit comments

Comments
 (0)