6.1.0
Added 14
- Support `dataMin` and `dataMax` option for calculating a nice axis extent
- Enable all types of axis (`value`/`time`/`category`/`log`) to render series without overflow and provide `containShape` option and corresponding `clip` option
- Automatically exclude non-positive series data values on `log` axis
- Enable `axisLabel.formatter` to receive its index for working with `customValues`
- Add `triggerEvent` option for line series for more control over mouse event
- Add `tangential-noflip` rotation mode to pie labels to keep labels tangential without flipping
- Support `'auto'` value for `progress.color` in gauge charts
- Add `clockwise` option for radar charts
- Add `cursor` option for candlestick series and add `cursorGrab` and `cursorGrabbing` options for inside dataZoom
- Enable `clip` option on scatter and effectScatter series on geo
- Add `seriesTargets` option for visualMap to support multiple series-dimension mappings
- Support `matrix.x/y.length` for conveniently creating a headless matrix
- Add `triggerEvent` option to matrix series to support triggering event on matrix cells
- Add Latvian (LV) translation
Fixed 8
- Change and clarify the rounding error and auto-precision utils and solutions
- Fix chart does not work when using `customValues` with `formatter` in time axis label
- Fix and clarify `alignTick` strategy and fix `LogScale` precision
- Fix duplicate ticks when using time axis or `customValues` which causes jitter of `splitArea` and fix `showMin/MaxLabel` handling of category axis
- Fix time axis bug when value scale is in millisecond
- Fix wrong label position when bar series has a 0 width/height
- Fix jitter layout does not support progressive rendering and cause chart to be frozen
- Fix effect symbol flip on unidirectional loop end when `roundTrip` is not enabled
- [Feature] [axis] Support
dataMinanddataMaxoption for calculating a nice axis extent. #20838 (Justin-ZS, Ovilia) - [Feature] [axis] Comprehensively enable all types of axis (i.e.,
"value"/"time"/"category"/"log") to render series (typically"bar"/"pictorialBar"/"candlestick"/"boxplot") without overflow (including the case"category"axis withboundaryGap: false); providecontainShapeoption; provide some correspondingclipoption. dbfaf6a73 fe932a2aa 3973b21ee (100pah) #21511 (Akash Sonune) - [Feature] [axis] Automatically exclude non-positive series data values on
"log"axis. dedc5dc18 (100pah) - [Feature] [axis] Enable
axisLabel.formatterto receive its index for working withcustomValues. #21220 #21432 (Szymon Pachucki, Ovilia, plainheart) - [Feature] [line] Add
triggerEventoption for more control over mouse event. #21001 (Steven Cobb, plainheart) - [Feature] [pie] Add
tangential-nofliprotation mode to keep labels tangential without flipping. #21258 (春秋半夏, Ovilia) - [Feature] [gauge]
progress.colorsupports'auto'. #21224 (StNimmerlein, Ovilia) - [Feature] [radar] Add
clockwiseoption. #21143 (Dai Xuezhou, Ovilia) - [Feature] [candlestick] [dataZoom] Add
cursoroption forcandlestickseries and addcursorGraboption &cursorGrabbingfor'inside'dataZoom. #21558 (zuming, Ovilia, 100pah) - [Feature] [scatter] [effectScatter] [geo] Enable
clipoption on"scatter"/"effectScatter"ongeo. 417592289 (100pah) - [Feature] [visualMap] Add
seriesTargetsoption for multiple series-dimension mappings. #20703 (Justin-ZS, plainheart) - [Feature] [matrix] Support
matrix.x/y.lengthfor conveniently creating a headless matrix without composing an array. #21191 (100pah, plainheart) - [Feature] [matrix] Add
triggerEventoption to support triggering event on matrix cells. #21390 (Natsuo Kawai, 100pah) - [Feature] [i18n] add Latvian(LV) translation. #21546 (EPoikans)
- [Fix] [axis] Change and clarify the rounding error and auto-precision utils and solutions. 479dcd454 (100pah)
- [Fix] [axis] Fix chart does not work when using
customValueswithformatterin time axis (axis.type: 'time') label. #21352 (Srajan Sanjay Saxena, plainheart) - [Fix] [axis] Fix and clarify
alignTickstrategy, and fixLogScaleprecision. a6ab2458f ffcc636fb (100pah) - [Fix] [axis] Fix duplicate ticks when using time axis (
axis.type: 'time') orcustomValues, which causes jitter ofsplitArea; fix theshowMin/MaxLabelhandling of a category axis (axis.type: 'category'); enable a uniformbandWidthcalculation in numeric axis (axis.type: 'value' | 'time' | 'log'). 8de2b64fa 15af0db02 8ddaa5c69 (100pah) - [Fix] [axis] Fix time axis (
axis.type: 'time') bug when value scale is in millisecond. 40b77b464 (100pah) - [Fix] [bar] Fix wrong label position when bar series has a 0 width/height. #21218 (Justin-ZS, Ovilia)
- [Fix] [scatter] Fix jitter layout does not support progressive rendering and cause chart to be frozen and potential NPE. #21436 (plainheart)
- [Fix] [lines] Fix effect symbol flip on unidirectional loop end when
roundTripis not enabled. #21320 (Mayank Mehta, plainheart) - [Fix] [candlestick] Fix candlestick render error with
series.encodeon horizontal layout. #21325 (Purbayan Pramanik, 100pah) - [Fix] [parallel] Fix incorrect axis extent when any subsequent series has a larger value than the first. #21387 (jackhickson, 100pah)
- [Fix] [pie] Support axes extent union pie center automatically when pie is laid out on Cartesian (
gridcomponent). 18a23a875 (100pah) - [Fix] [treemap] Fix treemap can not be zoomed out after a zoom-in when
scaleLimitis specified #21427 (TateLiu, 100pah) - [Fix] [lines] Fix potential
tooltipXSS vulnerability in lines series (series.type: 'lines'). #21608 (plainheart) - [Fix] [map] [geo] Fix the failed synchronization and visual artifacts on geo roaming and animation. 417592289 (100pah)
- [Fix] [tooltip] Fix
tooltipcontent does not refresh when changing tooltip trigger from'axis'to'item'. #20710 (Justin-ZS, plainheart) - [Fix] [tooltip]
valueFormattercallback paramdataIndexshould berawDataIndexrather thandataZoomfiltereddataIndex. #21479 (100pah, plainheart) - [Fix] [axisPointer] Fix
axisPointershadow and enable clipping - it is previously only applicable to"category"axis, but is buggy in numeric axis with"bar"series. 8de2b64fa (100pah) - [Fix] [axisPointer] Fix visual artifacts caused by failed
axisPointerrestoration. 56a32c0bb (100pah) - [Fix] [hoverLayer] Fix visual artifacts arisen on hover layer. zrender#1151 933585126 (100pah)
- [Fix] [marker] Fix
markerfails to render withdatasetandencode. #21439 (plainheart, 100pah). - [Fix] [dataZoom] Fix wrong position of the
dataZoomwhen theserieshas only one data point. #21196 (alesmit, Ovilia) - [Fix] [dataZoom] Fix
dataZoombug that data info disappears when dragging released; fixdataZoomdragging cursor style. 64305a4b8 (100pah) - [Fix] [dataZoom] Apply a better auto-precision method; fix unexpected behaviors when
dataZoomcontrols axes withalignTicks: true. d168bf237 (100pah) - [Fix] [dataZoom] Fix
AxisProxycan not be cleared whendataZoomoption changed; fix relatedonZerobehaviors. 52ceb924a 2e82d33c3 (100pah) - [Fix] [areaStyle] Fix
areaStylerender error when dimension name is empty string. #21219 (Justin-ZS, Ovilia) - [Fix] [sunburst] Fix root node label may not be centered. #21306 (Akash Sonune, Ovilia)
- [Fix] [matrix] Fix matrix label formatter does not work. #21410 (Justin-ZS, Ovilia)
- [Fix] [toolbox] Fix
emphasiscolor is the same as the default color. #21384 (Ovilia) b094f987d (100pah) - [Fix] [toolbox] Fix the
dataViewcomponent does not fit the dark mode. #21176 (notthistrain, Ovilia) - [Fix] [progressive] Fix progressive rendering issues. 91a60fc76 (100pah)
- [Fix] [labelLine] Fix
labelLine.smoothcan not be reset. #21425 (fanwww, plainheart) - [Fix] [graphic] Fix stroke corner gap due to not closing path in
roundRecthelper. zrender#1155 (plainheart) - [Fix] [svg] Enhance SVG
encodeBase64compatibility to make it available in more environments like Web Worker/NodeJS/Bun. zrender#1145 (plainheart) - [Fix] [core] Mark
echartsinstance object asrawinVue. #21293 (plainheart) - [Fix] [chord] Add the missing export entry for chord chart. #21197 (plainheart, Ovilia)
- [Fix] [i18n] Fix incorrect translation for custom series name in
langDE. #21571 (A-Loot, plainheart) - [Fix] [typescript]
- Fix and enhance
TS,ESMandCJScompatibility. #21411 (Akash Sonune, 100pah) - Fix missing or mismatched
TSexport types. #21147 (100pah, Ovilia) - Fix
nodeScaleRatiooption type forgraphseries. #21229 (ocshawn, plainheart) emphasis.handleLabelofsliderdataZoomshould be an optional type. #21175 (Ovilia, plainheart)- Correct typo
Continous→Continuousand deprecate typo'd types. #21528 (Homa Wong, plainheart)
- Fix and enhance
- [Chore] [refactor]
- [Chore] [security] Add security checking hints in PR template. #21327 (100pah, plainheart)
- [Chore] Add
unpkgentry topackage.json. #21177 (Yue JIN, plainheart) - [Chore] Fix example description for the
eachmethod ofSeriesData. #21294 (Yurun, plainheart) - [Chore] Fix the
test/webkit-dep.htmtest case. #21508 (zuming, Ovilia) - [Break] Breaking changes against
v6.0.0:- tooltip.valueFormatter: The 2nd parameter of
tooltip.valueFormattercallback is changed fromdataIndex(i.e., the index afterseriesdata filtered bydataZoom) torawDataIndex(i.e., the index of the original inputseriesdata). - axis.startValue: Previously
startValuewas also used asaxis.minif axis.min was not provided. The new version decouples them - explicitly setting them both (e.g.,startValue: 111, min: 111) is equivalent to the previous behavior (startValue: 111andminis not specified). - Previously,
"bar"/"pictorialBar"/"candlestick"/"boxplot"series could overflow the Cartesian rectangle (grid) at the edge shapes. The new version eliminates that overflow. The previous behavior can be restored viaaxis.containShape: false.
- tooltip.valueFormatter: The 2nd parameter of
New Contributors
- @daidr made their first contribution in https://github.com/apache/echarts/pull/21143
- @zhangqin2-yewu made their first contribution in https://github.com/apache/echarts/pull/21179
- @notthistrain made their first contribution in https://github.com/apache/echarts/pull/21176
- @ocshawn made their first contribution in https://github.com/apache/echarts/pull/21229
- @StNimmerlein made their first contribution in https://github.com/apache/echarts/pull/21224
- @szymonpachucki made their first contribution in https://github.com/apache/echarts/pull/21220
- @alesmit made their first contribution in https://github.com/apache/echarts/pull/21196
- @Yurunsoft made their first contribution in https://github.com/apache/echarts/pull/21294
- @akashsonune made their first contribution in https://github.com/apache/echarts/pull/21306
- @gzamann made their first contribution in https://github.com/apache/echarts/pull/21313
- @MC-YCY made their first contribution in https://github.com/apache/echarts/pull/21258
- @mynk2611 made their first contribution in https://github.com/apache/echarts/pull/21320
- @PPRAMANIK62 made their first contribution in https://github.com/apache/echarts/pull/21325
- @Srajan-Sanjay-Saxena made their first contribution in https://github.com/apache/echarts/pull/21352
- @sjcobb made their first contribution in https://github.com/apache/echarts/pull/21001
- @fanwww made their first contribution in https://github.com/apache/echarts/pull/21425
- @jackhickson made their first contribution in https://github.com/apache/echarts/pull/21387
- @natsuokawai made their first contribution in https://github.com/apache/echarts/pull/21390
- @pgoslatara made their first contribution in https://github.com/apache/echarts/pull/21487
- @diysimon made their first contribution in https://github.com/apache/echarts/pull/21508
- @unional made their first contribution in https://github.com/apache/echarts/pull/21528
- @EPoikans made their first contribution in https://github.com/apache/echarts/pull/21546
- @dagecko made their first contribution in https://github.com/apache/echarts/pull/21556
- @A-Loot made their first contribution in https://github.com/apache/echarts/pull/21571