-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: polish the options and upgrade gradle
Also add the sample code for local testing usage
- Loading branch information
Showing
41 changed files
with
860 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
echarts4j-project/src/main/java/com/github/koooooo7/echarts4j/option/chart/AngleAxis.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.github.koooooo7.echarts4j.option.chart; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.github.koooooo7.echarts4j.option.embedded.NameTextStyle; | ||
import com.github.koooooo7.echarts4j.option.embedded.NameTruncate; | ||
import com.github.koooooo7.echarts4j.type.FuncStr; | ||
import lombok.Data; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
@SuperBuilder | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class AngleAxis { | ||
private String id; | ||
private Integer polarIndex; | ||
private Integer startAngle; | ||
private Integer endAngle; | ||
private Boolean clockwise; | ||
private String type; | ||
private List<?> data; | ||
private Object boundaryGap; | ||
private FuncStr min; | ||
private FuncStr max; | ||
private Boolean scale; | ||
private Integer splitNumber; | ||
private Integer minInterval; | ||
private Integer maxInterval; | ||
private Integer interval; | ||
private Integer logBase; | ||
private Boolean silent; | ||
private Boolean triggerEvent; | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
echarts4j-project/src/main/java/com/github/koooooo7/echarts4j/option/chart/DataZoom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.github.koooooo7.echarts4j.option.chart; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.github.koooooo7.echarts4j.type.FuncStr; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
import java.util.List; | ||
|
||
public class DataZoom { | ||
|
||
@Data | ||
@Builder | ||
@EqualsAndHashCode(callSuper = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public static class InsideDataZoom extends DataZoom { | ||
private String id; | ||
@Builder.Default | ||
private String type = "inside"; | ||
private Integer start; | ||
private Integer end; | ||
private FuncStr xAxisIndex; | ||
private FuncStr yAxisIndex; | ||
|
||
} | ||
|
||
@Data | ||
@Builder | ||
@EqualsAndHashCode(callSuper = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public static class SliderDataZoom extends DataZoom { | ||
private String id; | ||
@Builder.Default | ||
private String type = "slider"; | ||
private Boolean show; | ||
private Integer start; | ||
private Integer end; | ||
private FuncStr xAxisIndex; | ||
private FuncStr yAxisIndex; | ||
} | ||
|
||
} |
36 changes: 36 additions & 0 deletions
36
echarts4j-project/src/main/java/com/github/koooooo7/echarts4j/option/embedded/MarkArea.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.github.koooooo7.echarts4j.option.embedded; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.github.koooooo7.echarts4j.type.FuncStr; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
|
||
@Data | ||
@Builder | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class MarkArea { | ||
private Boolean silent; | ||
private Label label; | ||
private ItemStyle itemStyle; | ||
private Emphasis emphasis; | ||
private Object data; | ||
private Boolean animation; | ||
|
||
|
||
@Data | ||
@Builder | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public static class MarkAreaDataItem { | ||
private String name; | ||
private String type; | ||
private FuncStr coord; | ||
private Integer x; | ||
private Integer y; | ||
private Integer value; | ||
private ItemStyle itemStyle; | ||
private Label label; | ||
private Emphasis emphasis; | ||
private Boolean animation; | ||
} | ||
} |
Oops, something went wrong.