初始化

This commit is contained in:
2023-06-25 15:39:36 +08:00
parent ac484fb546
commit 24fcb37150
452 changed files with 29655 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.bar.BarSeries;
public class Bar extends CartesianCoordChart<Bar, BarSeries> {
public Bar() {
super(Bar.class, BarSeries.class);
}
@Override
public BarSeries createSeries() {
return new BarSeries().setType("bar");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.boxplot.BoxplotSeries;
public class Boxplot extends CartesianCoordChart<Boxplot, BoxplotSeries> {
public Boxplot() {
super(Boxplot.class, BoxplotSeries.class);
}
@Override
protected BoxplotSeries createSeries() {
return new BoxplotSeries().setType("boxplot");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.candlestick.CandlestickSeries;
public class Candlestick extends CartesianCoordChart<Candlestick, CandlestickSeries> {
public Candlestick() {
super(Candlestick.class, CandlestickSeries.class);
}
@Override
public CandlestickSeries createSeries() {
return new CandlestickSeries().setType("candlestick");
}
}

View File

@@ -0,0 +1,95 @@
package org.icepear.echarts;
import org.icepear.echarts.components.coord.cartesian.CategoryAxis;
import org.icepear.echarts.components.coord.cartesian.LogAxis;
import org.icepear.echarts.components.coord.cartesian.TimeAxis;
import org.icepear.echarts.components.coord.cartesian.ValueAxis;
import org.icepear.echarts.origin.coord.cartesian.AxisOption;
import org.icepear.echarts.origin.util.SeriesOption;
import java.util.ArrayList;
import java.util.List;
public abstract class CartesianCoordChart<T extends Chart<?, ?>, E extends SeriesOption> extends Chart<T, E> {
protected List<AxisOption> xAxes;
protected List<AxisOption> yAxes;
public CartesianCoordChart(final Class<T> clazz, final Class<E> seriesClazz) {
super(clazz, seriesClazz);
xAxes = new ArrayList<>();
yAxes = new ArrayList<>();
}
@Override
public Option getOption() {
return super.getOption()
.setXAxis(xAxes.toArray(new AxisOption[0]))
.setYAxis(yAxes.toArray(new AxisOption[0]));
}
public T addXAxis() {
xAxes.add(createValueAxis());
return self;
}
public T addXAxis(String name) {
xAxes.add(createValueAxis().setName(name));
return self;
}
public T addXAxis(String[] data) {
xAxes.add(createCategoryAxis().setData(data));
return self;
}
public T addXAxis(String name, String[] data) {
xAxes.add(createCategoryAxis().setName(name).setData(data));
return self;
}
public T addXAxis(AxisOption xAxis) {
xAxes.add(xAxis);
return self;
}
public T addYAxis() {
yAxes.add(createValueAxis());
return self;
}
public T addYAxis(String name) {
yAxes.add(createValueAxis().setName(name));
return self;
}
public T addYAxis(String[] data) {
yAxes.add(createCategoryAxis().setData(data));
return self;
}
public T addYAxis(String name, String[] data) {
yAxes.add(createCategoryAxis().setName(name).setData(data));
return self;
}
public T addYAxis(AxisOption yAxis) {
yAxes.add(yAxis);
return self;
}
protected CategoryAxis createCategoryAxis() {
return new CategoryAxis().setType("category");
}
protected ValueAxis createValueAxis() {
return new ValueAxis().setType("value");
}
protected LogAxis createLogAxis() {
return new LogAxis().setType("log");
}
protected TimeAxis createTimeAxis() {
return new TimeAxis().setType("time");
}
}

View File

@@ -0,0 +1,145 @@
package org.icepear.echarts;
import org.icepear.echarts.components.dataset.Dataset;
import org.icepear.echarts.components.legend.Legend;
import org.icepear.echarts.components.title.Title;
import org.icepear.echarts.components.tooltip.Tooltip;
import org.icepear.echarts.components.visualMap.ContinousVisualMap;
import org.icepear.echarts.origin.component.visualMap.VisualMapOption;
import org.icepear.echarts.origin.util.SeriesOption;
import java.util.ArrayList;
import java.util.List;
public abstract class Chart<T extends Chart<?, ?>, E extends SeriesOption> {
protected final T self;
protected final Class<E> seriesClazz;
protected List<Dataset> datasets;
protected List<SeriesOption> series;
protected Option option;
public Chart(final Class<T> clazz, final Class<E> seriesClazz) {
self = clazz.cast(this);
this.seriesClazz = seriesClazz;
datasets = new ArrayList<>();
series = new ArrayList<>();
option = new Option();
}
public Option getOption() {
if (datasets.size() > 0) {
option.setDataset(datasets.toArray(new Dataset[0]));
}
option.setSeries(series.toArray(new SeriesOption[0]));
return option;
}
public T setTitle(String text) {
option.setTitle(new Title().setText(text));
return self;
}
public T setTitle(Title title) {
option.setTitle(title);
return self;
}
public T setLegend() {
option.setLegend(new Legend());
return self;
}
public T setLegend(Legend legend) {
option.setLegend(legend);
return self;
}
public T setTooltip(String trigger) {
option.setTooltip(new Tooltip().setTrigger(trigger));
return self;
}
public T setTooltip(Tooltip tooltip) {
option.setTooltip(tooltip);
return self;
}
public T addDataset(Object[] source) {
datasets.add(new Dataset().setSource(source));
return self;
}
public T addDataset(Object[][] source) {
datasets.add(new Dataset().setSource(source));
return self;
}
public T addDataset(Object[][][] source) {
datasets.add(new Dataset().setSource(source));
return self;
}
public T addDataset(Dataset dataset) {
datasets.add(dataset);
return self;
}
public T setVisualMap(Number min, Number max) {
option.setVisualMap(new ContinousVisualMap().setMin(min).setMax(max));
return self;
}
public T setVisualMap(VisualMapOption visualMap) {
option.setVisualMap(visualMap);
return self;
}
public T addSeries(Object[] data) {
this.series.add(createSeries(data));
return self;
}
public T addSeries(Object[][] data) {
this.series.add(createSeries(data));
return self;
}
public T addSeries(Object[][][] data) {
this.series.add(createSeries(data));
return self;
}
public T addSeries(String name, Object[] data) {
this.series.add(createSeries(name, data));
return self;
}
public T addSeries(String name, Object[][] data) {
this.series.add(createSeries(name, data));
return self;
}
public T addSeries(String name, Object[][][] data) {
this.series.add(createSeries(name, data));
return self;
}
public T addSeries(E series) {
this.series.add(createSeries(series));
return self;
}
protected abstract E createSeries();
protected E createSeries(Object data) {
return seriesClazz.cast(createSeries().setData(data));
}
protected E createSeries(String name, Object data) {
return seriesClazz.cast(createSeries(data).setName(name));
}
protected E createSeries(E series) {
return series;
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.funnel.FunnelSeries;
public class Funnel extends Chart<Funnel, FunnelSeries> {
public Funnel() {
super(Funnel.class, FunnelSeries.class);
}
@Override
public FunnelSeries createSeries() {
return new FunnelSeries().setType("funnel");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.gauge.GaugeSeries;
public class Gauge extends Chart<Gauge, GaugeSeries> {
public Gauge() {
super(Gauge.class, GaugeSeries.class);
}
@Override
public GaugeSeries createSeries() {
return new GaugeSeries().setType("gauge");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.graph.GraphSeries;
public class Graph extends Chart<Graph, GraphSeries> {
public Graph() {
super(Graph.class, GraphSeries.class);
}
@Override
public GraphSeries createSeries() {
return new GraphSeries().setType("graph");
}
}

View File

@@ -0,0 +1,27 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.heatmap.HeatmapSeries;
import org.icepear.echarts.components.coord.SplitArea;
import org.icepear.echarts.components.coord.cartesian.CategoryAxis;
import org.icepear.echarts.components.coord.cartesian.ValueAxis;
public class Heatmap extends CartesianCoordChart<Heatmap, HeatmapSeries> {
public Heatmap() {
super(Heatmap.class, HeatmapSeries.class);
}
@Override
protected CategoryAxis createCategoryAxis() {
return super.createCategoryAxis().setSplitArea(new SplitArea().setShow(true));
}
@Override
protected ValueAxis createValueAxis() {
return super.createValueAxis().setSplitArea(new SplitArea().setShow(true));
}
@Override
protected HeatmapSeries createSeries() {
return new HeatmapSeries().setType("heatmap");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.line.LineSeries;
public class Line extends CartesianCoordChart<Line, LineSeries> {
public Line() {
super(Line.class, LineSeries.class);
}
@Override
protected LineSeries createSeries() {
return new LineSeries().setType("line");
}
}

View File

@@ -0,0 +1,550 @@
package org.icepear.echarts;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.component.axisPointer.AxisPointerOption;
import org.icepear.echarts.origin.component.dataZoom.DataZoomOption;
import org.icepear.echarts.origin.component.dataset.DatasetOption;
import org.icepear.echarts.origin.component.legend.LegendOption;
import org.icepear.echarts.origin.component.title.TitleOption;
import org.icepear.echarts.origin.component.toolbox.ToolboxOption;
import org.icepear.echarts.origin.component.tooltip.TooltipOption;
import org.icepear.echarts.origin.component.visualMap.VisualMapOption;
import org.icepear.echarts.origin.coord.cartesian.AxisOption;
import org.icepear.echarts.origin.coord.cartesian.GridOption;
import org.icepear.echarts.origin.coord.parallel.ParallelAxisOption;
import org.icepear.echarts.origin.coord.polar.AngleAxisOption;
import org.icepear.echarts.origin.coord.polar.PolarOption;
import org.icepear.echarts.origin.coord.polar.RadiusAxisOption;
import org.icepear.echarts.origin.coord.radar.RadarOption;
import org.icepear.echarts.origin.coord.single.SingleAxisOption;
import org.icepear.echarts.origin.export.EChartsOption;
import org.icepear.echarts.origin.util.ComponentOption;
import org.icepear.echarts.origin.util.ECUnitOption;
import org.icepear.echarts.origin.util.MediaUnitOption;
import org.icepear.echarts.origin.util.SeriesOption;
@Accessors(chain = true)
@Data
public class Option implements EChartsOption {
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public Option setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public Option setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public Option setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public Option setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public Option setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public Option setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public Option setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public Option setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public Option setColor(String color) {
this.color = color;
return this;
}
public Option setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object baseOption;
public Option setBaseOption(ECUnitOption baseOption) {
this.baseOption = baseOption;
return this;
}
public Option setBaseOption(EChartsOption baseOption) {
this.baseOption = baseOption;
return this;
}
public Option setBaseOption(Object baseOption) {
this.baseOption = baseOption;
return this;
}
@Setter(AccessLevel.NONE)
private Object options;
public Option setOptions(ECUnitOption[] options) {
this.options = options;
return this;
}
public Option setOptions(EChartsOption[] options) {
this.options = options;
return this;
}
public Option setOptions(Object options) {
this.options = options;
return this;
}
@Setter(AccessLevel.NONE)
private Object media;
public Option setMedia(MediaUnitOption[] media) {
this.media = media;
return this;
}
public Option setMedia(Object media) {
this.media = media;
return this;
}
@Setter(AccessLevel.NONE)
private Object timeline;
public Option setTimeline(ComponentOption timeline) {
this.timeline = timeline;
return this;
}
public Option setTimeline(ComponentOption[] timeline) {
this.timeline = timeline;
return this;
}
public Option setTimeline(Object timeline) {
this.timeline = timeline;
return this;
}
private String backgroundColor;
@Setter(AccessLevel.NONE)
private Object darkMode;
public Option setDarkMode(Boolean darkMode) {
this.darkMode = darkMode;
return this;
}
public Option setDarkMode(String darkMode) {
this.darkMode = darkMode;
return this;
}
private Object textStyle;
private Boolean useUTC;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object dataset;
public Option setDataset(DatasetOption dataset) {
this.dataset = dataset;
return this;
}
public Option setDataset(DatasetOption[] dataset) {
this.dataset = dataset;
return this;
}
private Object aria;
@Setter(AccessLevel.NONE)
private Object title;
public Option setTitle(TitleOption title) {
this.title = title;
return this;
}
public Option setTitle(TitleOption[] title) {
this.title = title;
return this;
}
@Setter(AccessLevel.NONE)
private Object grid;
public Option setGrid(GridOption grid) {
this.grid = grid;
return this;
}
public Option setGrid(GridOption[] grid) {
this.grid = grid;
return this;
}
@Setter(AccessLevel.NONE)
private Object radar;
public Option setRadar(RadarOption radar) {
this.radar = radar;
return this;
}
public Option setRadar(RadarOption[] radar) {
this.radar = radar;
return this;
}
@Setter(AccessLevel.NONE)
private Object polar;
public Option setPolar(PolarOption polar) {
this.polar = polar;
return this;
}
public Option setPolar(PolarOption[] polar) {
this.polar = polar;
return this;
}
@Setter(AccessLevel.NONE)
private Object geo;
public Option setGeo(Object geo) {
this.geo = geo;
return this;
}
public Option setGeo(Object[] geo) {
this.geo = geo;
return this;
}
@Setter(AccessLevel.NONE)
private Object angleAxis;
public Option setAngleAxis(AngleAxisOption angleAxis) {
this.angleAxis = angleAxis;
return this;
}
public Option setAngleAxis(AngleAxisOption[] angleAxis) {
this.angleAxis = angleAxis;
return this;
}
@Setter(AccessLevel.NONE)
private Object radiusAxis;
public Option setRadiusAxis(RadiusAxisOption radiusAxis) {
this.radiusAxis = radiusAxis;
return this;
}
public Option setRadiusAxis(RadiusAxisOption[] radiusAxis) {
this.radiusAxis = radiusAxis;
return this;
}
@Setter(AccessLevel.NONE)
private Object xAxis;
public Option setXAxis(AxisOption xAxis) {
this.xAxis = xAxis;
return this;
}
public Option setXAxis(AxisOption[] xAxis) {
this.xAxis = xAxis;
return this;
}
@Setter(AccessLevel.NONE)
private Object yAxis;
public Option setYAxis(Object yAxis) {
this.yAxis = yAxis;
return this;
}
public Option setYAxis(Object[] yAxis) {
this.yAxis = yAxis;
return this;
}
@Setter(AccessLevel.NONE)
private Object singleAxis;
public Option setSingleAxis(SingleAxisOption singleAxis) {
this.singleAxis = singleAxis;
return this;
}
public Option setSingleAxis(SingleAxisOption[] singleAxis) {
this.singleAxis = singleAxis;
return this;
}
//*****************3D***start
@Setter(AccessLevel.NONE)
private Object xAxis3D;
public Option setXAxis3D(AxisOption xAxis3D) {
this.xAxis3D = xAxis3D;
return this;
}
public Option setXAxis3D(AxisOption[] xAxis3D) {
this.xAxis3D = xAxis3D;
return this;
}
@Setter(AccessLevel.NONE)
private Object yAxis3D;
public Option setYAxis3D(Object yAxis3D) {
this.yAxis3D = yAxis3D;
return this;
}
public Option setYAxis3D(Object[] yAxis3D) {
this.yAxis3D = yAxis3D;
return this;
}
@Setter(AccessLevel.NONE)
private Object zAxis3D;
public Option setZAxis3D(Object zAxis3D) {
this.zAxis3D = zAxis3D;
return this;
}
public Option setZAxis3D(Object[] zAxis3D) {
this.zAxis3D = zAxis3D;
return this;
}
@Setter(AccessLevel.NONE)
private Object grid3D;
public Option setGrid3D(Object grid3D) {
this.grid3D = grid3D;
return this;
}
public Option setGrid3D(Object[] grid3D) {
this.grid3D = grid3D;
return this;
}
//*****************3D***end
@Setter(AccessLevel.NONE)
private Object parallel;
public Option setParallel(Object parallel) {
this.parallel = parallel;
return this;
}
public Option setParallel(Object[] parallel) {
this.parallel = parallel;
return this;
}
@Setter(AccessLevel.NONE)
private Object parallelAxis;
public Option setParallelAxis(ParallelAxisOption parallelAxis) {
this.parallelAxis = parallelAxis;
return this;
}
public Option setParallelAxis(ParallelAxisOption[] parallelAxis) {
this.parallelAxis = parallelAxis;
return this;
}
@Setter(AccessLevel.NONE)
private Object calendar;
public Option setCalendar(Object calendar) {
this.calendar = calendar;
return this;
}
public Option setCalendar(Object[] calendar) {
this.calendar = calendar;
return this;
}
@Setter(AccessLevel.NONE)
private Object toolbox;
public Option setToolbox(ToolboxOption toolbox) {
this.toolbox = toolbox;
return this;
}
public Option setToolbox(ToolboxOption[] toolbox) {
this.toolbox = toolbox;
return this;
}
@Setter(AccessLevel.NONE)
private Object tooltip;
public Option setTooltip(TooltipOption tooltip) {
this.tooltip = tooltip;
return this;
}
public Option setTooltip(TooltipOption[] tooltip) {
this.tooltip = tooltip;
return this;
}
@Setter(AccessLevel.NONE)
private Object axisPointer;
public Option setAxisPointer(AxisPointerOption axisPointer) {
this.axisPointer = axisPointer;
return this;
}
public Option setAxisPointer(AxisPointerOption[] axisPointer) {
this.axisPointer = axisPointer;
return this;
}
@Setter(AccessLevel.NONE)
private Object brush;
public Option setBrush(Object brush) {
this.brush = brush;
return this;
}
public Option setBrush(Object[] brush) {
this.brush = brush;
return this;
}
@Setter(AccessLevel.NONE)
private Object legend;
public Option setLegend(LegendOption legend) {
this.legend = legend;
return this;
}
public Option setLegend(LegendOption[] legend) {
this.legend = legend;
return this;
}
@Setter(AccessLevel.NONE)
private Object dataZoom;
public Option setDataZoom(DataZoomOption dataZoom) {
this.dataZoom = dataZoom;
return this;
}
public Option setDataZoom(DataZoomOption[] dataZoom) {
this.dataZoom = dataZoom;
return this;
}
@Setter(AccessLevel.NONE)
private Object visualMap;
public Option setVisualMap(VisualMapOption visualMap) {
this.visualMap = visualMap;
return this;
}
public Option setVisualMap(VisualMapOption[] visualMap) {
this.visualMap = visualMap;
return this;
}
@Setter(AccessLevel.NONE)
private Object graphic;
public Option setGraphic(Object graphic) {
this.graphic = graphic;
return this;
}
public Option setGraphic(Object[] graphic) {
this.graphic = graphic;
return this;
}
@Setter(AccessLevel.NONE)
private Object series;
public Option setSeries(SeriesOption series) {
this.series = series;
return this;
}
public Option setSeries(SeriesOption[] series) {
this.series = series;
return this;
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.parallel.ParallelSeries;
public class Parallel extends ParallelCoordChart<Parallel, ParallelSeries> {
public Parallel() {
super(Parallel.class, ParallelSeries.class);
}
@Override
public ParallelSeries createSeries() {
return new ParallelSeries().setType("parallel");
}
}

View File

@@ -0,0 +1,65 @@
package org.icepear.echarts;
import org.icepear.echarts.components.coord.parallel.CategoryParallelAxis;
import org.icepear.echarts.components.coord.parallel.LogParallelAxis;
import org.icepear.echarts.components.coord.parallel.TimeParallelAxis;
import org.icepear.echarts.components.coord.parallel.ValueParallelAxis;
import org.icepear.echarts.origin.coord.parallel.ParallelAxisOption;
import org.icepear.echarts.origin.util.SeriesOption;
import java.util.ArrayList;
import java.util.List;
public abstract class ParallelCoordChart<T extends Chart<?, ?>, E extends SeriesOption> extends Chart<T, E> {
protected List<ParallelAxisOption> parallelAxes;
public ParallelCoordChart(final Class<T> clazz, final Class<E> seriesClazz) {
super(clazz, seriesClazz);
parallelAxes = new ArrayList<>();
}
public Option getOption() {
return super.getOption().setParallelAxis(parallelAxes.toArray(new ParallelAxisOption[0]));
}
public T addParallelAxis(Number dim) {
parallelAxes.add(new ValueParallelAxis().setDim(dim));
return self;
}
public T addParallelAxis(String name, Number dim) {
parallelAxes.add(new ValueParallelAxis().setName(name).setDim(dim));
return self;
}
public T addParallelAxis(Number dim, String[] data) {
parallelAxes.add(createCategoryParallelAxis().setDim(dim).setData(data));
return self;
}
public T addParallelAxis(String name, Number dim, String[] data) {
parallelAxes.add(createCategoryParallelAxis().setName(name).setDim(dim).setData(data));
return self;
}
public T addParallelAxis(ParallelAxisOption parallelAxis) {
parallelAxes.add(parallelAxis);
return self;
}
protected CategoryParallelAxis createCategoryParallelAxis() {
return new CategoryParallelAxis().setType("category");
}
protected ValueParallelAxis createValueParallelAxis() {
return new ValueParallelAxis().setType("value");
}
protected LogParallelAxis createLogParallelAxis() {
return new LogParallelAxis().setType("log");
}
protected TimeParallelAxis createTimeParallelAxis() {
return new TimeParallelAxis().setType("time");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.pie.PieSeries;
public class Pie extends Chart<Pie, PieSeries> {
public Pie() {
super(Pie.class, PieSeries.class);
}
@Override
protected PieSeries createSeries() {
return new PieSeries().setType("pie");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.bar.BarSeries;
public class PolarBar extends PolarCoordChart<PolarBar, BarSeries> {
public PolarBar() {
super(PolarBar.class, BarSeries.class);
}
@Override
protected BarSeries createSeries() {
return new BarSeries().setType("bar").setCoordinateSystem("polar");
}
}

View File

@@ -0,0 +1,68 @@
package org.icepear.echarts;
import org.icepear.echarts.components.coord.polar.*;
import org.icepear.echarts.origin.coord.polar.AngleAxisOption;
import org.icepear.echarts.origin.coord.polar.RadiusAxisOption;
import org.icepear.echarts.origin.util.SeriesOption;
public abstract class PolarCoordChart<T extends Chart<?, ?>, E extends SeriesOption> extends Chart<T, E> {
public PolarCoordChart(final Class<T> clazz, final Class<E> seriesClazz) {
super(clazz, seriesClazz);
option.setPolar(new PolarAxis());
}
public T setPolarAxis() {
option.setPolar(new PolarAxis());
return self;
}
public T setPolarAxis(String[] radius) {
option.setPolar(new PolarAxis().setRadius(radius));
return self;
}
public T setPolarAxis(PolarAxis polarAxis) {
option.setPolar(polarAxis);
return self;
}
public T setAngleAxis() {
option.setAngleAxis(new CategoryAngleAxis());
return self;
}
public T setAngleAxis(Number max) {
option.setAngleAxis(new ValueAngleAxis().setMax(max));
return self;
}
public T setAngleAxis(String[] categories) {
option.setAngleAxis(new CategoryAngleAxis().setData(categories));
return self;
}
public T setAngleAxis(AngleAxisOption angleAxis) {
option.setAngleAxis(angleAxis);
return self;
}
public T setRadiusAxis() {
option.setRadiusAxis(new ValueRadiusAxis());
return self;
}
public T setRadiusAxis(Number max) {
option.setRadiusAxis(new ValueRadiusAxis().setMax(max));
return self;
}
public T setRadiusAxis(String[] categories) {
option.setRadiusAxis(new CategoryRadiusAxis().setData(categories));
return self;
}
public T setRadiusAxis(RadiusAxisOption radiusAxis) {
option.setRadiusAxis(radiusAxis);
return self;
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.line.LineSeries;
public class PolarLine extends PolarCoordChart<PolarLine, LineSeries> {
public PolarLine() {
super(PolarLine.class, LineSeries.class);
}
@Override
protected LineSeries createSeries() {
return new LineSeries().setType("line").setCoordinateSystem("polar");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.scatter.ScatterSeries;
public class PolarScatter extends PolarCoordChart<PolarScatter, ScatterSeries> {
public PolarScatter() {
super(PolarScatter.class, ScatterSeries.class);
}
@Override
protected ScatterSeries createSeries() {
return new ScatterSeries().setType("scatter").setCoordinateSystem("polar");
}
}

View File

@@ -0,0 +1,13 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.radar.RadarSeries;
public class Radar extends RadarCoordChart<Radar, RadarSeries> {
public Radar() {
super(Radar.class, RadarSeries.class);
}
public RadarSeries createSeries() {
return new RadarSeries().setType("radar");
}
}

View File

@@ -0,0 +1,21 @@
package org.icepear.echarts;
import org.icepear.echarts.components.coord.radar.RadarAxis;
import org.icepear.echarts.components.coord.radar.RadarIndicator;
import org.icepear.echarts.origin.util.SeriesOption;
public abstract class RadarCoordChart<T extends Chart<?, ?>, E extends SeriesOption> extends Chart<T, E> {
public RadarCoordChart(final Class<T> clazz, final Class<E> seriesClazz) {
super(clazz, seriesClazz);
}
public T setRadarAxis(RadarIndicator[] indicators) {
option.setRadar(new RadarAxis().setIndicator(indicators));
return self;
}
public T setRadarAxis(RadarAxis radarAxis) {
option.setRadar(radarAxis);
return self;
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.sankey.SankeySeries;
public class Sankey extends Chart<Sankey, SankeySeries> {
public Sankey() {
super(Sankey.class, SankeySeries.class);
}
@Override
public SankeySeries createSeries() {
return new SankeySeries().setType("sankey");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.scatter.ScatterSeries;
public class Scatter extends CartesianCoordChart<Scatter, ScatterSeries> {
public Scatter() {
super(Scatter.class, ScatterSeries.class);
}
@Override
protected ScatterSeries createSeries() {
return new ScatterSeries().setType("scatter");
}
}

View File

@@ -0,0 +1,15 @@
package org.icepear.echarts;
import org.icepear.echarts.origin.coord.single.SingleAxisOption;
import org.icepear.echarts.origin.util.SeriesOption;
public abstract class SingleCoordChart<T extends Chart<?, ?>, E extends SeriesOption> extends Chart<T, E> {
public SingleCoordChart(final Class<T> clazz, final Class<E> seriesClazz) {
super(clazz, seriesClazz);
}
public T setSingleAxis(SingleAxisOption singleAxis) {
option.setSingleAxis(singleAxis);
return self;
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.sunburst.SunburstSeries;
public class Sunburst extends Chart<Sunburst, SunburstSeries> {
public Sunburst() {
super(Sunburst.class, SunburstSeries.class);
}
@Override
public SunburstSeries createSeries() {
return new SunburstSeries().setType("sunburst");
}
}

View File

@@ -0,0 +1,47 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.bar3D.Bar3DSeries;
import org.icepear.echarts.components.coord.SplitLine;
import org.icepear.echarts.components.coord.cartesian.CategoryAxis;
import org.icepear.echarts.components.coord.cartesian.ValueAxis;
import org.icepear.echarts.components.grid3D.Grid3D;
import org.icepear.echarts.components.grid3D.ViewControl;
import org.icepear.echarts.components.inRange.InRange;
import org.icepear.echarts.components.series.LineStyle;
import org.icepear.echarts.components.title.Title;
import org.icepear.echarts.components.visualMap.ContinousVisualMap;
import org.icepear.echarts.origin.util.SeriesOption;
import org.icepear.echarts.render.Engine;
/**
* @author hongawen
* @version 1.0.0
* @date 2023年06月25日 14:27
*/
public class Test3DBar {
private final static Engine ENGINE = new Engine();
public static void main(String[] args) {
Option option3D = new Option();
option3D.setBackgroundColor("#fff");
option3D.setTitle(new Title().setText("暂降密度图").setX("center"));
option3D.setVisualMap(new ContinousVisualMap().setMax(20).setShow(false).setInRange(new InRange().setColor(new String[]{"#313695", "#00BB00", "#ff8000", "#a50026"})));
option3D.setXAxis3D(new CategoryAxis().setName("剩余电压(%)").setData(new String[]{"0-10", "10-20", "20-30", "30-40", "40-50", "50-60", "60-70", "70-80", "80-90", "90-100"}));
option3D.setYAxis3D(new CategoryAxis()
.setName("持续时间(cyc)")
.setData(new String[]{"1cyc", "2cyc", "3cyc", "4cyc", "5cyc", "6~10cyc", "10~20cyc", "20~30cyc", "30~60cyc"})
.setSplitLine(new SplitLine().setLineStyle(new LineStyle().setColor("#").setType("dashed").setOpacity(0.5)))
);
option3D.setZAxis3D(new ValueAxis().setSplitNumber(10).setMinInterval(10).setName("次数"));
option3D.setGrid3D(new Grid3D()
.setViewControl(new ViewControl().setBeta(8).setAlpha(5))
.setBoxWidth(200)
.setBoxDepth(80)
);
Bar3DSeries bar3DSeries = new Bar3DSeries()
.setData(new Number[][]{{0,0,0},{0,1,0}})
.setShading("realistic");
option3D.setSeries(new SeriesOption[]{bar3DSeries});
System.out.println( ENGINE.renderJsonOption(option3D));
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.themeRiver.ThemeRiverSeries;
public class ThemeRiver extends SingleCoordChart<ThemeRiver, ThemeRiverSeries> {
public ThemeRiver() {
super(ThemeRiver.class, ThemeRiverSeries.class);
}
@Override
public ThemeRiverSeries createSeries() {
return new ThemeRiverSeries().setType("themeRiver");
}
}

View File

@@ -0,0 +1,14 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.tree.TreeSeries;
public class Tree extends Chart<Tree, TreeSeries> {
public Tree() {
super(Tree.class, TreeSeries.class);
}
@Override
public TreeSeries createSeries() {
return new TreeSeries().setType("tree");
}
}

View File

@@ -0,0 +1,15 @@
package org.icepear.echarts;
import org.icepear.echarts.charts.treemap.TreemapSeries;
public class Treemap extends Chart<Treemap, TreemapSeries> {
public Treemap() {
super(Treemap.class, TreemapSeries.class);
}
@Override
public TreemapSeries createSeries() {
return new TreemapSeries().setType("treemap");
}
}

View File

@@ -0,0 +1,65 @@
package org.icepear.echarts.charts.bar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.BarBackgroundStyleOption;
import org.icepear.echarts.origin.util.DecalObject;
@Accessors(chain = true)
@Data
public class BarBackgroundStyle implements BarBackgroundStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String borderColor;
private Number borderWidth;
private String borderType;
private Object borderCap;
private Object borderJoin;
private Number borderDashOffset;
private Number borderMiterLimit;
private String color;
private Number opacity;
@Setter(AccessLevel.NONE)
private Object decal;
public BarBackgroundStyle setDecal(DecalObject decal) {
this.decal = decal;
return this;
}
public BarBackgroundStyle setDecal(String decal) {
this.decal = decal;
return this;
}
@Setter(AccessLevel.NONE)
private Object borderRadius;
public BarBackgroundStyle setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public BarBackgroundStyle setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
}

View File

@@ -0,0 +1,100 @@
package org.icepear.echarts.charts.bar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.BarDataItemOption;
import org.icepear.echarts.origin.chart.bar.BarItemStyleOption;
import org.icepear.echarts.origin.chart.bar.BarLabelOption;
@Accessors(chain = true)
@Data
public class BarDataItem implements BarDataItemOption {
private BarItemStyleOption itemStyle;
private BarLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public BarDataItem setId(Number id) {
this.id = id;
return this;
}
public BarDataItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public BarDataItem setName(Number name) {
this.name = name;
return this;
}
public BarDataItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public BarDataItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public BarDataItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public BarDataItem setValue(Number value) {
this.value = value;
return this;
}
public BarDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public BarDataItem setValue(Object value) {
this.value = value;
return this;
}
public BarDataItem setValue(Object[] value) {
this.value = value;
return this;
}
public BarDataItem setValue(String value) {
this.value = value;
return this;
}
public BarDataItem setValue(String[] value) {
this.value = value;
return this;
}
private String cursor;
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.bar;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.BarEmphasisOption;
import org.icepear.echarts.origin.chart.bar.BarItemStyleOption;
import org.icepear.echarts.origin.chart.bar.BarLabelOption;
@Accessors(chain = true)
@Data
public class BarEmphasis implements BarEmphasisOption {
private String focus;
private BarItemStyleOption itemStyle;
private BarLabelOption label;
private Object blurScope;
}

View File

@@ -0,0 +1,65 @@
package org.icepear.echarts.charts.bar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.BarItemStyleOption;
import org.icepear.echarts.origin.util.DecalObject;
@Accessors(chain = true)
@Data
public class BarItemStyle implements BarItemStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String borderColor;
private Number borderWidth;
private String borderType;
private Object borderCap;
private Object borderJoin;
private Number borderDashOffset;
private Number borderMiterLimit;
private String color;
private Number opacity;
@Setter(AccessLevel.NONE)
private Object decal;
public BarItemStyle setDecal(DecalObject decal) {
this.decal = decal;
return this;
}
public BarItemStyle setDecal(String decal) {
this.decal = decal;
return this;
}
@Setter(AccessLevel.NONE)
private Object borderRadius;
public BarItemStyle setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public BarItemStyle setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
}

View File

@@ -0,0 +1,169 @@
package org.icepear.echarts.charts.bar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.BarLabelOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class BarLabel implements BarLabelOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public BarLabel setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public BarLabel setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public BarLabel setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public BarLabel setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public BarLabel setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public BarLabel setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public BarLabel setPadding(Number padding) {
this.padding = padding;
return this;
}
public BarLabel setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public BarLabel setWidth(Number width) {
this.width = width;
return this;
}
public BarLabel setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
private Number rotate;
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public BarLabel setPrecision(Number precision) {
this.precision = precision;
return this;
}
public BarLabel setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
private String formatter;
}

View File

@@ -0,0 +1,390 @@
package org.icepear.echarts.charts.bar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import java.util.Map;
@Accessors(chain = true)
@Data
public class BarSeries implements BarSeriesOption {
private String mainType;
private String type = "bar";
@Setter(AccessLevel.NONE)
private Object id;
public BarSeries setId(Number id) {
this.id = id;
return this;
}
public BarSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public BarSeries setName(Number name) {
this.name = name;
return this;
}
public BarSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public BarSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public BarSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public BarSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public BarSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public BarSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public BarSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public BarSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public BarSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public BarSeries setColor(String color) {
this.color = color;
return this;
}
public BarSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public BarSeries setEmphasis(BarEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public BarSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public BarSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public BarSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public BarSeries setData(BarDataItemOption[] data) {
this.data = data;
return this;
}
public BarSeries setData(Number[] data) {
this.data = data;
return this;
}
public BarSeries setData(Number[][] data) {
this.data = data;
return this;
}
public BarSeries setData(Object data) {
this.data = data;
return this;
}
public BarSeries setData(Object[] data) {
this.data = data;
return this;
}
public BarSeries setData(Object[][] data) {
this.data = data;
return this;
}
public BarSeries setData(String[] data) {
this.data = data;
return this;
}
public BarSeries setData(String[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public BarSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public BarSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public BarSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public BarSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public BarSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public BarSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public BarSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public BarSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number polarIndex;
private String polarId;
private Number barMinHeight;
private Number barMinAngle;
private Number barMaxWidth;
private Number barMinWidth;
@Setter(AccessLevel.NONE)
private Object barWidth;
public BarSeries setBarWidth(Number barWidth) {
this.barWidth = barWidth;
return this;
}
public BarSeries setBarWidth(String barWidth) {
this.barWidth = barWidth;
return this;
}
@Setter(AccessLevel.NONE)
private Object barGap;
public BarSeries setBarGap(Number barGap) {
this.barGap = barGap;
return this;
}
public BarSeries setBarGap(String barGap) {
this.barGap = barGap;
return this;
}
@Setter(AccessLevel.NONE)
private Object barCategoryGap;
public BarSeries setBarCategoryGap(Number barCategoryGap) {
this.barCategoryGap = barCategoryGap;
return this;
}
public BarSeries setBarCategoryGap(String barCategoryGap) {
this.barCategoryGap = barCategoryGap;
return this;
}
private Boolean large;
private Number largeThreshold;
private BarItemStyleOption itemStyle;
private BarLabelOption label;
private String stack;
private String sampling;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public BarSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public BarSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Boolean clip;
private Boolean roundCap;
private Boolean showBackground;
private BarBackgroundStyleOption backgroundStyle;
private Boolean realtimeSort;
}

View File

@@ -0,0 +1,398 @@
package org.icepear.echarts.charts.bar3D;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.bar.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import java.util.Map;
/**
* @author hongawen
* @version 1.0.0
* @date 2023年06月25日 15:14
*/
@Accessors(chain = true)
@Data
public class Bar3DSeries implements BarSeriesOption {
private String mainType;
private String type = "bar3D";
@Setter(AccessLevel.NONE)
private Object id;
public Bar3DSeries setId(Number id) {
this.id = id;
return this;
}
public Bar3DSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public Bar3DSeries setName(Number name) {
this.name = name;
return this;
}
public Bar3DSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public Bar3DSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public Bar3DSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public Bar3DSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public Bar3DSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public Bar3DSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public Bar3DSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public Bar3DSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public Bar3DSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public Bar3DSeries setColor(String color) {
this.color = color;
return this;
}
public Bar3DSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public Bar3DSeries setEmphasis(BarEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public Bar3DSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public Bar3DSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public Bar3DSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public Bar3DSeries setData(BarDataItemOption[] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(Number[] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(Number[][] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(Object data) {
this.data = data;
return this;
}
public Bar3DSeries setData(Object[] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(Object[][] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(String[] data) {
this.data = data;
return this;
}
public Bar3DSeries setData(String[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public Bar3DSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public Bar3DSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public Bar3DSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public Bar3DSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public Bar3DSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public Bar3DSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public Bar3DSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public Bar3DSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number polarIndex;
private String polarId;
private Number barMinHeight;
private Number barMinAngle;
private Number barMaxWidth;
private Number barMinWidth;
@Setter(AccessLevel.NONE)
private Object barWidth;
public Bar3DSeries setBarWidth(Number barWidth) {
this.barWidth = barWidth;
return this;
}
public Bar3DSeries setBarWidth(String barWidth) {
this.barWidth = barWidth;
return this;
}
@Setter(AccessLevel.NONE)
private Object barGap;
public Bar3DSeries setBarGap(Number barGap) {
this.barGap = barGap;
return this;
}
public Bar3DSeries setBarGap(String barGap) {
this.barGap = barGap;
return this;
}
@Setter(AccessLevel.NONE)
private Object barCategoryGap;
public Bar3DSeries setBarCategoryGap(Number barCategoryGap) {
this.barCategoryGap = barCategoryGap;
return this;
}
public Bar3DSeries setBarCategoryGap(String barCategoryGap) {
this.barCategoryGap = barCategoryGap;
return this;
}
private Boolean large;
private Number largeThreshold;
private BarItemStyleOption itemStyle;
private BarLabelOption label;
private String stack;
private String sampling;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public Bar3DSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public Bar3DSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Boolean clip;
private Boolean roundCap;
private Boolean showBackground;
private BarBackgroundStyleOption backgroundStyle;
private Boolean realtimeSort;
private String shading;
}

View File

@@ -0,0 +1,24 @@
package org.icepear.echarts.charts.boxplot;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.boxplot.BoxplotDataItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class BoxplotDataItem implements BoxplotDataItemOption {
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private Object value;
}

View File

@@ -0,0 +1,22 @@
package org.icepear.echarts.charts.boxplot;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.boxplot.BoxplotEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class BoxplotEmphasis implements BoxplotEmphasisOption {
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object blurScope;
private String focus;
private Boolean scale;
}

View File

@@ -0,0 +1,311 @@
package org.icepear.echarts.charts.boxplot;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.boxplot.BoxplotDataItemOption;
import org.icepear.echarts.origin.chart.boxplot.BoxplotEmphasisOption;
import org.icepear.echarts.origin.chart.boxplot.BoxplotSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class BoxplotSeries implements BoxplotSeriesOption {
private String mainType;
private String type = "boxplot";
@Setter(AccessLevel.NONE)
private Object id;
public BoxplotSeries setId(Number id) {
this.id = id;
return this;
}
public BoxplotSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public BoxplotSeries setName(Number name) {
this.name = name;
return this;
}
public BoxplotSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public BoxplotSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public BoxplotSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public BoxplotSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public BoxplotSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public BoxplotSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public BoxplotSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public BoxplotSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public BoxplotSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public BoxplotSeries setColor(String color) {
this.color = color;
return this;
}
public BoxplotSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public BoxplotSeries setEmphasis(BoxplotEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public BoxplotSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public BoxplotSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public BoxplotSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public BoxplotSeries setData(BoxplotDataItemOption[] data) {
this.data = data;
return this;
}
public BoxplotSeries setData(Number[][] data) {
this.data = data;
return this;
}
public BoxplotSeries setData(Object data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public BoxplotSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public BoxplotSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public BoxplotSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public BoxplotSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public BoxplotSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public BoxplotSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public BoxplotSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public BoxplotSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public BoxplotSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public BoxplotSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private String layout;
@Setter(AccessLevel.NONE)
private Object boxWidth;
public BoxplotSeries setBoxWidth(Number[] boxWidth) {
this.boxWidth = boxWidth;
return this;
}
public BoxplotSeries setBoxWidth(String[] boxWidth) {
this.boxWidth = boxWidth;
return this;
}
}

View File

@@ -0,0 +1,31 @@
package org.icepear.echarts.charts.boxplot;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.boxplot.BoxplotTransformOption;
import org.icepear.echarts.origin.chart.boxplot.PrepareBoxplotDataOption;
import org.icepear.echarts.origin.data.helper.DataTransformConfigOption;
@Accessors(chain = true)
@Data
public class BoxplotTransform implements BoxplotTransformOption {
private String type = "boxplot";
@Setter(AccessLevel.NONE)
private Object config;
public BoxplotTransform setConfig(DataTransformConfigOption config) {
this.config = config;
return this;
}
public BoxplotTransform setConfig(PrepareBoxplotDataOption config) {
this.config = config;
return this;
}
private Boolean print;
}

View File

@@ -0,0 +1,27 @@
package org.icepear.echarts.charts.boxplot;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.boxplot.PrepareBoxplotDataOption;
@Accessors(chain = true)
@Data
public class PrepareBoxplotData implements PrepareBoxplotDataOption {
@Setter(AccessLevel.NONE)
private Object boundIQR;
public PrepareBoxplotData setBoundIQR(Number boundIQR) {
this.boundIQR = boundIQR;
return this;
}
public PrepareBoxplotData setBoundIQR(String boundIQR) {
this.boundIQR = boundIQR;
return this;
}
private String itemNameFormatter;
}

View File

@@ -0,0 +1,24 @@
package org.icepear.echarts.charts.candlestick;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.candlestick.CandlestickDataItemOption;
import org.icepear.echarts.origin.chart.candlestick.CandlestickItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class CandlestickDataItem implements CandlestickDataItemOption {
private CandlestickItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private Object value;
}

View File

@@ -0,0 +1,22 @@
package org.icepear.echarts.charts.candlestick;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.candlestick.CandlestickEmphasisOption;
import org.icepear.echarts.origin.chart.candlestick.CandlestickItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class CandlestickEmphasis implements CandlestickEmphasisOption {
private CandlestickItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object blurScope;
private String focus;
private Boolean scale;
}

View File

@@ -0,0 +1,56 @@
package org.icepear.echarts.charts.candlestick;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.candlestick.CandlestickItemStyleOption;
import org.icepear.echarts.origin.util.DecalObject;
@Accessors(chain = true)
@Data
public class CandlestickItemStyle implements CandlestickItemStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String borderColor;
private Number borderWidth;
private String borderType;
private Object borderCap;
private Object borderJoin;
private Number borderDashOffset;
private Number borderMiterLimit;
private String color;
private Number opacity;
@Setter(AccessLevel.NONE)
private Object decal;
public CandlestickItemStyle setDecal(DecalObject decal) {
this.decal = decal;
return this;
}
public CandlestickItemStyle setDecal(String decal) {
this.decal = decal;
return this;
}
private Object color0;
private Object borderColor0;
}

View File

@@ -0,0 +1,347 @@
package org.icepear.echarts.charts.candlestick;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.candlestick.CandlestickDataItemOption;
import org.icepear.echarts.origin.chart.candlestick.CandlestickEmphasisOption;
import org.icepear.echarts.origin.chart.candlestick.CandlestickItemStyleOption;
import org.icepear.echarts.origin.chart.candlestick.CandlestickSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import org.icepear.echarts.origin.util.SeriesLabelOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class CandlestickSeries implements CandlestickSeriesOption {
private String mainType;
private String type = "candlestick";
@Setter(AccessLevel.NONE)
private Object id;
public CandlestickSeries setId(Number id) {
this.id = id;
return this;
}
public CandlestickSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public CandlestickSeries setName(Number name) {
this.name = name;
return this;
}
public CandlestickSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public CandlestickSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public CandlestickSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public CandlestickSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public CandlestickSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public CandlestickSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public CandlestickSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public CandlestickSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public CandlestickSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public CandlestickSeries setColor(String color) {
this.color = color;
return this;
}
public CandlestickSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public CandlestickSeries setEmphasis(CandlestickEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public CandlestickSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public CandlestickSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public CandlestickSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public CandlestickSeries setData(CandlestickDataItemOption[] data) {
this.data = data;
return this;
}
public CandlestickSeries setData(Number[][] data) {
this.data = data;
return this;
}
public CandlestickSeries setData(Object data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public CandlestickSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public CandlestickSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public CandlestickSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public CandlestickSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public CandlestickSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public CandlestickSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public CandlestickSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public CandlestickSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private CandlestickItemStyleOption itemStyle;
private SeriesLabelOption label;
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Boolean large;
private Number largeThreshold;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public CandlestickSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public CandlestickSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private String layout;
private Boolean clip;
@Setter(AccessLevel.NONE)
private Object barMaxWidth;
public CandlestickSeries setBarMaxWidth(Number barMaxWidth) {
this.barMaxWidth = barMaxWidth;
return this;
}
public CandlestickSeries setBarMaxWidth(String barMaxWidth) {
this.barMaxWidth = barMaxWidth;
return this;
}
@Setter(AccessLevel.NONE)
private Object barMinWidth;
public CandlestickSeries setBarMinWidth(Number barMinWidth) {
this.barMinWidth = barMinWidth;
return this;
}
public CandlestickSeries setBarMinWidth(String barMinWidth) {
this.barMinWidth = barMinWidth;
return this;
}
@Setter(AccessLevel.NONE)
private Object barWidth;
public CandlestickSeries setBarWidth(Number barWidth) {
this.barWidth = barWidth;
return this;
}
public CandlestickSeries setBarWidth(String barWidth) {
this.barWidth = barWidth;
return this;
}
}

View File

@@ -0,0 +1,99 @@
package org.icepear.echarts.charts.funnel;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.funnel.FunnelDataItemOption;
import org.icepear.echarts.origin.chart.funnel.FunnelLabelOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class FunnelDataItem implements FunnelDataItemOption {
@Setter(AccessLevel.NONE)
private Object itemStyle;
public FunnelDataItem setItemStyle(ItemStyleOption itemStyle) {
this.itemStyle = itemStyle;
return this;
}
public FunnelDataItem setItemStyle(Object itemStyle) {
this.itemStyle = itemStyle;
return this;
}
private FunnelLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public FunnelDataItem setId(Number id) {
this.id = id;
return this;
}
public FunnelDataItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public FunnelDataItem setName(Number name) {
this.name = name;
return this;
}
public FunnelDataItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public FunnelDataItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public FunnelDataItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public FunnelDataItem setValue(Number value) {
this.value = value;
return this;
}
public FunnelDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public FunnelDataItem setValue(String value) {
this.value = value;
return this;
}
public FunnelDataItem setValue(String[] value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.funnel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.funnel.FunnelEmphasisOption;
import org.icepear.echarts.origin.chart.funnel.FunnelLabelOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class FunnelEmphasis implements FunnelEmphasisOption {
private String focus;
private ItemStyleOption itemStyle;
private FunnelLabelOption label;
private Object blurScope;
}

View File

@@ -0,0 +1,169 @@
package org.icepear.echarts.charts.funnel;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.funnel.FunnelLabelOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class FunnelLabel implements FunnelLabelOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public FunnelLabel setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public FunnelLabel setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public FunnelLabel setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public FunnelLabel setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public FunnelLabel setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public FunnelLabel setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public FunnelLabel setPadding(Number padding) {
this.padding = padding;
return this;
}
public FunnelLabel setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public FunnelLabel setWidth(Number width) {
this.width = width;
return this;
}
public FunnelLabel setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
private Number rotate;
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public FunnelLabel setPrecision(Number precision) {
this.precision = precision;
return this;
}
public FunnelLabel setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
private String formatter;
}

View File

@@ -0,0 +1,413 @@
package org.icepear.echarts.charts.funnel;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.funnel.FunnelDataItemOption;
import org.icepear.echarts.origin.chart.funnel.FunnelEmphasisOption;
import org.icepear.echarts.origin.chart.funnel.FunnelLabelOption;
import org.icepear.echarts.origin.chart.funnel.FunnelSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import java.util.Map;
@Accessors(chain = true)
@Data
public class FunnelSeries implements FunnelSeriesOption {
private String mainType;
private String type = "funnel";
@Setter(AccessLevel.NONE)
private Object id;
public FunnelSeries setId(Number id) {
this.id = id;
return this;
}
public FunnelSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public FunnelSeries setName(Number name) {
this.name = name;
return this;
}
public FunnelSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public FunnelSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public FunnelSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public FunnelSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public FunnelSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public FunnelSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public FunnelSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public FunnelSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public FunnelSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public FunnelSeries setColor(String color) {
this.color = color;
return this;
}
public FunnelSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public FunnelSeries setEmphasis(FunnelEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public FunnelSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public FunnelSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public FunnelSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public FunnelSeries setData(FunnelDataItemOption[] data) {
this.data = data;
return this;
}
public FunnelSeries setData(Number[] data) {
this.data = data;
return this;
}
public FunnelSeries setData(Number[][] data) {
this.data = data;
return this;
}
public FunnelSeries setData(Object data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public FunnelSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public FunnelSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public FunnelSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public FunnelSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public FunnelSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public FunnelSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public FunnelSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public FunnelSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
private FunnelLabelOption label;
@Setter(AccessLevel.NONE)
private Object width;
public FunnelSeries setWidth(Number width) {
this.width = width;
return this;
}
public FunnelSeries setWidth(String width) {
this.width = width;
return this;
}
@Setter(AccessLevel.NONE)
private Object height;
public FunnelSeries setHeight(Number height) {
this.height = height;
return this;
}
public FunnelSeries setHeight(String height) {
this.height = height;
return this;
}
@Setter(AccessLevel.NONE)
private Object top;
public FunnelSeries setTop(Number top) {
this.top = top;
return this;
}
public FunnelSeries setTop(String top) {
this.top = top;
return this;
}
@Setter(AccessLevel.NONE)
private Object right;
public FunnelSeries setRight(Number right) {
this.right = right;
return this;
}
public FunnelSeries setRight(String right) {
this.right = right;
return this;
}
@Setter(AccessLevel.NONE)
private Object bottom;
public FunnelSeries setBottom(Number bottom) {
this.bottom = bottom;
return this;
}
public FunnelSeries setBottom(String bottom) {
this.bottom = bottom;
return this;
}
@Setter(AccessLevel.NONE)
private Object left;
public FunnelSeries setLeft(Number left) {
this.left = left;
return this;
}
public FunnelSeries setLeft(String left) {
this.left = left;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public FunnelSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public FunnelSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Number min;
private Number max;
@Setter(AccessLevel.NONE)
private Object minSize;
public FunnelSeries setMinSize(Number minSize) {
this.minSize = minSize;
return this;
}
public FunnelSeries setMinSize(String minSize) {
this.minSize = minSize;
return this;
}
@Setter(AccessLevel.NONE)
private Object maxSize;
public FunnelSeries setMaxSize(Number maxSize) {
this.maxSize = maxSize;
return this;
}
public FunnelSeries setMaxSize(String maxSize) {
this.maxSize = maxSize;
return this;
}
private String sort;
private String orient;
private Number gap;
private Object funnelAlign;
}

View File

@@ -0,0 +1,38 @@
package org.icepear.echarts.charts.gauge;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugeAnchorOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class GaugeAnchor implements GaugeAnchorOption {
private Boolean show;
private Boolean showAbove;
private Number size;
private String icon;
@Setter(AccessLevel.NONE)
private Object offsetCenter;
public GaugeAnchor setOffsetCenter(Number[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
public GaugeAnchor setOffsetCenter(String[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
private Boolean keepAspect;
private ItemStyleOption itemStyle;
}

View File

@@ -0,0 +1,31 @@
package org.icepear.echarts.charts.gauge;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.*;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class GaugeDataItem implements GaugeDataItemOption {
private ItemStyleOption itemStyle;
private Object emphasis;
private Object select;
private Object blur;
private String name;
private Number value;
private GaugePointerOption pointer;
private GaugeProgressOption progress;
private GaugeTitleOption title;
private GaugeDetailOption detail;
}

View File

@@ -0,0 +1,193 @@
package org.icepear.echarts.charts.gauge;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugeDetailOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class GaugeDetail implements GaugeDetailOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public GaugeDetail setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public GaugeDetail setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public GaugeDetail setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public GaugeDetail setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public GaugeDetail setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public GaugeDetail setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public GaugeDetail setPadding(Number padding) {
this.padding = padding;
return this;
}
public GaugeDetail setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public GaugeDetail setWidth(Number width) {
this.width = width;
return this;
}
public GaugeDetail setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
private Number rotate;
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public GaugeDetail setPrecision(Number precision) {
this.precision = precision;
return this;
}
public GaugeDetail setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
@Setter(AccessLevel.NONE)
private Object offsetCenter;
public GaugeDetail setOffsetCenter(Number[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
public GaugeDetail setOffsetCenter(String[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
@Setter(AccessLevel.NONE)
private Object formatter;
public GaugeDetail setFormatter(Object formatter) {
this.formatter = formatter;
return this;
}
public GaugeDetail setFormatter(String formatter) {
this.formatter = formatter;
return this;
}
}

View File

@@ -0,0 +1,17 @@
package org.icepear.echarts.charts.gauge;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugeEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class GaugeEmphasis implements GaugeEmphasisOption {
private String focus;
private ItemStyleOption itemStyle;
private Object blurScope;
}

View File

@@ -0,0 +1,51 @@
package org.icepear.echarts.charts.gauge;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugePointerOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class GaugePointer implements GaugePointerOption {
private String icon;
private Boolean show;
private Boolean showAbove;
private Boolean keepAspect;
private ItemStyleOption itemStyle;
@Setter(AccessLevel.NONE)
private Object offsetCenter;
public GaugePointer setOffsetCenter(Number[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
public GaugePointer setOffsetCenter(String[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
@Setter(AccessLevel.NONE)
private Object length;
public GaugePointer setLength(Number length) {
this.length = length;
return this;
}
public GaugePointer setLength(String length) {
this.length = length;
return this;
}
private Number width;
}

View File

@@ -0,0 +1,23 @@
package org.icepear.echarts.charts.gauge;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugeProgressOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class GaugeProgress implements GaugeProgressOption {
private Boolean show;
private Boolean overlap;
private Number width;
private Boolean roundCap;
private Boolean clip;
private ItemStyleOption itemStyle;
}

View File

@@ -0,0 +1,358 @@
package org.icepear.echarts.charts.gauge;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import java.util.Map;
@Accessors(chain = true)
@Data
public class GaugeSeries implements GaugeSeriesOption {
private String mainType;
private String type = "gauge";
@Setter(AccessLevel.NONE)
private Object id;
public GaugeSeries setId(Number id) {
this.id = id;
return this;
}
public GaugeSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public GaugeSeries setName(Number name) {
this.name = name;
return this;
}
public GaugeSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public GaugeSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public GaugeSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public GaugeSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public GaugeSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public GaugeSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public GaugeSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public GaugeSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public GaugeSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public GaugeSeries setColor(String color) {
this.color = color;
return this;
}
public GaugeSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public GaugeSeries setEmphasis(GaugeEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public GaugeSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public GaugeSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public GaugeSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public GaugeSeries setData(GaugeDataItemOption[] data) {
this.data = data;
return this;
}
public GaugeSeries setData(Object data) {
this.data = data;
return this;
}
public GaugeSeries setData(Object[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public GaugeSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public GaugeSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public GaugeSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public GaugeSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public GaugeSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public GaugeSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public GaugeSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public GaugeSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
@Setter(AccessLevel.NONE)
private Object center;
public GaugeSeries setCenter(Number[] center) {
this.center = center;
return this;
}
public GaugeSeries setCenter(String[] center) {
this.center = center;
return this;
}
@Setter(AccessLevel.NONE)
private Object radius;
public GaugeSeries setRadius(Number radius) {
this.radius = radius;
return this;
}
public GaugeSeries setRadius(Number[] radius) {
this.radius = radius;
return this;
}
public GaugeSeries setRadius(Object[] radius) {
this.radius = radius;
return this;
}
public GaugeSeries setRadius(String radius) {
this.radius = radius;
return this;
}
public GaugeSeries setRadius(String[] radius) {
this.radius = radius;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public GaugeSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public GaugeSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Number startAngle;
private Number endAngle;
private Boolean clockwise;
private Number min;
private Number max;
private Number splitNumber;
private Object axisLine;
private GaugeProgressOption progress;
private Object splitLine;
private Object axisTick;
private Object axisLabel;
private GaugePointerOption pointer;
private GaugeAnchorOption anchor;
private GaugeTitleOption title;
private GaugeDetailOption detail;
}

View File

@@ -0,0 +1,193 @@
package org.icepear.echarts.charts.gauge;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.gauge.GaugeTitleOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class GaugeTitle implements GaugeTitleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public GaugeTitle setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public GaugeTitle setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public GaugeTitle setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public GaugeTitle setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public GaugeTitle setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public GaugeTitle setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public GaugeTitle setPadding(Number padding) {
this.padding = padding;
return this;
}
public GaugeTitle setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public GaugeTitle setWidth(Number width) {
this.width = width;
return this;
}
public GaugeTitle setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
private Number rotate;
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public GaugeTitle setPrecision(Number precision) {
this.precision = precision;
return this;
}
public GaugeTitle setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
@Setter(AccessLevel.NONE)
private Object offsetCenter;
public GaugeTitle setOffsetCenter(Number[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
public GaugeTitle setOffsetCenter(String[] offsetCenter) {
this.offsetCenter = offsetCenter;
return this;
}
@Setter(AccessLevel.NONE)
private Object formatter;
public GaugeTitle setFormatter(Object formatter) {
this.formatter = formatter;
return this;
}
public GaugeTitle setFormatter(String formatter) {
this.formatter = formatter;
return this;
}
}

View File

@@ -0,0 +1,86 @@
package org.icepear.echarts.charts.graph;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphCategoryItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class GraphCategoryItem implements GraphCategoryItemOption {
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public GraphCategoryItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public GraphCategoryItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public GraphCategoryItem setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphCategoryItem setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphCategoryItem setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphCategoryItem setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private String name;
@Setter(AccessLevel.NONE)
private Object value;
public GraphCategoryItem setValue(Number value) {
this.value = value;
return this;
}
public GraphCategoryItem setValue(Object value) {
this.value = value;
return this;
}
public GraphCategoryItem setValue(String value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,12 @@
package org.icepear.echarts.charts.graph;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphCircularOption;
@Accessors(chain = true)
@Data
public class GraphCircular implements GraphCircularOption {
private Boolean rotateLabel;
}

View File

@@ -0,0 +1,142 @@
package org.icepear.echarts.charts.graph;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphEdgeItemOption;
import org.icepear.echarts.origin.chart.graph.GraphEdgeLineStyleOption;
import org.icepear.echarts.origin.util.SeriesLineLabelOption;
@Accessors(chain = true)
@Data
public class GraphEdgeItem implements GraphEdgeItemOption {
private GraphEdgeLineStyleOption lineStyle;
private SeriesLineLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public GraphEdgeItem setId(Number id) {
this.id = id;
return this;
}
public GraphEdgeItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public GraphEdgeItem setName(Number name) {
this.name = name;
return this;
}
public GraphEdgeItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public GraphEdgeItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public GraphEdgeItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public GraphEdgeItem setValue(Number value) {
this.value = value;
return this;
}
public GraphEdgeItem setValue(Number[] value) {
this.value = value;
return this;
}
public GraphEdgeItem setValue(String value) {
this.value = value;
return this;
}
public GraphEdgeItem setValue(String[] value) {
this.value = value;
return this;
}
@Setter(AccessLevel.NONE)
private Object source;
public GraphEdgeItem setSource(Number source) {
this.source = source;
return this;
}
public GraphEdgeItem setSource(String source) {
this.source = source;
return this;
}
@Setter(AccessLevel.NONE)
private Object target;
public GraphEdgeItem setTarget(Number target) {
this.target = target;
return this;
}
public GraphEdgeItem setTarget(String target) {
this.target = target;
return this;
}
@Setter(AccessLevel.NONE)
private Object symbol;
public GraphEdgeItem setSymbol(String symbol) {
this.symbol = symbol;
return this;
}
public GraphEdgeItem setSymbol(String[] symbol) {
this.symbol = symbol;
return this;
}
@Setter(AccessLevel.NONE)
private Object symbolSize;
public GraphEdgeItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public GraphEdgeItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Boolean ignoreForceLayout;
}

View File

@@ -0,0 +1,36 @@
package org.icepear.echarts.charts.graph;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphEdgeLineStyleOption;
@Accessors(chain = true)
@Data
public class GraphEdgeLineStyle implements GraphEdgeLineStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private Number width;
private String color;
private Number opacity;
private String type;
private Object cap;
private Object join;
private Number dashOffset;
private Number miterLimit;
private Number curveness;
}

View File

@@ -0,0 +1,27 @@
package org.icepear.echarts.charts.graph;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class GraphEmphasis implements GraphEmphasisOption {
private Object blurScope;
private String focus;
private Boolean scale;
private SeriesLabelOption label;
private SeriesLabelOption edgeLabel;
private ItemStyleOption itemStyle;
private LineStyleOption lineStyle;
}

View File

@@ -0,0 +1,46 @@
package org.icepear.echarts.charts.graph;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphForceOption;
@Accessors(chain = true)
@Data
public class GraphForce implements GraphForceOption {
private String initLayout;
@Setter(AccessLevel.NONE)
private Object repulsion;
public GraphForce setRepulsion(Number repulsion) {
this.repulsion = repulsion;
return this;
}
public GraphForce setRepulsion(Number[] repulsion) {
this.repulsion = repulsion;
return this;
}
private Number gravity;
private Number friction;
@Setter(AccessLevel.NONE)
private Object edgeLength;
public GraphForce setEdgeLength(Number edgeLength) {
this.edgeLength = edgeLength;
return this;
}
public GraphForce setEdgeLength(Number[] edgeLength) {
this.edgeLength = edgeLength;
return this;
}
private Boolean layoutAnimation;
}

View File

@@ -0,0 +1,124 @@
package org.icepear.echarts.charts.graph;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.GraphNodeItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class GraphNodeItem implements GraphNodeItemOption {
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public GraphNodeItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public GraphNodeItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public GraphNodeItem setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphNodeItem setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphNodeItem setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphNodeItem setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private String id;
private String name;
@Setter(AccessLevel.NONE)
private Object value;
public GraphNodeItem setValue(Number value) {
this.value = value;
return this;
}
public GraphNodeItem setValue(Number[] value) {
this.value = value;
return this;
}
public GraphNodeItem setValue(Object value) {
this.value = value;
return this;
}
public GraphNodeItem setValue(Object[] value) {
this.value = value;
return this;
}
public GraphNodeItem setValue(String value) {
this.value = value;
return this;
}
public GraphNodeItem setValue(String[] value) {
this.value = value;
return this;
}
private Number x;
private Number y;
private Boolean fixed;
@Setter(AccessLevel.NONE)
private Object category;
public GraphNodeItem setCategory(Number category) {
this.category = category;
return this;
}
public GraphNodeItem setCategory(String category) {
this.category = category;
return this;
}
private Boolean draggable;
}

View File

@@ -0,0 +1,550 @@
package org.icepear.echarts.charts.graph;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.graph.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class GraphSeries implements GraphSeriesOption {
private String mainType;
private String type = "graph";
@Setter(AccessLevel.NONE)
private Object id;
public GraphSeries setId(Number id) {
this.id = id;
return this;
}
public GraphSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public GraphSeries setName(Number name) {
this.name = name;
return this;
}
public GraphSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public GraphSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public GraphSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public GraphSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public GraphSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public GraphSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public GraphSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public GraphSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public GraphSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public GraphSeries setColor(String color) {
this.color = color;
return this;
}
public GraphSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public GraphSeries setEmphasis(GraphEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public GraphSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
@Setter(AccessLevel.NONE)
private Object select;
public GraphSeries setSelect(GraphSelectOption select) {
this.select = select;
return this;
}
public GraphSeries setSelect(Object select) {
this.select = select;
return this;
}
@Setter(AccessLevel.NONE)
private Object blur;
public GraphSeries setBlur(GraphBlurOption blur) {
this.blur = blur;
return this;
}
public GraphSeries setBlur(Object blur) {
this.blur = blur;
return this;
}
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public GraphSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public GraphSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public GraphSeries setData(GraphNodeItemOption[] data) {
this.data = data;
return this;
}
public GraphSeries setData(Number[] data) {
this.data = data;
return this;
}
public GraphSeries setData(Number[][] data) {
this.data = data;
return this;
}
public GraphSeries setData(Object data) {
this.data = data;
return this;
}
public GraphSeries setData(Object[] data) {
this.data = data;
return this;
}
public GraphSeries setData(Object[][] data) {
this.data = data;
return this;
}
public GraphSeries setData(String[] data) {
this.data = data;
return this;
}
public GraphSeries setData(String[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public GraphSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public GraphSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
private String seriesLayoutBy;
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public GraphSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public GraphSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public GraphSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public GraphSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number polarIndex;
private String polarId;
private Number calendarIndex;
private String calendarId;
private Number geoIndex;
private String geoId;
private Number singleAxisIndex;
private String singleAxisId;
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public GraphSeries setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public GraphSeries setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public GraphSeries setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphSeries setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphSeries setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public GraphSeries setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
@Setter(AccessLevel.NONE)
private Object roam;
public GraphSeries setRoam(Boolean roam) {
this.roam = roam;
return this;
}
public GraphSeries setRoam(String roam) {
this.roam = roam;
return this;
}
private Number[] center;
private Number zoom;
private Object scaleLimit;
@Setter(AccessLevel.NONE)
private Object width;
public GraphSeries setWidth(Number width) {
this.width = width;
return this;
}
public GraphSeries setWidth(String width) {
this.width = width;
return this;
}
@Setter(AccessLevel.NONE)
private Object height;
public GraphSeries setHeight(Number height) {
this.height = height;
return this;
}
public GraphSeries setHeight(String height) {
this.height = height;
return this;
}
@Setter(AccessLevel.NONE)
private Object top;
public GraphSeries setTop(Number top) {
this.top = top;
return this;
}
public GraphSeries setTop(String top) {
this.top = top;
return this;
}
@Setter(AccessLevel.NONE)
private Object right;
public GraphSeries setRight(Number right) {
this.right = right;
return this;
}
public GraphSeries setRight(String right) {
this.right = right;
return this;
}
@Setter(AccessLevel.NONE)
private Object bottom;
public GraphSeries setBottom(Number bottom) {
this.bottom = bottom;
return this;
}
public GraphSeries setBottom(String bottom) {
this.bottom = bottom;
return this;
}
@Setter(AccessLevel.NONE)
private Object left;
public GraphSeries setLeft(Number left) {
this.left = left;
return this;
}
public GraphSeries setLeft(String left) {
this.left = left;
return this;
}
private String layout;
@Setter(AccessLevel.NONE)
private Object nodes;
public GraphSeries setNodes(GraphNodeItemOption[] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(Number[] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(Number[][] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(Object[] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(Object[][] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(String[] nodes) {
this.nodes = nodes;
return this;
}
public GraphSeries setNodes(String[][] nodes) {
this.nodes = nodes;
return this;
}
private GraphEdgeItemOption[] edges;
private GraphEdgeItemOption[] links;
private GraphCategoryItemOption[] categories;
private Boolean focusNodeAdjacency;
private Number nodeScaleRatio;
private Boolean draggable;
@Setter(AccessLevel.NONE)
private Object edgeSymbol;
public GraphSeries setEdgeSymbol(String edgeSymbol) {
this.edgeSymbol = edgeSymbol;
return this;
}
public GraphSeries setEdgeSymbol(String[] edgeSymbol) {
this.edgeSymbol = edgeSymbol;
return this;
}
@Setter(AccessLevel.NONE)
private Object edgeSymbolSize;
public GraphSeries setEdgeSymbolSize(Number edgeSymbolSize) {
this.edgeSymbolSize = edgeSymbolSize;
return this;
}
public GraphSeries setEdgeSymbolSize(Number[] edgeSymbolSize) {
this.edgeSymbolSize = edgeSymbolSize;
return this;
}
private SeriesLineLabelOption edgeLabel;
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private GraphEdgeLineStyleOption lineStyle;
private GraphCircularOption circular;
private GraphForceOption force;
}

View File

@@ -0,0 +1,24 @@
package org.icepear.echarts.charts.heatmap;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.heatmap.HeatmapDataItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class HeatmapDataItem implements HeatmapDataItemOption {
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private Object value;
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.heatmap;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.heatmap.HeatmapEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class HeatmapEmphasis implements HeatmapEmphasisOption {
private String focus;
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object blurScope;
}

View File

@@ -0,0 +1,312 @@
package org.icepear.echarts.charts.heatmap;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.heatmap.HeatmapDataItemOption;
import org.icepear.echarts.origin.chart.heatmap.HeatmapEmphasisOption;
import org.icepear.echarts.origin.chart.heatmap.HeatmapSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class HeatmapSeries implements HeatmapSeriesOption {
private String mainType;
private String type = "heatmap";
@Setter(AccessLevel.NONE)
private Object id;
public HeatmapSeries setId(Number id) {
this.id = id;
return this;
}
public HeatmapSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public HeatmapSeries setName(Number name) {
this.name = name;
return this;
}
public HeatmapSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public HeatmapSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public HeatmapSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public HeatmapSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public HeatmapSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public HeatmapSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public HeatmapSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public HeatmapSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public HeatmapSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public HeatmapSeries setColor(String color) {
this.color = color;
return this;
}
public HeatmapSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public HeatmapSeries setEmphasis(HeatmapEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public HeatmapSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public HeatmapSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public HeatmapSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public HeatmapSeries setData(HeatmapDataItemOption[] data) {
this.data = data;
return this;
}
public HeatmapSeries setData(Object data) {
this.data = data;
return this;
}
public HeatmapSeries setData(Object[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public HeatmapSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public HeatmapSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public HeatmapSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public HeatmapSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public HeatmapSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public HeatmapSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public HeatmapSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public HeatmapSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number geoIndex;
private String geoId;
private Number calendarIndex;
private String calendarId;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public HeatmapSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public HeatmapSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Number blurSize;
private Number pointSize;
private Number maxOpacity;
private Number minOpacity;
}

View File

@@ -0,0 +1,24 @@
package org.icepear.echarts.charts.line;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.line.LineAreaStyleOption;
@Accessors(chain = true)
@Data
public class LineAreaStyle implements LineAreaStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private Number opacity;
private String origin;
}

View File

@@ -0,0 +1,72 @@
package org.icepear.echarts.charts.line;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.line.LineDataItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class LineDataItem implements LineDataItemOption {
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public LineDataItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public LineDataItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public LineDataItem setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineDataItem setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineDataItem setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineDataItem setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object endLabel;
private Object emphasis;
private Object select;
private Object blur;
private String name;
private Object value;
}

View File

@@ -0,0 +1,43 @@
package org.icepear.echarts.charts.line;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.line.LineEmphasisOption;
import org.icepear.echarts.origin.util.AreaStyleOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class LineEmphasis implements LineEmphasisOption {
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object endLabel;
private Object blurScope;
@Setter(AccessLevel.NONE)
private Object lineStyle;
public LineEmphasis setLineStyle(LineStyleOption lineStyle) {
this.lineStyle = lineStyle;
return this;
}
public LineEmphasis setLineStyle(Object lineStyle) {
this.lineStyle = lineStyle;
return this;
}
private AreaStyleOption areaStyle;
private String focus;
private Boolean scale;
}

View File

@@ -0,0 +1,402 @@
package org.icepear.echarts.charts.line;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.line.LineAreaStyleOption;
import org.icepear.echarts.origin.chart.line.LineDataItemOption;
import org.icepear.echarts.origin.chart.line.LineEmphasisOption;
import org.icepear.echarts.origin.chart.line.LineSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class LineSeries implements LineSeriesOption {
private String mainType;
private String type = "line";
@Setter(AccessLevel.NONE)
private Object id;
public LineSeries setId(Number id) {
this.id = id;
return this;
}
public LineSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public LineSeries setName(Number name) {
this.name = name;
return this;
}
public LineSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public LineSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public LineSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public LineSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public LineSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public LineSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public LineSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public LineSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public LineSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public LineSeries setColor(String color) {
this.color = color;
return this;
}
public LineSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public LineSeries setEmphasis(LineEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
public LineSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public LineSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public LineSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public LineSeries setData(LineDataItemOption[] data) {
this.data = data;
return this;
}
public LineSeries setData(Object data) {
this.data = data;
return this;
}
public LineSeries setData(Object[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public LineSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public LineSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public LineSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public LineSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public LineSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public LineSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public LineSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public LineSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object endLabel;
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number polarIndex;
private String polarId;
private String stack;
private String sampling;
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public LineSeries setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public LineSeries setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public LineSeries setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineSeries setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineSeries setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public LineSeries setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public LineSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public LineSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Boolean clip;
private LineStyleOption lineStyle;
private LineAreaStyleOption areaStyle;
@Setter(AccessLevel.NONE)
private Object step;
public LineSeries setStep(Boolean step) {
this.step = step;
return this;
}
public LineSeries setStep(String step) {
this.step = step;
return this;
}
@Setter(AccessLevel.NONE)
private Object smooth;
public LineSeries setSmooth(Boolean smooth) {
this.smooth = smooth;
return this;
}
public LineSeries setSmooth(Number smooth) {
this.smooth = smooth;
return this;
}
private String smoothMonotone;
private Boolean connectNulls;
private Boolean showSymbol;
@Setter(AccessLevel.NONE)
private Object showAllSymbol;
public LineSeries setShowAllSymbol(Boolean showAllSymbol) {
this.showAllSymbol = showAllSymbol;
return this;
}
public LineSeries setShowAllSymbol(String showAllSymbol) {
this.showAllSymbol = showAllSymbol;
return this;
}
private Boolean triggerLineEvent;
}

View File

@@ -0,0 +1,42 @@
package org.icepear.echarts.charts.parallel;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.parallel.ParallelDataItemOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class ParallelDataItem implements ParallelDataItemOption {
private LineStyleOption lineStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object value;
public ParallelDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public ParallelDataItem setValue(Object[] value) {
this.value = value;
return this;
}
public ParallelDataItem setValue(String[] value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.parallel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.parallel.ParallelEmphasisOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class ParallelEmphasis implements ParallelEmphasisOption {
private String focus;
private LineStyleOption lineStyle;
private SeriesLabelOption label;
private Object blurScope;
}

View File

@@ -0,0 +1,314 @@
package org.icepear.echarts.charts.parallel;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.parallel.ParallelDataItemOption;
import org.icepear.echarts.origin.chart.parallel.ParallelEmphasisOption;
import org.icepear.echarts.origin.chart.parallel.ParallelSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.coord.parallel.ParallelAxisOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class ParallelSeries implements ParallelSeriesOption {
private String mainType;
private String type = "parallel";
@Setter(AccessLevel.NONE)
private Object id;
public ParallelSeries setId(Number id) {
this.id = id;
return this;
}
public ParallelSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public ParallelSeries setName(Number name) {
this.name = name;
return this;
}
public ParallelSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public ParallelSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public ParallelSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public ParallelSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public ParallelSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public ParallelSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public ParallelSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public ParallelSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public ParallelSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public ParallelSeries setColor(String color) {
this.color = color;
return this;
}
public ParallelSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public ParallelSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public ParallelSeries setEmphasis(ParallelEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public ParallelSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public ParallelSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public ParallelSeries setData(Object data) {
this.data = data;
return this;
}
public ParallelSeries setData(Object[][] data) {
this.data = data;
return this;
}
public ParallelSeries setData(ParallelDataItemOption[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public ParallelSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public ParallelSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public ParallelSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public ParallelSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public ParallelSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public ParallelSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public ParallelSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public ParallelSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private LineStyleOption lineStyle;
private SeriesLabelOption label;
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public ParallelSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public ParallelSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Number parallelIndex;
private String parallelId;
private Number inactiveOpacity;
private Number activeOpacity;
@Setter(AccessLevel.NONE)
private Object smooth;
public ParallelSeries setSmooth(Boolean smooth) {
this.smooth = smooth;
return this;
}
public ParallelSeries setSmooth(Number smooth) {
this.smooth = smooth;
return this;
}
private Boolean realtime;
private ParallelAxisOption parallelAxisDefault;
}

View File

@@ -0,0 +1,90 @@
package org.icepear.echarts.charts.pie;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.PieDataItemOption;
import org.icepear.echarts.origin.chart.pie.PieItemStyleOption;
import org.icepear.echarts.origin.chart.pie.PieLabelOption;
@Accessors(chain = true)
@Data
public class PieDataItem implements PieDataItemOption {
@Setter(AccessLevel.NONE)
private Object id;
public PieDataItem setId(Number id) {
this.id = id;
return this;
}
public PieDataItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public PieDataItem setName(Number name) {
this.name = name;
return this;
}
public PieDataItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public PieDataItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public PieDataItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public PieDataItem setValue(Number value) {
this.value = value;
return this;
}
public PieDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public PieDataItem setValue(String value) {
this.value = value;
return this;
}
public PieDataItem setValue(String[] value) {
this.value = value;
return this;
}
private PieItemStyleOption itemStyle;
private PieLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
private String cursor;
}

View File

@@ -0,0 +1,24 @@
package org.icepear.echarts.charts.pie;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.PieEmphasisOption;
import org.icepear.echarts.origin.chart.pie.PieItemStyleOption;
import org.icepear.echarts.origin.chart.pie.PieLabelOption;
@Accessors(chain = true)
@Data
public class PieEmphasis implements PieEmphasisOption {
private PieItemStyleOption itemStyle;
private PieLabelOption label;
private Object blurScope;
private String focus;
private Boolean scale;
private Number scaleSize;
}

View File

@@ -0,0 +1,75 @@
package org.icepear.echarts.charts.pie;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.PieItemStyleOption;
import org.icepear.echarts.origin.util.DecalObject;
@Accessors(chain = true)
@Data
public class PieItemStyle implements PieItemStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String borderColor;
private Number borderWidth;
private String borderType;
private Object borderCap;
private Object borderJoin;
private Number borderDashOffset;
private Number borderMiterLimit;
private String color;
private Number opacity;
@Setter(AccessLevel.NONE)
private Object decal;
public PieItemStyle setDecal(DecalObject decal) {
this.decal = decal;
return this;
}
public PieItemStyle setDecal(String decal) {
this.decal = decal;
return this;
}
@Setter(AccessLevel.NONE)
private Object borderRadius;
public PieItemStyle setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public PieItemStyle setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public PieItemStyle setBorderRadius(String borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public PieItemStyle setBorderRadius(String[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
}

View File

@@ -0,0 +1,228 @@
package org.icepear.echarts.charts.pie;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.PieLabelOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class PieLabel implements PieLabelOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public PieLabel setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public PieLabel setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public PieLabel setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public PieLabel setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public PieLabel setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public PieLabel setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public PieLabel setPadding(Number padding) {
this.padding = padding;
return this;
}
public PieLabel setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public PieLabel setWidth(Number width) {
this.width = width;
return this;
}
public PieLabel setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
@Setter(AccessLevel.NONE)
private Object position;
public PieLabel setPosition(Object position) {
this.position = position;
return this;
}
public PieLabel setPosition(String position) {
this.position = position;
return this;
}
private Number distance;
@Setter(AccessLevel.NONE)
private Object rotate;
public PieLabel setRotate(Boolean rotate) {
this.rotate = rotate;
return this;
}
public PieLabel setRotate(Number rotate) {
this.rotate = rotate;
return this;
}
public PieLabel setRotate(String rotate) {
this.rotate = rotate;
return this;
}
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public PieLabel setPrecision(Number precision) {
this.precision = precision;
return this;
}
public PieLabel setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
private String formatter;
private String alignTo;
@Setter(AccessLevel.NONE)
private Object edgeDistance;
public PieLabel setEdgeDistance(Number edgeDistance) {
this.edgeDistance = edgeDistance;
return this;
}
public PieLabel setEdgeDistance(String edgeDistance) {
this.edgeDistance = edgeDistance;
return this;
}
@Setter(AccessLevel.NONE)
private Object margin;
public PieLabel setMargin(Number margin) {
this.margin = margin;
return this;
}
public PieLabel setMargin(String margin) {
this.margin = margin;
return this;
}
private Number bleedMargin;
private Number distanceToLabelLine;
}

View File

@@ -0,0 +1,40 @@
package org.icepear.echarts.charts.pie;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.PieLabelLineOption;
import org.icepear.echarts.origin.util.LineStyleOption;
@Accessors(chain = true)
@Data
public class PieLabelLine implements PieLabelLineOption {
private Boolean show;
private Boolean showAbove;
private Number length;
private Number length2;
@Setter(AccessLevel.NONE)
private Object smooth;
public PieLabelLine setSmooth(Boolean smooth) {
this.smooth = smooth;
return this;
}
public PieLabelLine setSmooth(Number smooth) {
this.smooth = smooth;
return this;
}
private Number minTurnAngle;
private LineStyleOption lineStyle;
private Number maxSurfaceAngle;
}

View File

@@ -0,0 +1,438 @@
package org.icepear.echarts.charts.pie;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.pie.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.OptionEncode;
import java.util.Map;
@Accessors(chain = true)
@Data
public class PieSeries implements PieSeriesOption {
private String mainType;
private String type = "pie";
@Setter(AccessLevel.NONE)
private Object id;
public PieSeries setId(Number id) {
this.id = id;
return this;
}
public PieSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public PieSeries setName(Number name) {
this.name = name;
return this;
}
public PieSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public PieSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public PieSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public PieSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public PieSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public PieSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public PieSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public PieSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public PieSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public PieSeries setColor(String color) {
this.color = color;
return this;
}
public PieSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public PieSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public PieSeries setEmphasis(PieEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public PieSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public PieSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public PieSeries setData(Number[] data) {
this.data = data;
return this;
}
public PieSeries setData(Number[][] data) {
this.data = data;
return this;
}
public PieSeries setData(Object data) {
this.data = data;
return this;
}
public PieSeries setData(PieDataItemOption[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public PieSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public PieSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public PieSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public PieSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public PieSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public PieSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public PieSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public PieSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private PieItemStyleOption itemStyle;
private PieLabelOption label;
@Setter(AccessLevel.NONE)
private Object center;
public PieSeries setCenter(Number[] center) {
this.center = center;
return this;
}
public PieSeries setCenter(String[] center) {
this.center = center;
return this;
}
@Setter(AccessLevel.NONE)
private Object radius;
public PieSeries setRadius(Number radius) {
this.radius = radius;
return this;
}
public PieSeries setRadius(Number[] radius) {
this.radius = radius;
return this;
}
public PieSeries setRadius(Object[] radius) {
this.radius = radius;
return this;
}
public PieSeries setRadius(String radius) {
this.radius = radius;
return this;
}
public PieSeries setRadius(String[] radius) {
this.radius = radius;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public PieSeries setWidth(Number width) {
this.width = width;
return this;
}
public PieSeries setWidth(String width) {
this.width = width;
return this;
}
@Setter(AccessLevel.NONE)
private Object height;
public PieSeries setHeight(Number height) {
this.height = height;
return this;
}
public PieSeries setHeight(String height) {
this.height = height;
return this;
}
@Setter(AccessLevel.NONE)
private Object top;
public PieSeries setTop(Number top) {
this.top = top;
return this;
}
public PieSeries setTop(String top) {
this.top = top;
return this;
}
@Setter(AccessLevel.NONE)
private Object right;
public PieSeries setRight(Number right) {
this.right = right;
return this;
}
public PieSeries setRight(String right) {
this.right = right;
return this;
}
@Setter(AccessLevel.NONE)
private Object bottom;
public PieSeries setBottom(Number bottom) {
this.bottom = bottom;
return this;
}
public PieSeries setBottom(String bottom) {
this.bottom = bottom;
return this;
}
@Setter(AccessLevel.NONE)
private Object left;
public PieSeries setLeft(Number left) {
this.left = left;
return this;
}
public PieSeries setLeft(String left) {
this.left = left;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public PieSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public PieSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private String roseType;
private Boolean clockwise;
private Number startAngle;
private Number minAngle;
private Number minShowLabelAngle;
private Number selectedOffset;
private Boolean avoidLabelOverlap;
private Number percentPrecision;
private Boolean stillShowZeroSum;
private String animationType;
private String animationTypeUpdate;
private Boolean showEmptyCircle;
private PieItemStyleOption emptyCircleStyle;
}

View File

@@ -0,0 +1,146 @@
package org.icepear.echarts.charts.radar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.radar.RadarDataItemOption;
import org.icepear.echarts.origin.util.AreaStyleOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class RadarDataItem implements RadarDataItemOption {
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public RadarDataItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public RadarDataItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public RadarDataItem setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarDataItem setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarDataItem setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarDataItem setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private LineStyleOption lineStyle;
private AreaStyleOption areaStyle;
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public RadarDataItem setId(Number id) {
this.id = id;
return this;
}
public RadarDataItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public RadarDataItem setName(Number name) {
this.name = name;
return this;
}
public RadarDataItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public RadarDataItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public RadarDataItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public RadarDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public RadarDataItem setValue(Number[][] value) {
this.value = value;
return this;
}
public RadarDataItem setValue(Object[] value) {
this.value = value;
return this;
}
public RadarDataItem setValue(Object[][] value) {
this.value = value;
return this;
}
public RadarDataItem setValue(String[] value) {
this.value = value;
return this;
}
public RadarDataItem setValue(String[][] value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,26 @@
package org.icepear.echarts.charts.radar;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.radar.RadarEmphasisOption;
import org.icepear.echarts.origin.util.AreaStyleOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LineStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class RadarEmphasis implements RadarEmphasisOption {
private String focus;
private LineStyleOption lineStyle;
private AreaStyleOption areaStyle;
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private Object blurScope;
}

View File

@@ -0,0 +1,348 @@
package org.icepear.echarts.charts.radar;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.radar.RadarDataItemOption;
import org.icepear.echarts.origin.chart.radar.RadarEmphasisOption;
import org.icepear.echarts.origin.chart.radar.RadarSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class RadarSeries implements RadarSeriesOption {
private String mainType;
private String type = "radar";
@Setter(AccessLevel.NONE)
private Object id;
public RadarSeries setId(Number id) {
this.id = id;
return this;
}
public RadarSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public RadarSeries setName(Number name) {
this.name = name;
return this;
}
public RadarSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public RadarSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public RadarSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public RadarSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public RadarSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public RadarSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public RadarSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public RadarSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public RadarSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public RadarSeries setColor(String color) {
this.color = color;
return this;
}
public RadarSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public RadarSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public RadarSeries setEmphasis(RadarEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public RadarSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public RadarSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public RadarSeries setData(Number[][] data) {
this.data = data;
return this;
}
public RadarSeries setData(Object data) {
this.data = data;
return this;
}
public RadarSeries setData(Object[][] data) {
this.data = data;
return this;
}
public RadarSeries setData(RadarDataItemOption[] data) {
this.data = data;
return this;
}
public RadarSeries setData(String[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public RadarSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public RadarSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public RadarSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public RadarSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public RadarSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public RadarSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public RadarSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public RadarSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private LineStyleOption lineStyle;
private AreaStyleOption areaStyle;
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public RadarSeries setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public RadarSeries setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public RadarSeries setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarSeries setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarSeries setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public RadarSeries setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public RadarSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public RadarSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Number radarIndex;
private String radarId;
}

View File

@@ -0,0 +1,124 @@
package org.icepear.echarts.charts.sankey;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.SankeyEdgeItemOption;
import org.icepear.echarts.origin.chart.sankey.SankeyEdgeStyleOption;
@Accessors(chain = true)
@Data
public class SankeyEdgeItem implements SankeyEdgeItemOption {
private SankeyEdgeStyleOption lineStyle;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public SankeyEdgeItem setId(Number id) {
this.id = id;
return this;
}
public SankeyEdgeItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public SankeyEdgeItem setName(Number name) {
this.name = name;
return this;
}
public SankeyEdgeItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public SankeyEdgeItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public SankeyEdgeItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public SankeyEdgeItem setValue(Number value) {
this.value = value;
return this;
}
public SankeyEdgeItem setValue(Number[] value) {
this.value = value;
return this;
}
public SankeyEdgeItem setValue(String value) {
this.value = value;
return this;
}
public SankeyEdgeItem setValue(String[] value) {
this.value = value;
return this;
}
@Setter(AccessLevel.NONE)
private Object source;
public SankeyEdgeItem setSource(Number source) {
this.source = source;
return this;
}
public SankeyEdgeItem setSource(String source) {
this.source = source;
return this;
}
@Setter(AccessLevel.NONE)
private Object target;
public SankeyEdgeItem setTarget(Number target) {
this.target = target;
return this;
}
public SankeyEdgeItem setTarget(String target) {
this.target = target;
return this;
}
@Setter(AccessLevel.NONE)
private Object focusNodeAdjacency;
public SankeyEdgeItem setFocusNodeAdjacency(Boolean focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
public SankeyEdgeItem setFocusNodeAdjacency(String focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
}

View File

@@ -0,0 +1,36 @@
package org.icepear.echarts.charts.sankey;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.SankeyEdgeStyleOption;
@Accessors(chain = true)
@Data
public class SankeyEdgeStyle implements SankeyEdgeStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private Number width;
private String color;
private Number opacity;
private String type;
private Object cap;
private Object join;
private Number dashOffset;
private Number miterLimit;
private Number curveness;
}

View File

@@ -0,0 +1,23 @@
package org.icepear.echarts.charts.sankey;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.SankeyEdgeStyleOption;
import org.icepear.echarts.origin.chart.sankey.SankeyEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class SankeyEmphasis implements SankeyEmphasisOption {
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private SankeyEdgeStyleOption lineStyle;
private Object blurScope;
private String focus;
}

View File

@@ -0,0 +1,21 @@
package org.icepear.echarts.charts.sankey;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.SankeyEdgeStyleOption;
import org.icepear.echarts.origin.chart.sankey.SankeyLevelOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class SankeyLevel implements SankeyLevelOption {
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private SankeyEdgeStyleOption lineStyle;
private Number depth;
}

View File

@@ -0,0 +1,119 @@
package org.icepear.echarts.charts.sankey;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.SankeyNodeItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class SankeyNodeItem implements SankeyNodeItemOption {
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public SankeyNodeItem setId(Number id) {
this.id = id;
return this;
}
public SankeyNodeItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public SankeyNodeItem setName(Number name) {
this.name = name;
return this;
}
public SankeyNodeItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public SankeyNodeItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public SankeyNodeItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public SankeyNodeItem setValue(Number value) {
this.value = value;
return this;
}
public SankeyNodeItem setValue(Number[] value) {
this.value = value;
return this;
}
public SankeyNodeItem setValue(Object value) {
this.value = value;
return this;
}
public SankeyNodeItem setValue(Object[] value) {
this.value = value;
return this;
}
public SankeyNodeItem setValue(String value) {
this.value = value;
return this;
}
public SankeyNodeItem setValue(String[] value) {
this.value = value;
return this;
}
private Number localX;
private Number localY;
private Number depth;
private Boolean draggable;
@Setter(AccessLevel.NONE)
private Object focusNodeAdjacency;
public SankeyNodeItem setFocusNodeAdjacency(Boolean focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
public SankeyNodeItem setFocusNodeAdjacency(String focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
}

View File

@@ -0,0 +1,363 @@
package org.icepear.echarts.charts.sankey;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sankey.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class SankeySeries implements SankeySeriesOption {
private String mainType;
private String type = "sankey";
@Setter(AccessLevel.NONE)
private Object id;
public SankeySeries setId(Number id) {
this.id = id;
return this;
}
public SankeySeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public SankeySeries setName(Number name) {
this.name = name;
return this;
}
public SankeySeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public SankeySeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public SankeySeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public SankeySeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public SankeySeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public SankeySeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public SankeySeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public SankeySeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public SankeySeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public SankeySeries setColor(String color) {
this.color = color;
return this;
}
public SankeySeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public SankeySeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public SankeySeries setEmphasis(SankeyEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public SankeySeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public SankeySeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public SankeySeries setData(Object data) {
this.data = data;
return this;
}
public SankeySeries setData(SankeyNodeItemOption[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public SankeySeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public SankeySeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
private String seriesLayoutBy;
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public SankeySeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public SankeySeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public SankeySeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public SankeySeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private SeriesLabelOption label;
private ItemStyleOption itemStyle;
private SankeyEdgeStyleOption lineStyle;
@Setter(AccessLevel.NONE)
private Object width;
public SankeySeries setWidth(Number width) {
this.width = width;
return this;
}
public SankeySeries setWidth(String width) {
this.width = width;
return this;
}
@Setter(AccessLevel.NONE)
private Object height;
public SankeySeries setHeight(Number height) {
this.height = height;
return this;
}
public SankeySeries setHeight(String height) {
this.height = height;
return this;
}
@Setter(AccessLevel.NONE)
private Object top;
public SankeySeries setTop(Number top) {
this.top = top;
return this;
}
public SankeySeries setTop(String top) {
this.top = top;
return this;
}
@Setter(AccessLevel.NONE)
private Object right;
public SankeySeries setRight(Number right) {
this.right = right;
return this;
}
public SankeySeries setRight(String right) {
this.right = right;
return this;
}
@Setter(AccessLevel.NONE)
private Object bottom;
public SankeySeries setBottom(Number bottom) {
this.bottom = bottom;
return this;
}
public SankeySeries setBottom(String bottom) {
this.bottom = bottom;
return this;
}
@Setter(AccessLevel.NONE)
private Object left;
public SankeySeries setLeft(Number left) {
this.left = left;
return this;
}
public SankeySeries setLeft(String left) {
this.left = left;
return this;
}
private String orient;
private Number nodeWidth;
private Number nodeGap;
private Boolean draggable;
@Setter(AccessLevel.NONE)
private Object focusNodeAdjacency;
public SankeySeries setFocusNodeAdjacency(Boolean focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
public SankeySeries setFocusNodeAdjacency(String focusNodeAdjacency) {
this.focusNodeAdjacency = focusNodeAdjacency;
return this;
}
private Number layoutIterations;
private SankeyNodeItemOption[] nodes;
private SankeyEdgeItemOption[] edges;
private SankeyEdgeItemOption[] links;
private SankeyLevelOption[] levels;
}

View File

@@ -0,0 +1,140 @@
package org.icepear.echarts.charts.scatter;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.scatter.ScatterDataItemOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class ScatterDataItem implements ScatterDataItemOption {
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public ScatterDataItem setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public ScatterDataItem setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public ScatterDataItem setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterDataItem setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterDataItem setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterDataItem setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public ScatterDataItem setId(Number id) {
this.id = id;
return this;
}
public ScatterDataItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public ScatterDataItem setName(Number name) {
this.name = name;
return this;
}
public ScatterDataItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public ScatterDataItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public ScatterDataItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public ScatterDataItem setValue(Number value) {
this.value = value;
return this;
}
public ScatterDataItem setValue(Number[] value) {
this.value = value;
return this;
}
public ScatterDataItem setValue(Object value) {
this.value = value;
return this;
}
public ScatterDataItem setValue(Object[] value) {
this.value = value;
return this;
}
public ScatterDataItem setValue(String value) {
this.value = value;
return this;
}
public ScatterDataItem setValue(String[] value) {
this.value = value;
return this;
}
}

View File

@@ -0,0 +1,22 @@
package org.icepear.echarts.charts.scatter;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.scatter.ScatterEmphasisOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
import org.icepear.echarts.origin.util.SeriesLabelOption;
@Accessors(chain = true)
@Data
public class ScatterEmphasis implements ScatterEmphasisOption {
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Object blurScope;
private String focus;
private Boolean scale;
}

View File

@@ -0,0 +1,387 @@
package org.icepear.echarts.charts.scatter;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.scatter.ScatterDataItemOption;
import org.icepear.echarts.origin.chart.scatter.ScatterEmphasisOption;
import org.icepear.echarts.origin.chart.scatter.ScatterSeriesOption;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.*;
import java.util.Map;
@Accessors(chain = true)
@Data
public class ScatterSeries implements ScatterSeriesOption {
private String mainType;
private String type = "scatter";
@Setter(AccessLevel.NONE)
private Object id;
public ScatterSeries setId(Number id) {
this.id = id;
return this;
}
public ScatterSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public ScatterSeries setName(Number name) {
this.name = name;
return this;
}
public ScatterSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public ScatterSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public ScatterSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public ScatterSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public ScatterSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public ScatterSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public ScatterSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public ScatterSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public ScatterSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public ScatterSeries setColor(String color) {
this.color = color;
return this;
}
public ScatterSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public ScatterSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public ScatterSeries setEmphasis(ScatterEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public ScatterSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public ScatterSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public ScatterSeries setData(Number[] data) {
this.data = data;
return this;
}
public ScatterSeries setData(Number[][] data) {
this.data = data;
return this;
}
public ScatterSeries setData(Object data) {
this.data = data;
return this;
}
public ScatterSeries setData(Object[] data) {
this.data = data;
return this;
}
public ScatterSeries setData(Object[][] data) {
this.data = data;
return this;
}
public ScatterSeries setData(ScatterDataItemOption[] data) {
this.data = data;
return this;
}
public ScatterSeries setData(String[] data) {
this.data = data;
return this;
}
public ScatterSeries setData(String[][] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public ScatterSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public ScatterSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
@Setter(AccessLevel.NONE)
private Object seriesLayoutBy;
public ScatterSeries setSeriesLayoutBy(Object seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
public ScatterSeries setSeriesLayoutBy(String seriesLayoutBy) {
this.seriesLayoutBy = seriesLayoutBy;
return this;
}
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public ScatterSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public ScatterSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public ScatterSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public ScatterSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private ItemStyleOption itemStyle;
private SeriesLabelOption label;
private Number xAxisIndex;
private Number yAxisIndex;
private String xAxisId;
private String yAxisId;
private Number polarIndex;
private String polarId;
private Number calendarIndex;
private String calendarId;
private Number geoIndex;
private String geoId;
private Number singleAxisIndex;
private String singleAxisId;
private Boolean large;
private Number largeThreshold;
private String stack;
private String symbol;
@Setter(AccessLevel.NONE)
private Object symbolSize;
public ScatterSeries setSymbolSize(Number symbolSize) {
this.symbolSize = symbolSize;
return this;
}
public ScatterSeries setSymbolSize(Number[] symbolSize) {
this.symbolSize = symbolSize;
return this;
}
private Number symbolRotate;
private Boolean symbolKeepAspect;
@Setter(AccessLevel.NONE)
private Object symbolOffset;
public ScatterSeries setSymbolOffset(Number symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterSeries setSymbolOffset(Number[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterSeries setSymbolOffset(String symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
public ScatterSeries setSymbolOffset(String[] symbolOffset) {
this.symbolOffset = symbolOffset;
return this;
}
private Number datasetIndex;
@Setter(AccessLevel.NONE)
private Object datasetId;
public ScatterSeries setDatasetId(Number datasetId) {
this.datasetId = datasetId;
return this;
}
public ScatterSeries setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
private Object sourceHeader;
private Object[] dimensions;
private OptionEncode encode;
private Boolean clip;
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.sunburst;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.SunburstEmphasisOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstItemStyleOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstLabelOption;
@Accessors(chain = true)
@Data
public class SunburstEmphasis implements SunburstEmphasisOption {
private SunburstItemStyleOption itemStyle;
private SunburstLabelOption label;
private Object blurScope;
private String focus;
}

View File

@@ -0,0 +1,75 @@
package org.icepear.echarts.charts.sunburst;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.SunburstItemStyleOption;
import org.icepear.echarts.origin.util.DecalObject;
@Accessors(chain = true)
@Data
public class SunburstItemStyle implements SunburstItemStyleOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String borderColor;
private Number borderWidth;
private String borderType;
private Object borderCap;
private Object borderJoin;
private Number borderDashOffset;
private Number borderMiterLimit;
private String color;
private Number opacity;
@Setter(AccessLevel.NONE)
private Object decal;
public SunburstItemStyle setDecal(DecalObject decal) {
this.decal = decal;
return this;
}
public SunburstItemStyle setDecal(String decal) {
this.decal = decal;
return this;
}
@Setter(AccessLevel.NONE)
private Object borderRadius;
public SunburstItemStyle setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public SunburstItemStyle setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public SunburstItemStyle setBorderRadius(String borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public SunburstItemStyle setBorderRadius(String[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
}

View File

@@ -0,0 +1,182 @@
package org.icepear.echarts.charts.sunburst;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.SunburstLabelOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class SunburstLabel implements SunburstLabelOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public SunburstLabel setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public SunburstLabel setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public SunburstLabel setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public SunburstLabel setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public SunburstLabel setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public SunburstLabel setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public SunburstLabel setPadding(Number padding) {
this.padding = padding;
return this;
}
public SunburstLabel setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public SunburstLabel setWidth(Number width) {
this.width = width;
return this;
}
public SunburstLabel setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
@Setter(AccessLevel.NONE)
private Object rotate;
public SunburstLabel setRotate(Number rotate) {
this.rotate = rotate;
return this;
}
public SunburstLabel setRotate(String rotate) {
this.rotate = rotate;
return this;
}
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public SunburstLabel setPrecision(Number precision) {
this.precision = precision;
return this;
}
public SunburstLabel setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
private String formatter;
private Number minAngle;
}

View File

@@ -0,0 +1,110 @@
package org.icepear.echarts.charts.sunburst;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.SunburstItemStyleOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstLabelOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstNodeItemOption;
@Accessors(chain = true)
@Data
public class SunburstNodeItem implements SunburstNodeItemOption {
private SunburstItemStyleOption itemStyle;
private SunburstLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object id;
public SunburstNodeItem setId(Number id) {
this.id = id;
return this;
}
public SunburstNodeItem setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public SunburstNodeItem setName(Number name) {
this.name = name;
return this;
}
public SunburstNodeItem setName(String name) {
this.name = name;
return this;
}
@Setter(AccessLevel.NONE)
private Object groupId;
public SunburstNodeItem setGroupId(Number groupId) {
this.groupId = groupId;
return this;
}
public SunburstNodeItem setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
private Boolean selected;
@Setter(AccessLevel.NONE)
private Object value;
public SunburstNodeItem setValue(Number value) {
this.value = value;
return this;
}
public SunburstNodeItem setValue(Number[] value) {
this.value = value;
return this;
}
public SunburstNodeItem setValue(Object value) {
this.value = value;
return this;
}
public SunburstNodeItem setValue(Object[] value) {
this.value = value;
return this;
}
public SunburstNodeItem setValue(String value) {
this.value = value;
return this;
}
public SunburstNodeItem setValue(String[] value) {
this.value = value;
return this;
}
private String nodeClick;
private String link;
private String target;
private SunburstNodeItemOption[] children;
private Boolean collapsed;
private String cursor;
}

View File

@@ -0,0 +1,309 @@
package org.icepear.echarts.charts.sunburst;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.*;
import org.icepear.echarts.origin.component.marker.MarkAreaOption;
import org.icepear.echarts.origin.component.marker.MarkLineOption;
import org.icepear.echarts.origin.component.marker.MarkPointOption;
import org.icepear.echarts.origin.util.LabelLayoutOption;
import org.icepear.echarts.origin.util.LabelLineOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class SunburstSeries implements SunburstSeriesOption {
private String mainType;
private String type = "sunburst";
@Setter(AccessLevel.NONE)
private Object id;
public SunburstSeries setId(Number id) {
this.id = id;
return this;
}
public SunburstSeries setId(String id) {
this.id = id;
return this;
}
@Setter(AccessLevel.NONE)
private Object name;
public SunburstSeries setName(Number name) {
this.name = name;
return this;
}
public SunburstSeries setName(String name) {
this.name = name;
return this;
}
private Number z;
private Number zlevel;
private Boolean animation;
private Number animationThreshold;
@Setter(AccessLevel.NONE)
private Object animationDuration;
public SunburstSeries setAnimationDuration(Number animationDuration) {
this.animationDuration = animationDuration;
return this;
}
public SunburstSeries setAnimationDuration(Object animationDuration) {
this.animationDuration = animationDuration;
return this;
}
private Object animationEasing;
@Setter(AccessLevel.NONE)
private Object animationDelay;
public SunburstSeries setAnimationDelay(Number animationDelay) {
this.animationDelay = animationDelay;
return this;
}
public SunburstSeries setAnimationDelay(Object animationDelay) {
this.animationDelay = animationDelay;
return this;
}
@Setter(AccessLevel.NONE)
private Object animationDurationUpdate;
public SunburstSeries setAnimationDurationUpdate(Number animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
public SunburstSeries setAnimationDurationUpdate(Object animationDurationUpdate) {
this.animationDurationUpdate = animationDurationUpdate;
return this;
}
private Object animationEasingUpdate;
@Setter(AccessLevel.NONE)
private Object animationDelayUpdate;
public SunburstSeries setAnimationDelayUpdate(Number animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
public SunburstSeries setAnimationDelayUpdate(Object animationDelayUpdate) {
this.animationDelayUpdate = animationDelayUpdate;
return this;
}
@Setter(AccessLevel.NONE)
private Object color;
public SunburstSeries setColor(String color) {
this.color = color;
return this;
}
public SunburstSeries setColor(String[] color) {
this.color = color;
return this;
}
private String[][] colorLayer;
@Setter(AccessLevel.NONE)
private Object emphasis;
public SunburstSeries setEmphasis(Object emphasis) {
this.emphasis = emphasis;
return this;
}
public SunburstSeries setEmphasis(SunburstEmphasisOption emphasis) {
this.emphasis = emphasis;
return this;
}
private Object select;
private Object blur;
private MarkAreaOption markArea;
private MarkLineOption markLine;
private MarkPointOption markPoint;
private Object tooltip;
private Boolean silent;
private String blendMode;
private String cursor;
@Setter(AccessLevel.NONE)
private Object dataGroupId;
public SunburstSeries setDataGroupId(Number dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
public SunburstSeries setDataGroupId(String dataGroupId) {
this.dataGroupId = dataGroupId;
return this;
}
@Setter(AccessLevel.NONE)
private Object data;
public SunburstSeries setData(Object data) {
this.data = data;
return this;
}
public SunburstSeries setData(SunburstNodeItemOption[] data) {
this.data = data;
return this;
}
private String colorBy;
private Boolean legendHoverLink;
@Setter(AccessLevel.NONE)
private Object progressive;
public SunburstSeries setProgressive(Boolean progressive) {
this.progressive = progressive;
return this;
}
public SunburstSeries setProgressive(Number progressive) {
this.progressive = progressive;
return this;
}
private Number progressiveThreshold;
private String progressiveChunkMode;
private String coordinateSystem;
private Number hoverLayerThreshold;
private String seriesLayoutBy;
private LabelLineOption labelLine;
private LabelLayoutOption labelLayout;
private Object stateAnimation;
@Setter(AccessLevel.NONE)
private Object universalTransition;
public SunburstSeries setUniversalTransition(Boolean universalTransition) {
this.universalTransition = universalTransition;
return this;
}
public SunburstSeries setUniversalTransition(Object universalTransition) {
this.universalTransition = universalTransition;
return this;
}
private Map<String, Boolean> selectedMap;
@Setter(AccessLevel.NONE)
private Object selectedMode;
public SunburstSeries setSelectedMode(Boolean selectedMode) {
this.selectedMode = selectedMode;
return this;
}
public SunburstSeries setSelectedMode(String selectedMode) {
this.selectedMode = selectedMode;
return this;
}
private SunburstItemStyleOption itemStyle;
private SunburstLabelOption label;
@Setter(AccessLevel.NONE)
private Object center;
public SunburstSeries setCenter(Number[] center) {
this.center = center;
return this;
}
public SunburstSeries setCenter(String[] center) {
this.center = center;
return this;
}
@Setter(AccessLevel.NONE)
private Object radius;
public SunburstSeries setRadius(Number radius) {
this.radius = radius;
return this;
}
public SunburstSeries setRadius(Number[] radius) {
this.radius = radius;
return this;
}
public SunburstSeries setRadius(Object[] radius) {
this.radius = radius;
return this;
}
public SunburstSeries setRadius(String radius) {
this.radius = radius;
return this;
}
public SunburstSeries setRadius(String[] radius) {
this.radius = radius;
return this;
}
private Boolean clockwise;
private Number startAngle;
private Number minAngle;
private Boolean stillShowZeroSum;
private String nodeClick;
private Boolean renderLabelForZeroData;
private SunburstLevelOption[] levels;
private String animationType;
private String sort;
}

View File

@@ -0,0 +1,65 @@
package org.icepear.echarts.charts.sunburst;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.sunburst.SunburstItemStyleOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstLabelOption;
import org.icepear.echarts.origin.chart.sunburst.SunburstLevelOption;
@Accessors(chain = true)
@Data
public class SunburstSeriesLevel implements SunburstLevelOption {
private SunburstItemStyleOption itemStyle;
private SunburstLabelOption label;
private Object emphasis;
private Object select;
private Object blur;
@Setter(AccessLevel.NONE)
private Object radius;
public SunburstSeriesLevel setRadius(Number[] radius) {
this.radius = radius;
return this;
}
public SunburstSeriesLevel setRadius(String[] radius) {
this.radius = radius;
return this;
}
@Setter(AccessLevel.NONE)
private Object r;
public SunburstSeriesLevel setR(Number r) {
this.r = r;
return this;
}
public SunburstSeriesLevel setR(String r) {
this.r = r;
return this;
}
@Setter(AccessLevel.NONE)
private Object r0;
public SunburstSeriesLevel setR0(Number r0) {
this.r0 = r0;
return this;
}
public SunburstSeriesLevel setR0(String r0) {
this.r0 = r0;
return this;
}
private Object highlight;
}

View File

@@ -0,0 +1,20 @@
package org.icepear.echarts.charts.themeRiver;
import lombok.Data;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.themeRiver.ThemeRiverEmphasisOption;
import org.icepear.echarts.origin.chart.themeRiver.ThemeRiverLabelOption;
import org.icepear.echarts.origin.util.ItemStyleOption;
@Accessors(chain = true)
@Data
public class ThemeRiverEmphasis implements ThemeRiverEmphasisOption {
private String focus;
private ThemeRiverLabelOption label;
private ItemStyleOption itemStyle;
private Object blurScope;
}

View File

@@ -0,0 +1,171 @@
package org.icepear.echarts.charts.themeRiver;
import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.icepear.echarts.origin.chart.themeRiver.ThemeRiverLabelOption;
import org.icepear.echarts.origin.util.TextCommonOption;
import java.util.Map;
@Accessors(chain = true)
@Data
public class ThemeRiverLabel implements ThemeRiverLabelOption {
private Number shadowBlur;
private String shadowColor;
private Number shadowOffsetX;
private Number shadowOffsetY;
private String color;
private String fontStyle;
private String fontWeight;
private String fontFamily;
@Setter(AccessLevel.NONE)
private Object fontSize;
public ThemeRiverLabel setFontSize(Number fontSize) {
this.fontSize = fontSize;
return this;
}
public ThemeRiverLabel setFontSize(String fontSize) {
this.fontSize = fontSize;
return this;
}
private String align;
private String verticalAlign;
private String baseline;
private Number opacity;
private Number lineHeight;
@Setter(AccessLevel.NONE)
private Object backgroundColor;
public ThemeRiverLabel setBackgroundColor(Object backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
public ThemeRiverLabel setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
private String borderColor;
private Number borderWidth;
private String borderType;
private Number borderDashOffset;
@Setter(AccessLevel.NONE)
private Object borderRadius;
public ThemeRiverLabel setBorderRadius(Number borderRadius) {
this.borderRadius = borderRadius;
return this;
}
public ThemeRiverLabel setBorderRadius(Number[] borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@Setter(AccessLevel.NONE)
private Object padding;
public ThemeRiverLabel setPadding(Number padding) {
this.padding = padding;
return this;
}
public ThemeRiverLabel setPadding(Number[] padding) {
this.padding = padding;
return this;
}
@Setter(AccessLevel.NONE)
private Object width;
public ThemeRiverLabel setWidth(Number width) {
this.width = width;
return this;
}
public ThemeRiverLabel setWidth(String width) {
this.width = width;
return this;
}
private Number height;
private String textBorderColor;
private Number textBorderWidth;
private String textBorderType;
private Number textBorderDashOffset;
private Number textShadowBlur;
private String textShadowColor;
private Number textShadowOffsetX;
private Number textShadowOffsetY;
private String tag;
private Boolean show;
private String position;
private Number distance;
private Number rotate;
private Number[] offset;
private Number minMargin;
private Object overflow;
private Boolean silent;
@Setter(AccessLevel.NONE)
private Object precision;
public ThemeRiverLabel setPrecision(Number precision) {
this.precision = precision;
return this;
}
public ThemeRiverLabel setPrecision(String precision) {
this.precision = precision;
return this;
}
private Boolean valueAnimation;
private Map<String, TextCommonOption> rich;
private String formatter;
private Number margin;
}

Some files were not shown because too many files have changed in this diff Show More