NewAI Enhanced
6.0.0
ECharts 6.0
Breaking Changes
- Default theme redesigned — Visual style and component positioning changed (legend now bottom by default). Use
echarts/theme/v5.jsto restore v5 appearance. - Cartesian axis layout — Anti-overflow and axis label/name overlap prevention enabled by default; axes may shift slightly. Disable with
grid.outerBoundsMode: 'none'orxAxis/yAxis.axisLabel.nameMoveOverlap: false. centerpercent base corrected — ongeo,series.map,series.graph,series.tree. SetlegacyViewCoordSysCenterBase: trueto restore old behavior.- Label rich styles now inherit plain label styles —
fontStyle,fontWeight,fontSize,fontFamily,textShadow*properties inherited by default. UserichInheritPlainLabel: falseto revert. - Theme file migrated — v5
echarts/src/theme/light.ts→echarts/theme/rainbow.js
Features
- New chord series — dedicated chord diagram support
- Matrix coordinate system — grid cells can contain other series/components (grid, geo, polar, etc.) with declarative layout; works with calendar
- Reusable custom series and
compoundPathsupport inrenderItem - Scatter jittering — randomize point positions to reduce overplotting
- Axis breaks — display discontinuous ranges on axes
- Dynamic theme switching — register and switch themes at runtime
- Roam infrastructure overhaul —
roamTriggeroption,clipon geo/map series, cursor styling,preserveAspecton geo/map/graph/tree, fixedcenterpercent base, improved overlap handling - Graph series thumbnails
- Marker z-order control —
zandz2options for markPoint/markLine/markArea;relativeTofor position reference - Sankey roaming support
- Stack order reversing
- angleAxis label tooltips
- Tooltip display transitions —
displayTransitionoption - visualMap
unboundedRange— display unmapped value ranges - Legend
triggerEvent— emit events on legend interactions - Custom series
tooltipDisabled - i18n additions — Norwegian Bokmål (nb-NO), Greek (EL)
Fixes
- Label rich styles now properly inherit plain label styles
- Label layout margin corrections
- dataZoom: fixed time axis shape distribution; restricted range on brush end
- Tooltip: null values on category axes now show tooltips; fixed memory leak; coord transform markers properly cleaned up
- visualMap: text styles now work correctly
- Heatmap: labels outside calendar range no longer display
- Pie: labelLine removal error fixed
- Sankey: browser crash with
emphasis.focus: 'trajectory'on large data - Custom series: NPE on leave transition
- Log axis: incorrect rounding fixed; supports large negative exponents
- Cartesian: extreme small numbers now display correctly
- Radar:
blur.itemStylenow works - SVG: removed unnecessary support check in
getSvgDataURL - Polar bar:
roundCapupdates properly - Various dimension
- [Feature] [theme] New theme for ECharts 6.0. #20865 #21097 #21114 (Ovilia)
- [Feature] [chord] New chord series. #20522 (Ovilia)
- [Feature] [matrix&calendar] New matrix coordinate system. And all series and components (including other coordinate systems, such as
grid(Cartesian),geo,polar, etc.) are supported to be declaratively laid out in the cells of matrix and calendar coordinate system. #19807 #21093 (Ovilia) #21005 #21108 (100pah) - [Feature] [custom] Support reusable custom series. #20226 (Ovilia)
- [Feature] [cartesian] Introduce new layout mechanism to avoid Cartesian (i.e.,
gridcomponent) axis labels and axis names overflowing the canvas, prevent axis names from overlapping with axis labels, and make them the default. #21059 (100pah) #19534 (robin-gerling) #16825 (konrad-amtenbrink) - [Feature] [scatter] Support jittering for scatter series. #19941 #21067 (Ovilia)
- [Feature] [axis] Support break on the axis. #19459 (Ovilia) #20857 (100pah)
- [Feature] [theme] Support dynamically registering and switching themes. #20705 (Ovilia)
- [Feature] [roam] Roaming infrastructure enhancement - support users specifying roaming area by
roamTrigger; supportclipongeoandseries.map; support cursor style change when hovering on the roaming area; supportpreserveAspectongeo,series.mapandseries.graph; fix the percent base ofcenterongeo,series.map,series.graphandseries.tree; enhance the behavior for roaming area overlapping. #19807#issuecomment-2974437299 (100pah) - [Feature] [thumbnail] Support thumbnail for the graph series. #19807#issuecomment-3013454598 (100pah) #17471 (Lruler)
- [Feature] [marker] Support
zoption for markPoint/markLine/markArea. #21117 (sz-p) - [Feature] [marker] Support
z2option for markPoint/markLine/markArea. #20782 (sz-p) - [Feature] [stack] Support reversing the stack order. #20998 (Justin-ZS)
- [Feature] [sankey] Support roaming for sankey series. #20321 (Ovilia)
- [Feature] [custom] Support compoundPath in custom series renderItem. #20402 #21040 (Ovilia)
- [Feature] [marker] Support
relativeTooption for specifying the relative target of marker position. #20166 #21042 (Ovilia) - [Feature] [axis] Support tooltip for angleAxis label. #20986 (plainheart)
- [Feature] [tooltip] Support
displayTransitionoption to control whether to enable the tooltip display transition. #20966 (jqqin) - [Feature] [visualMap] Support
unboundedRangeoption. #21113 (100pah) - [Feature] [legend] Support
triggerEventoption. #18164 #20907 (sz-p) - [Feature] [custom] Support
tooltipDisabledfor custom series. #20447 (Ovilia) - [Feature] [i18n] Add Norwegian Bokmål (nb-NO) translation. #20792 (joakimono)
- [Feature] [i18n] Add Greek (EL) translation. #21119 (tassosgeo)
- [Fix] [label] Fix label rich style does not inherit the plain label style. #20977 (plainheart) #21016 (100pah)
- [Fix] [label] Fix label layout margin. #21103 (100pah)
- [Fix] [dataZoom] Fix data shape distribution for time axis. #16978 (andrearoota) #21043 #21039 (Ovilia)
- [Fix] [tooltip] Fix null value item on category axis should be able to show tooltip. #20777 (Justin-ZS)
- [Fix] [visualMap] Fix some text style can't work on visualMap. #20961 (plainheart)
- [Fix] [dataZoom] Restrict range on brushEnd. #20814 (mortalYoung)
- [Fix] [heatmap] Fix labels not in calendar range are unexpectedly displayed. #20699 (plainheart)
- [Fix] [series] Fix mismatched dimension index. #20682 (Justin-ZS)
- [Fix] [bar] Fix polar bar should update
roundCapwhen changes. #20582 (Ovilia) - [Fix] [pie] Fix labelLine may be not removed and cause error when single label position is not in outside. #20906 (plainheart)
- [Fix] [sankey] Fix browser crash when
emphasis.focusis'trajectory'with large data. #20959 (plainheart) - [Fix] [custom] Fix potential NPE when applying leave transition. #20920 (plainheart)
- [Fix] [tooltip] Fix potential memory leakage by explicitly unbinding event listeners. #21087 (seaheart)
- [Fix] [axis] [log] Fix incorrect rounding usage, and support data with big negative exponent. #21107 (SihongShen) #21120 (100pah)
- [Fix] [axis] Fix extreme small numbers can not be displayed in Cartesian due to the inappropriate rounding precision. #21120 (100pah) (SihongShen)
- [Fix] [dataZoom] Change moveHandler cursor to default. #20304 (ribeirompl)
- [Fix] [tooltip] Fix style coord transform markers are not removed after the tooltip is disposed. #20987 (plainheart)
- [Fix] [bar] Remove unused
startValueoption from theBarSeriesOptioninterface. #20901 (plainheart) - [Fix] [title] Fix title text style width type should not include string. #20800 (sz-p)
- [Fix] [radar] Fix
blur.itemStylenot working. #21081 (mustcanbedo) #21124 (Ovilia) - [Fix] [roam] Fix RoamControllerHost importing path. #20313 (Ovilia)
- [Fix] [svg] Remove SVG support check in
getSvgDataURL. #20760 (plainheart) - [Break] Breaking changes against v5.6.0:
- The default theme has been changed, including the visual style and the default location settings of components and series. For example, the default legend position is now at the bottom of the canvas. The new default settings are more reasonble, but if they affect the existing usage, use
echarts/theme/v5.jsto restore the old visual style and location settings. See #20865. - The v5
echarts/src/theme/light.tsis now migrated toecharts/theme/rainbow.js. - The position of Cartesian axes might shift slightly if the axis names or labels previously overflowed the canvas or overlapped, as anti-overflow and anti-axisLabel-axisName-overlap mechanism are enabled by default. In most cases that changes will be indiscernible to the naked eye. But if any unreasonable change occurs, you can use option
grid.outerBoundsMode: 'none'to disable the anti-overflow mechanism, and/or use optionxAxis/yAxis.axisLabel.nameMoveOverlap: falseto disable the anti-axisLabel-axisName-overlap mechanism. See #21059. - The percent base of the option
center(such as the base of'33%') ongeo,series.map,series.graphandseries.treeare changed. The previous percent base is incorrect. But if you need to restore, setlegacyViewCoordSysCenterBase: true(on the root level of an echarts option). See #19807#issuecomment-2974437299. - Now label rich styles (
fontStyle,fontWeight,fontSize,fontFamily,textShadowColor,textShadowBlur,textShadowOffsetX,textShadowOffsetY) are changed to inherit the plain label styles. You can userichInheritPlainLabel: false(on the root level of an echarts option, or at the same level of the label style options) to restore it. See #20977
- The default theme has been changed, including the visual style and the default location settings of components and series. For example, the default legend position is now at the bottom of the canvas. The new default settings are more reasonble, but if they affect the existing usage, use
New Contributors
- @Lruler made their first contribution in https://github.com/apache/echarts/pull/17471
- @robin-gerling made their first contribution in https://github.com/apache/echarts/pull/19534
- @shaymolcho made their first contribution in https://github.com/apache/echarts/pull/20727
- @joakimono made their first contribution in https://github.com/apache/echarts/pull/20792
- @Justin-ZS made their first contribution in https://github.com/apache/echarts/pull/20682
- @mortalYoung made their first contribution in https://github.com/apache/echarts/pull/20814
- @jbampton made their first contribution in https://github.com/apache/echarts/pull/20887
- @jqqin made their first contribution in https://github.com/apache/echarts/pull/20966
- @SchnWalter made their first contribution in https://github.com/apache/echarts/pull/20967
- @seaheart made their first contribution in https://github.com/apache/echarts/pull/21087
- @souhailaS made their first contribution in https://github.com/apache/echarts/pull/21110
- @SihongShen made their first contribution in https://github.com/apache/echarts/pull/21107
- @lzl0304 made their first contribution in https://github.com/apache/echarts/pull/21104
- @tassosgeo made their first contribution in https://github.com/apache/echarts/pull/21119
- @mustcanbedo made their first contribution in https://github.com/apache/echarts/pull/21081