Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita7c56ee

Browse files
Update config and correspondin class (#96)
* update config and corresponding source class* add class* add class
1 parenta120985 commita7c56ee

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

‎scripts/config/org/icepear/echarts/origin/data/helper/data-transform-config-option.json‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@
77
"name":"dimension",
88
"types": ["String"]
99
},
10+
{
11+
"name":"order",
12+
"types": ["String"]
13+
},
1014
{
1115
"name":"value",
1216
"types": ["Number","String","Date"]
1317
}
1418
],
1519
"comments": [
16-
"https://echarts.apache.org/examples/en/editor.html?c=data-transform-multiple-pie"
20+
"https://echarts.apache.org/examples/en/editor.html?c=data-transform-multiple-pie",
21+
"https://echarts.apache.org/examples/en/editor.html?c=data-transform-sort-bar"
1722
]
1823
}

‎src/main/java/org/icepear/echarts/components/dataset/DataTransformConfig.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ public class DataTransformConfig implements DataTransformConfigOption, Serializa
1717

1818
privateStringdimension;
1919

20+
privateStringorder;
21+
2022
@Setter(AccessLevel.NONE)
2123
privateObjectvalue;
2224

23-
privateStringorder;
24-
2525
publicDataTransformConfigsetValue(Numbervalue) {
2626
this.value =value;
2727
returnthis;

‎src/main/java/org/icepear/echarts/origin/data/helper/DataTransformConfigOption.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
/**
44
* https://echarts.apache.org/examples/en/editor.html?c=data-transform-multiple-pie
5+
* https://echarts.apache.org/examples/en/editor.html?c=data-transform-sort-bar
56
*/
67
publicinterfaceDataTransformConfigOption {
78

89
DataTransformConfigOptionsetDimension(Stringdimension);
910

11+
DataTransformConfigOptionsetOrder(Stringorder);
12+
1013
DataTransformConfigOptionsetValue(Numbervalue);
1114

1215
DataTransformConfigOptionsetValue(Objectvalue);
1316

1417
DataTransformConfigOptionsetValue(Stringvalue);
15-
16-
DataTransformConfigOptionsetOrder(Stringorder);
1718
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp