-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: raylua2566/ECharts-Java
base: master
head repository: ECharts-Java/ECharts-Java
compare: master
- 14 commits
- 296 files changed
- 7 contributors
Commits on Nov 4, 2024
-
Update Author List and Add Github Star History Graph (ECharts-Java#88)
* Update Author List Add collaborator @PeiyangYu into author list * Add Github Star History Graph to show more project metrics
Configuration menu - View commit details
-
Copy full SHA for d10fefe - Browse repository at this point
Copy the full SHA d10fefeView commit details
Commits on Nov 11, 2024
-
[feat] Sort Data transform has been supported (ECharts-Java#72)
* Update DataTransformConfigOption.java Add order * Update DataTransformConfig.java Add order
Configuration menu - View commit details
-
Copy full SHA for 67cee73 - Browse repository at this point
Copy the full SHA 67cee73View commit details -
Update Readme (ECharts-Java#89)
* update readme * add reference to export images * add reference to export images * remove unnecessary file
Configuration menu - View commit details
-
Copy full SHA for 9d48d7d - Browse repository at this point
Copy the full SHA 9d48d7dView commit details
Commits on Apr 22, 2025
-
Support for Serializable-Interface (ECharts-Java#93)
* Add Serializable to all classes * Add Serializable to generated classes * Add Serializable interface to manual created classes * Add @serial annotation * Remove @serial annotation --------- Co-authored-by: Markus Gettrup <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f89e623 - Browse repository at this point
Copy the full SHA f89e623View commit details
Commits on Apr 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a120985 - Browse repository at this point
Copy the full SHA a120985View commit details
Commits on May 5, 2025
-
Update config and correspondin class (ECharts-Java#96)
* update config and corresponding source class * add class * add class
Configuration menu - View commit details
-
Copy full SHA for a7c56ee - Browse repository at this point
Copy the full SHA a7c56eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5145d1 - Browse repository at this point
Copy the full SHA e5145d1View commit details -
Release 1.1.0 (ECharts-Java#97)
* Release 1.1.0 * Remove unnecessary plugins
Configuration menu - View commit details
-
Copy full SHA for 61c8230 - Browse repository at this point
Copy the full SHA 61c8230View commit details
Commits on May 14, 2026
-
Add Map chart support (closes ECharts-Java#100) (ECharts-Java#101)
* Add Map chart support (closes ECharts-Java#100) Adds a Map chart series (type: "map") so users can render GEO/region maps such as the USA example without dropping down to a custom SeriesOption implementation. Mirrors the structure used by other charts (Funnel, Treemap, Heatmap): origin interfaces under origin/chart/map and Lombok data classes under charts/map, plus a MapChart wrapper extending Chart<MapChart, MapSeries>. The new public API: - MapChart, MapSeries, MapDataItem, MapEmphasis, MapItemStyle - MapSeriesOption, MapStateOption, MapEmphasisOption, MapDataItemOption, MapItemStyleOption (with map-specific areaColor) Covers: simple snapshot test, advanced USA-map snapshot reproducing the example from the issue, render-engine smoke test, and direct unit tests exercising every public setter (including roam/layoutSize overloads, boundingCoords, nameMap, projection, emphasis flags). 23 new tests, all passing. Co-Authored-By: Claude Opus 4.7 <[email protected]> * Drive Map chart code generation from JSON configs Adds scripts/config JSON definitions for the Map series following the established Funnel/Treemap/Heatmap pattern, so MapSeries, MapDataItem, MapEmphasis, MapItemStyle and the corresponding origin interfaces are produced by scripts/config-to-java.py rather than hand-written. Regenerated Java mirrors the previous hand-written files; only field order shifts to put inherited fields ahead of own fields, matching what the generator emits for every other chart. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ebcb0d0 - Browse repository at this point
Copy the full SHA ebcb0d0View commit details -
Add EffectScatter chart support (ECharts-Java#102)
* Add EffectScatter chart support Adds the effectScatter series (type: "effectScatter") — a scatter chart where each data point pulses with a configurable ripple animation. The canonical use case is highlighting hotspots on a map or any 2D plot. The new public API: - EffectScatter (top-level CartesianCoordChart wrapper) - EffectScatterSeries, EffectScatterDataItem, EffectScatterEmphasis - RippleEffect (period, scale, brushType, color, number) Mirrors the existing Scatter structure so all coordinate systems work (cartesian2d, polar, geo, calendar, single). Adds the effectScatter- specific fields on top: rippleEffect, showEffectOn ("render"|"emphasis"), effectType. Tests (22 new, all passing): - BasicEffectScatterTest (snapshot) - EffectScatterSeriesTest (18 unit tests covering every setter overload, ripple nesting, null-omission, axis indices, geo/polar coord systems) - RenderEffectScatterByChartTest (Engine smoke test) - EffectScatterDemo (writes /tmp/effect-scatter-demo.html for visual inspection — opt-in via mvn test -Dtest=EffectScatterDemo) Co-Authored-By: Claude Opus 4.7 <[email protected]> * Drive EffectScatter chart code generation from JSON configs Adds scripts/config JSON definitions for the EffectScatter series following the established pattern, so EffectScatterSeries, RippleEffect, EffectScatterDataItem, EffectScatterEmphasis and the corresponding origin interfaces are produced by scripts/config-to-java.py rather than hand-written. Regenerated output matches the previous hand-written code; only field/method order shifts to put inherited members ahead of own members, matching what the generator emits for every other chart. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>Configuration menu - View commit details
-
Copy full SHA for b0c6c01 - Browse repository at this point
Copy the full SHA b0c6c01View commit details -
Add Lines chart support (ECharts-Java#103)
* Add Lines chart support Adds the lines series (type: "lines") — draws lines/curves between coordinate pairs, the standard pick for flight paths, geo flows, and migration visualizations. Pairs naturally with the map and effectScatter series for animated map overlays. The new public API: - Lines (top-level wrapper, extends base Chart so xAxis/yAxis are not auto-emitted; users wire axes via Option for cartesian usage) - LinesSeries, LinesDataItem, LinesEmphasis, LinesEffect Key fields: - coords: Number[][] on each LinesDataItem (start/end or polyline points) - coordinateSystem: "geo" | "cartesian2d" | "polar" - polyline, large, largeThreshold - LinesEffect: show, period, delay, constantSpeed, symbol, symbolSize, color, trailLength, loop, roundTrip — drives the moving-symbol animation Tests (25 new, all passing): - BasicLinesTest (snapshot) - LinesSeriesTest (21 unit tests covering every setter overload, all three coordinate systems, effect nesting, lineStyle nesting, emphasis flags, the no-empty-axis-arrays invariant, null-omission) - RenderLinesByChartTest (Engine smoke test) - LinesDemo (writes /tmp/lines-demo.html — opt-in) Co-Authored-By: Claude Opus 4.7 <[email protected]> * Drive Lines chart code generation from JSON configs Adds scripts/config JSON definitions for the Lines series so LinesSeries, LinesEffect, LinesDataItem, LinesEmphasis and the corresponding origin interfaces are produced by scripts/config-to-java.py rather than hand-written. Field ordering on the class shifts to put inherited fields ahead of own fields, matching generator output across other charts. setSeriesLayoutBy collapses to a single String setter because LinesSeriesOption does not extend SeriesEncodeOptionMixin; no tests exercised the prior Object overload. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6662f86 - Browse repository at this point
Copy the full SHA 6662f86View commit details -
Add PictorialBar chart support (ECharts-Java#104)
* Add PictorialBar chart support Adds the pictorialBar series (type: "pictorialBar") — a bar chart that uses repeated symbols (pictograms) instead of solid rectangles. Standard choice for infographic-style dashboards (icon stacks, progress pictograms). The new public API: - PictorialBar (top-level CartesianCoordChart wrapper, mirrors Bar) - PictorialBarSeries, PictorialBarDataItem, PictorialBarEmphasis Reuses BarItemStyleOption / BarLabelOption / BarBackgroundStyleOption from the existing Bar package — pictorialBar shares those semantics. The pictogram-specific fields (with the standard Number/String overload pattern where applicable): - symbol (preset name or path://... SVG) - symbolSize, symbolPosition, symbolOffset, symbolRotate - symbolRepeat (Boolean | Number | String "fixed") - symbolRepeatDirection - symbolMargin, symbolClip, symbolBoundingData, symbolPatternSize - hoverAnimation All also available per-data-item to override series-level settings. Tests (26 new, all passing): - BasicPictorialBarTest (snapshot) - PictorialBarSeriesTest (22 unit tests covering every overload, all three symbolRepeat type variants, per-data-item overrides, bar-layout passthrough, item/label nesting, emphasis flags, null-omission) - RenderPictorialBarByChartTest (Engine smoke test) - PictorialBarDemo (writes /tmp/pictorial-bar-demo.html — opt-in) Co-Authored-By: Claude Opus 4.7 <[email protected]> * Drive PictorialBar chart code generation from JSON configs Adds scripts/config JSON definitions for the PictorialBar series so PictorialBarSeries, PictorialBarDataItem, PictorialBarEmphasis and the corresponding origin interfaces are produced by scripts/config-to-java.py rather than hand-written. Field/method ordering on the classes shifts to put inherited members ahead of own members, matching generator output across other charts. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d1f636 - Browse repository at this point
Copy the full SHA 6d1f636View commit details -
Add JsFunction for tooltip/label formatter callbacks (closes ECharts-…
…Java#86) (ECharts-Java#105) ECharts on the JS side accepts string templates ("{b}: {c}") *or* a function (params) => string for fields like tooltip.formatter, label.formatter, axisLabel.formatter, visualMap.formatter, etc. The string form already worked through the existing setFormatter(String) overloads; the function form was unreachable because Gson quoted any Object value as a JSON string. This adds a JsFunction value class plus a low-level Gson TypeAdapter that uses JsonWriter.jsonValue(String) to write the body straight into the output stream, unquoted. Result: when the option JSON is embedded into the rendered <script> tag (Engine uses Handlebars triple-braces), the function survives as a real JS callable. Usage — pass through any existing setFormatter(Object) overload: tooltip.setFormatter((Object) new JsFunction( "function (p) { return p.name + ': ' + p.value + ' (' + p.percent + '%)'; }")); The adapter is registered automatically inside EChartsSerializer's constructor — no new public surface beyond the JsFunction class itself. Tests (18 new, all passing): - JsFunctionTest covers the value class (equals/hashCode/null-rejection), unquoted-output invariant, multi-line bodies, HTML <tag> preservation (HTML escaping must stay disabled for raw JS), end-to-end through Tooltip on both Pie and Bar, sanity check that string formatters remain quoted, and the read direction (best-effort symmetric path) - JsFunctionTooltipDemo writes /tmp/js-function-tooltip-demo.html with a styled Pie chart whose tooltip uses the exact JS shape from the issue (params.marker / name / value / percent) Co-authored-by: Claude Opus 4.7 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 629ffea - Browse repository at this point
Copy the full SHA 629ffeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02641dd - Browse repository at this point
Copy the full SHA 02641ddView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master