v5.0.1
- [Feature] New minimal import API. Improved exported option types. #13890 (pissang)
- [Fix] [tooltip] Fix tooltip of markPoint is wrong #13992 (susiwen8)
- [Fix] [loading] Fix
showLoadingcenter align andfontSizenot work. AddfontFamily,fontWeight,fontStyle#13972 (yufeng04) - [Fix] [gauge]
pointer.offsetCenterdoesn't work without icon #13966 (yufeng04) - [Fix] [dataset] Fix automatic legend from dataset is wrong. #13930 (100pah)
- [Fix] [handler] Fix tooltip can't be hidden when moving out of the viewport occasionally. #693 (pissang)
- [Fix] [tooltip] Fix text color can't be changed in tooltip. #13848 (susiwen8)
- [Fix] [tooltip] Fix borderColor can't be changed in tooltip. #13771 (susiwen8)
- [fix] [axis] Fix error when category axis max is greater than data length #13733 (Ovilia)
- [fix] [svg] Fix chart cannot be exported with SVG renderer in IE. #13732 (plainheart)
- [Fix] [bar] Improvement and some fixes of bar race chart #13994 (100pah)
- [Fix] Fix unexpected global name usage, which may have error in other environments. #13984 (pissang)
v5.0.0
- Migrate codebase to TypeScript:
- The entire code base have been migrated to TypeScript.
- Provide DTS for the upper TS based applications, where the TS version supported is down to 3.5.
- See more details in #13563
- [Feature] States enhancement:
- Support state transition animation, which brings better interaction effect when highlighting or downplaying some part of the chart.
- Besides the state "emphasis" we already have, v5.0 provides two more configurable state: "select" and "blur" in all series. The option of them are the same as the existing "emphasis". "blur" is used the elements need to fade out when focusing some other elements. "select" is used when the element is selected by mouse/touch click or API triggering.
- Support to blur other graphic elements when highlighting specified data through mouseover or hover linking. See examples bar-label-rotation, bar-polar-stack, bar-stack, area-stack, dataset-link, scatter-weight, tree-basic.
- Unify the previous different state configurations in series, like
highlightPolicy,focusNodeAdjacency,hoverOffset, by the optionfocus,blurScopeandscale. See examples sankey-energy, graph, sunburst-drink. - See more details in #12925 and #12911.
- [Feature] Provide a more powerful label support:
- Use some strategies to bring better displayed labels, including:
- Smarter text color strategy to make labels more easy to be distinguished from different background.
- Smarter label layout in pie chart, especially when there are too many labels or insufficient space. And related issue: #6050.
- Provide more overflow configurations.
- Provide option set
labelLayoutto enable more abilities for developers to tweak the layout of the labels after it's originally positioned by the chart itself. With the options inlabelLayout, developers can:- Avoid labels overlap (see scatter-label-align-right),
- Make special label alignment, and adjust label position, etc.. See the examples pie-alignTo, pie-labelLine-adjust, pie-label-distanceToLabelLine, pie-label-bleedMargin.
- Make label draggable.
- Support
labelLinefor all series, which is very useful for guiding element to related labels when labels have to be far away from the elements. See examples scatter-label-align-right, scatter-label-align-top. Related issues: #11534, #12971. - Support
series.endLabelin line series. Label can be displayed at the end of a line. - Support label text animation, that is, the transition animation on text when the number text changed. Can be enabled by
series.label.valueAnimation,series.endLabel.valueAnimation. See more details in #13246 and #13045. - See other details in #12911.
- Use some strategies to bring better displayed labels, including:
- [Feature] Support bar realtime sorting by
series.realtimeSort. See examples bar-race, and see more details in the original pull request #12484. - [Feature] Support data transform plug-in:
- Data transform is a new set of configurations and APIs to enable data transformation based on
datasetin declarative way. Built-in or third-party data transformer can be made as plug-ins to provide various transform algorithms. ECharts users can use those transformers in ECharts option. - See examples data-transform-filter, data-transform-sort-bar, data-transform-multiple-pie, doc-example/data-transform-multiple-sort-bar, boxplot-light-velocity, bar-histogram, scatter-clustering, scatter-exponential-regression, scatter-linear-regression, scatter-logarithmic-regression, scatter-polynomial-regression. See more details in #13065](https://github.com/apache/incubator-echarts/pull/13065), #13127.
- Data transform is a new set of configurations and APIs to enable data transformation based on
- [Feature] Provide more smarter time axis label and tick arrangement:
- See more details in #12859.
- [Feature] Support
decal:- Decal provides a new visual type that does not only augment aria scenarios but also enrich visual effects.
- See more details in #13304.
- [Feature] Support transition animation in custom series.
- Transition animation can be auto performed by setting property
transitionfor transform related properties, style properties and shape properties. See custom-gauge. - Support morphing/combining/separating by setting property
morphon elements definitions. See examples custom-combine-separate-morph, custom-one-to-one-morph, custom-story-transition, custom-spiral-race. - Support customized transition animation by callback
during. See the example custom-spiral-race, and see more details in #12775. - See more details in #12775, #13468, #13271.
- Transition animation can be auto performed by setting property
- [Feature] Provide a more powerful gauge:
- See examples gauge-barometer, gauge-clock, gauge-multi-title, gauge-progress, gauge-ring, gauge-grade, gauge-simple, gauge-temperature.
- See more details in #13416.
- [Feature] The default theme and interaction have been greatly enhanced. Some new options are provided for the style and interaction configuration:
- Tooltip style enhancement: #12947, #13398, #13242.
- Provide configurable dash style: #12961.
- Axis style enhancement: #13046.
- DataZoom support both brush and drag: #13025.
- Support
darkMode. 12911. - Enhance resize & dataZoom animation: #12965
- Change the closing direction of a single bar, #12543.
- Enhance pie chart animation #12553.
- Other component style enhancement: #13008, #13013.
- [Feature] Make i18n registerable and change the product.
- [Feature] Support rounded corner in pie and sunburst:
- [Feature] Make tooltip more configurable:
- [Feature] Support to partially remove components or replace components (
replaceMerge):- See details in #12987.
- [Enhancement] Enhance performance in some scenarios:
- Other small features, enhancements and bug-fixes:
- [Feature] Enhance
parseDate#13044. - [Feature] Make line bolder when line is in emphasis state #13013.
- [Feature] Sankey supports
lineStyle: {color: 'gradient'}. - [Feature]
markPoint.data.typeandmarkArea.data.typesupport the value'median'. - [Feature] Support axis filter in specific cases. #12832.
- [Enhancement] Pause
requestAnimationFramewhen rendering finished. - [Fix] Fix bmap first layout may be incorrect if container's layout is flex or grid. #13432.
- [Fix] Hide tooltip when mouse leaves the chart #13382.
- [Fix] Fix bmap personalization style does not work. #13214.
- [Fix] Fix the bug of overriding title when click the stack button. #13372.
- [Fix] Fix ECharts keeps rendering white blanks with large datasets on single canvas mode #13283.
- [Fix] Make
contentToOptiontotally optional. #13139. - [Fix] Keep axis tooltip open on refresh. #13100.
- [Fix] Skip rendering for data out of axis content in heatmap. #12991.
- [Feature] Enhance
- [Break] Breaking changes against v4.9:
- The default theme colors has been changed. If intending to use the theme of v4.9-, please set
option.color = ['#c23531', '#2f4554', '#61a0a8', '#d48265', '#91c7ae', '#749f83', '#ca8622', '#bda29a', '#6e7074', '#546570', '#c4ccd3'];. - Remove built-in map geoJSON. #13565.
- Drop the support of the legacy IE8. The previous VML renderer (necessary in IE8) will not be updated to work in v5.0.
- The exported modules from
'echarts/lib/export.js'is not mounted to'echarts/lib/echarts.js'by default. If the upper application previously usedimport * as echarts from 'echarts/lib/echarts'and used any of the exported modules in'echarts/lib/export.js', please change the import code toimport echarts from 'echarts/index.blank', where the modules from'echarts/lib/export.js'are mounted by default. - If the upper application previously imported
src/echarts.js,src/chart/*.jsandsrc/component/*.js, it can not work any more because all of the files in/srcfolder are migrated to*.ts. - The priority of the visuals between
visualMapanditemStyle|lineStyle|areaStyleare reversed. That is, previously, the visuals (i.e., color, symbol, symbolSize, ...) that generated by the componentvisualMaphas highest priority, which will overwrite the same visuals specified initemStyle|lineStyle|areaStyle. That brought trouble to specify specific style to some certain data items. Since v5.0, the visuals specified initemStyle|lineStyle|areaStylehas highest priority. - The behavior of
rich.?.paddingare changed. Previouslyrich.?.padding: [11, 22, 33, 44]indicates that padding-top is33and padding-bottom is11, which is a buggy implementation because it is different from what CSS did. Since v5.0, we fix it:rich.?.padding: [11, 22, 33, 44]indicates padding-top is11and padding-bottom is33. ariais not included indist/echarts.simple(.min).jssince v5.0. But it is still included indist/echarts.common(.min).jsanddist/echarts(.min).js.
- The default theme colors has been changed. If intending to use the theme of v4.9-, please set
- [Deprecated] Deprecated usages since v5.0:
- Transform related props of a graphic element are changed:
- Changes:
position: [number, number]are changed tox: number/y: number.scale: [number, number]are changed toscaleX: number/scaleY: number.origin: [number, number]are changed tooriginX: number/originY: number.
- The
position,scaleandoriginare still supported but deprecated. - It effects these places:
- In the
graphiccomponents: the declarations of each element. - In
custom series: the declarations of each element in the return ofrenderItem. - Directly use zrender graphic elements.
- In the
- Changes:
- Text related props on graphic elements are changed:
- Changes:
- The declaration of attached text (or say, rect text) are changed.
- Prop
style.textare deprecated in elements exceptText. Instead, Prop settextContentandtextConfigare provided to support more powerful capabilities. - These related props at the left part below are deprecated. Use the right part below instead.
- textPosition => textConfig.position
- textOffset => textConfig.offset
- textRotation => textConfig.rotation
- textDistance => textConfig.distance
- Prop
- The props at the left part below are deprecated in
styleandstyle.rich.?. Use the props at the right part below instead.- textFill => fill
- textStroke => stroke
- textFont => font
- textStrokeWidth => lineWidth
- textAlign => align
- textVerticalAlign => verticalAlign);
- textLineHeight =>
- textWidth => width
- textHeight => hight
- textBackgroundColor => backgroundColor
- textPadding => padding
- textBorderColor => borderColor
- textBorderWidth => borderWidth
- textBorderRadius => borderRadius
- textBoxShadowColor => shadowColor
- textBoxShadowBlur => shadowBlur
- textBoxShadowOffsetX => shadowOffsetX
- textBoxShadowOffsetY => shadowOffsetY
- Note: these props are not changed:
- textShadowColor
- textShadowBlur
- textShadowOffsetX
- textShadowOffsetY
- The declaration of attached text (or say, rect text) are changed.
- It effects these places:
- In the
graphiccomponents: the declarations of each element. [compat, but not accurately the same in some complicated cases.] - In
custom series: the declarations of each element in the return ofrenderItem. [compat, but not accurately the same in some complicated cases]. - Directly use zrender API to create graphic elements. [No compat, breaking change].
- In the
- Changes:
- API on chart instance:
chart.one(...)is deprecated.
label:- In props
color,textBorderColor,backgroundColorandborderColor, the value'auto'is deprecated. Use the value'inherit'instead.
- In props
hoverAnimation:- option
series.hoverAnimationis deprecated. Useseries.emphasis.scaleinstead.
- option
line series:- option
series.clipOverflowis deprecated. Useseries.clipinstead.
- option
custom series:- In
renderItem, theapi.style(...)andapi.styleEmphasis(...)are deprecated. Because it is not really necessary and hard to ensure backward compatibility. Users can fetch system designated visual byapi.visual(...).
- In
sunburst series:- Action type
highlightis deprecated. UsesunburstHighlightinstead. - Action type
downplayis deprecated. UsesunburstUnhighlightinstead. - option
series.downplayis deprecated. Useseries.blurinstead. - option
series.highlightPolicyis deprecated. Useseries.emphasis.focusinstead.
- Action type
pie series:- The action type at the left part below are deprecated. Use the right part instead:
pieToggleSelect=>toggleSelectpieSelect=>selectpieUnSelect=>unselect
- The event type at the left part below are deprecated. Use the right part instead:
pieselectchanged=>selectchangedpieselected=>selectedpieunselected=>unselected
- option
series.label.marginis deprecated. Useseries.label.edgeDistanceinstead. - option
series.clockWiseis deprecated. Useseries.clockwiseinstead. - option
series.hoverOffsetis deprecated. Useseries.emphasis.scaleSizeinstead.
- The action type at the left part below are deprecated. Use the right part instead:
map series:- The action type at the left part below are deprecated. Use the right part instead:
mapToggleSelect=>toggleSelectmapSelect=>selectmapUnSelect=>unselect
- The event type at the left part below are deprecated. Use the right part instead:
mapselectchanged=>selectchangedmapselected=>selectedmapunselected=>unselected
- option
series.mapTypeis deprecated. Useseries.mapinstead. - option
series.mapLocationis deprecated.
- The action type at the left part below are deprecated. Use the right part instead:
graph series:- option
series.focusNodeAdjacencyis deprecated. Useseries.emphasis: { focus: 'adjacency'}instead.
- option
gauge series:- option
series.clockWiseis deprecated. Useseries.clockwiseinstead. - option
series.hoverOffsetis deprecated. Useseries.emphasis.scaleSizeinstead.
- option
dataZoom component:- option
dataZoom.handleIconneed prefixpath://if using SVGPath.
- option
radar:- option
radar.nameis deprecated. Useradar.axisNameinstead. - option
radar.nameGapis deprecated. Useradar.axisNameGapinstead.
- option
- Parse and format:
echarts.format.formatTimeis deprecated. Useecharts.time.formatinstead.echarts.number.parseDateis deprecated. Useecharts.time.parseinstead.echarts.format.getTextRectis deprecated.
- Transform related props of a graphic element are changed:
v4.9.0
[Feature] [graph] Support multiple edges to link nodes in graph. #12590 (wf123537200)
[Feature] [funnel] Add
orientoption in funnel. Support horizontal layout. #12754 (regrex)[Enhancement] [tooltip] Add text shadow options. #12664 (Ovilia)
[Enhancement] [toolbox] Add
brushStyleoption to configuration style of brush rect in the dataZoom feature. #12550 (zhiyuc123)[Fix] [themeRiver] Optimize data process in themeRiver. #12022 (Zaynex)
[Fix] [toolbox] Fix pie series render incorrectly after editing its data in the dataView feature. #12561 (plainheart)
[Fix] [toolbox] Fix dataView shows NaN when using dataset. #11849 (susiwen8)
[Fix] [toolbox] Fix saveAsImage may have error in some special environments. #12643 (lzr900515)
[Fix] [lines] Fix lines disappear if setOption again without data. #12850 (plainheart)
[Fix] [sunburst] [treemap] Fix label formatter in
levelsnot work bug. #12742 (Ovilia)[Fix] [bmap] Fix bmap event
moveendis always triggered when dragging or zoomend. #12558 (plainheart)[Fix] [grid] Fix wrong gap calculation when
containLabelis set in grid. #12259 (Ling310)[Fix] [tooltip] Fix newline in tooltip of radar and map series when using
ricTextrender mode. #12664 (Ovilia)[Fix] [tooltip] Update tooltip position proportionally when chart resized. #12834 (liulinboyi)
[Fix] [tooltip] Fix tooltip dispose in
richTextrender mode. #12608 (plainheart)[Fix] [tree] Fix image symbol not display on first render. #12367 (plainheart)
[Fix] [geo] Fix label formatter not work bug. #12762 (plainheart)
[Fix] [bar] Fix error when switching
showBackgroundfromfalsetotrue. #13085 (easonyq)[Fix] [markArea] Fix label is not hidden when markArea is outside the grid. #12669 (Ovilia)
[Fix] [markLine] [markPoint] Fix
symbolRotatenot work bug. #12737 #12392 (plainheart)[Fix] [polar] Fix bar layout on polar with nagive axis. #12418 (gracelia)
v4.8.0
[Feature] [toolbox] Support download SVG file in toolbox when using SVG render mode. #12144 (Ovilia)
[Feature] Add more parameters in the loading effect. #12414 (yufeng04)
[Feature] Support callback for
symbolRotate. #12348 #12354 (plainheart)[Feature] [axis] Callbacks of
min,maxcan returnnullto use the default value now. #11829 (susiwen8), #12371 (100pah)[Feature] [geo] Add
namePropertyto specify the name field of GeoJSON source. #12156 (alex2wong)[Fix] [sankey] Fix tooltip not displayed on edges. #12011 (susiwen8)
[Fix] [sankey] Fix node may disappear when link value is 0. #12191 (susiwen8), #12472 (100pah)
[Fix] [treemap] Add missing params in the foramtter callback. #11854 (susiwen8, 100pah)
[Fix] [calendar] Fix calendar chart layout when user is in a timezone with DST. #12172 (mikeyshing88), #12466 (100pah)
[Fix] [line] Fix safari may crash because of memory explosion when using gradient, shadow with large wide-range animation. #12410 (pissang)
[Fix] [line] Fix clip bug in chromium when chart size over 18000px. #12393 (zhanfang)
[Fix] [pie] Fix label may disappear when animation is disabled. #12243 (Ovilia)
[Fix] [title] Fix potential security risk when
'_blank'target for link. #12380 (susiwen8)[Fix] [geo] Fix animation not work when change
centerorzoomwithsetOption. #12340 (Ovilia)[Fix] [heatmap] Remove the 1px gap. #12342 (SnailSword)
[Fix] [sunburst] Fix default downplay style not work bug. #12264 (pissang)
[Fix] [visualMap]
minOpenandmaxOpenis not counted into pieces number now. #12147 (susiwen8)[Fix] [bmap] [extension] Fix layer may not been cleared when using progressive rendering. (pissang)
[Fix] [bmap] [extension] Fix unexpected refresh bug.#12411 (pissang)
v4.7.0
[Feature] Provide new layouts for markLine labels. #11843 (Ovilia)
[Feature] Support background option for bar series. #11951 (Ovilia)
[Feature] Support appending tooltip DOM to HTML body. #8049 #12024 (xinpureZhu, 100pah)
[Feature] Add draggable support to group elements on graphic component. #11959 (pissang)
[Feature] Add polyline edge layout for the tree chart. #11808 (deqingli)
[Enhance] Enhance continuity line trail for effect line. #11893 (alex2wong)
[Fix] Fix markPoint position in stacked line/bar series. #11965 (yikuangli)
[Fix] Radar chart data may appear outside of the radar component. #11841 (susiwen8)
[Fix] Fix treemap highlight action not triggered. #12050 (100pah)
[Fix] Fix Array.prototype.slice is not defined on typed array #11956 (pissang)
[Fix] Fix candlestick throw error when some series are filtered by legend. #12027 (100pah)
[Fix] Fix brush component not follow the pan and zoom of coordinate system. #11998 (100pah)
[Fix] Fix action
'showTip'dispatched in radar chart. #11985 (yufeng04)[Fix] Fix splitArea not work in singleAxis. #11890 (newraina)
[Fix] Fix legend pagination may disappear. #11952 (yufeng04)
[Fix] Fix emphasis lineStyle options do not work in sankey chart. #11729 (deqingli)
[Fix] Fix tooltip formatter has no value in sankey chart. #11752 (deqingli)
v4.6.0
[Feature] Optimize label layout on pie. Add new
alignTooption for aligning the labels. Check more detail in PR #11715 (Ovilia)[Feature] Add
minorTick,minorSplitLineon axis. Check more detail in the PR #11705 (pissang)[Feature] Added more themes. #11566 (WebCodePro719)
[Enhance] Chart will keep the dragging status when mouse is out of the area. Which will provide a much better dragging experience. #11710 (100pah)
[Enhance] Legend will display colors from
visualMapcomponent inpie/funnel/radarseries. #11737 (pissang)[Enhance] Enhance dataset default encode guess strategy. #11746 (100pah)
[Enhance] Stack icon on toolbox now is a toggle button. Removed tiled icon. #11367 (alex2wong)
[Enhance] Add a delay to avoid flashing when hovering on nodes and edges of
graphandsankeyseries. 11572 (deqingli)[Fix] Fix bar width calculation with
barMaxWidthconstraint and negativebarGap. #11713 (pissang)[Fix] Fix seams in
heatmapseries. Which may cause unexpected gray lines. #11689 (pissang)[Fix] Fix unexpected highlight state after inverse selection in
legend. #11547 (SnailSword)[Fix] Fix tooltip may highlight the point out of chart in
lineseries. #11548 (SnailSword)[Fix] Fix label may not disappear on SVG renderer. ecomfe/zrender#535 (Ovilia)
[Fix] Not display bar on polar when value is
0. #11452 (foolzhang)[Fix] Fix logic issue in global
textStyle. #11653 (code4fan)[Fix] Fix label color of
axisPointerin dark theme. #11656 (asiOvOtus)[Fix] Fix
markPointout of the chart may still display in the wrong position. #11484 (susiwen8)[Fix] Fix tooltip shows multiple values around both sides of the pointer. #11648 (100pah)
[Fix] Fix
label.formatterof leaves intreeseries not work. #11556 (deqingli)[Fix] Fix overflow symbol not display when
clipis setfalseinlineseries. #11552 (SnailSword)
v4.5.0
[Feature] Add
roundCapoption for round corners onbarseries widthpolarcoordinate system. #11393 (Ovilia)[Feature] Add event
brushEndforbrushcomponent #11285(cuijian-dexter)[Feature] Add
frictionoption in force layout ofgraph. #11276 (pissang)[Feature] Add
ignoreForceLayoutoption in thegraphlinks. #11445 (TYzzt)[Feature] Add
axisTypein the indicator ofradarseries. #11324(zifix)
[Feature] Add
clipoption incandllestickseries. #11529 (pissang)[Fix] Fix lots of label positioning issues in SVG renderer. ecomfe/zrender#519 (100pah)
[Fix] Fix interval issues related to category axis tick. Like
areaStyle.coloris incorrect in #10948,xAxis.axisTick.intervalis calculated incorrectly in #11176 . #11186 (foolzhang)[Fix] Fix
barseries can't display on thelogaxis. #11472(SnailSword)[Fix] Fix tooltip may be covered by the canvas when
-webkit-overflow-scrolling: touchon iOS 13. ecomfe/zrender#522 (100pah)[Fix] Fix some of labels on category axis may disappear forever after chart resized. #11536 (100pah)
[Fix] Fix brush drag gets stuck when the mouse leaves the chart area. #11516 (100pah)
[Fix] Fix image symbol may disappear forever after legend toggled. #11515 (yufeng04)
[Fix] Fix changing from
'scroll'type to'plain'type not work bug in legend. #11504 (yufeng04)[Fix] Optimize layout and bar width of
barseries ontimeaxis andvalueaxis. Make thebarMaxWidthhas higher priority thanbarWidth. AddbarMinWidthforbarseries ontimeaxis andvalueaxis. #11479 (Ovilia, 100pah)[Fix] Fix title of toolbox icon may be cut by the container. #11456 (Ovilia)
[Fix] Fix precision issue in the ticks calculating. #11488 (Ovilia)
[Fix] Fix
rotateproperty of label not work intreeseries. #11457 (deqingli)[Fix] Fix edge won't disappear after collapsed if the
idis duplicated intreeseries. #11447 (deqingli)[Fix] Fix data disappear when updating with
datasetingaugeseries. #11373 (Ovilia)[Fix] Fix gradient on bar leaked to label in SVG Renderer. (Ovilia)
v4.4.0
[Feature] Add option
clipforline,bar,lines,scatterandcustom series, which prevents the shapes overflow the area of the coordinate system. And support settingfilterModeontoolbox.dataZoom. Fix #9200, #10224, #10748, #11086.[Feature] Support "select all" and "reverse select" buttons in
legend. Seelegend.selectorfor details.[Feature] Provide
echarts.graphic.registerShapeandecharts.graphic.getShapeClass. The registered shape classes can be used incustom seriesandgraphic component.[Feature] Support show border style on
legenditem. Support settingitemStyleonlegend. Fix #7340.[Feature] Support expansion animation for data update, support
pie-series.animationTypeUpdate. Fix #11029.[Feature] Support setting
rippleEffect.colorineffectScatter.[Feature] Support using BaiduMap API version 3.0 in bmap by option
bmap.mapStyleV2.[Fix] Fix that the stacked bar exceed zoom limit. Fix #7534, #7672, #7732, #7872, #8069, #8520, #8935, #8955, #9200, #9237, #9847, #10359, #10518, #10972.
[Fix] Fix that sometimes when using "toolbox dataZoom" it can not return to the original state. Fix #11055.
[Fix] Fix the texture pattern rendering in
mapandgeo. And Fix that the the shadow of them are different between canvas renderer and SVG renderer. Fix #11055, #5429.[Fix] Fix that data does not rendered after a
NaNvalue in candlestick. Fix #11101.[Fix] Fix
geo.label.formatterdoes not work. Fix #8489.[Fix] Fix the hover style incorrect in
custom series. Fix #11103.[Fix] Fix that tree root node disappears after roaming. Fix #10291, #10986, #10164, #9580, #9256, #9216.
[Fix] Fix that SVG renderer should render normally despite hover layer set. Fix #11054.
[Fix] Add dispose checking for chart instance.
v4.3.0
[Feature] Sankey diagram enhancement: Add left/right node align, right in sankey diagram. Support user to specify the depth of the node. Enhance sankey node tooltip formatter. Add depth layout info for each node.
[Feature] Support callback in
series.symbol. Contributed by PR #9664 originally.[Feature] Enhance Pie chart: Support
minShowLabelAngle. Contributed by PR #8997 originally. Support label rotate in pie chart. Fix #10045.[Feature] Support
backgroundColorfor connected charts in toolbox.toolbox.feature.saveAsImage.connectedBackgroundColorcan be used to set the background color. Fix #10099.[Feature] Enhance toolbox: Enable to set text style of toolbox. Support tooltip for toolbox. Fix #10202.
[Feature] Enhance dataZoom: Normalize illegal range setting and get accurate
start/end/startValue/endValuein'dataZoom'event.[Feature] Add
dimensionNamesandencodeinfo to callback parameters of formatters. Fix #10248 and Close #10250.[Feature] Funnel enhancement:
series.label.positionsupport to setrightTop,rightBottom,leftTop,leftBottom. And fix style in funnel text position.[Fix] Support mouse event in iOS when css transform used. Fix #9434, #8326, #5009, #5921.
[Fix] Use a clearer warning message when initing dom without size. Fix #10478.
[Fix] Fix that the rgba opacity does not work in SVG renderer. Fix #9014
[Fix] Enhance funnel chart label display policy PR #8759
[Fix] Fix the highlight/downplay of pie graphic.
[Fix] Fix the mouse pointer in force graph. Fix #7764, contributed by PR #9134.
[Fix] Fix that
symbolandsymbolSizeandopacitydoes not work inseries[i]-graph.categories[i]. Fix #8009 and #5969, contributed by PR #9171.[Fix] Fix that
axisLine.showdoes not work in the gauge. Fix #9194, contributed by PR #9195.[Fix] Fix a display error when the first data item is '-' in radar. Fix 8962.
[Fix] Fix polygon rendering bug when the first value is
NaN. Fix #8962, contributed by PR #9162.[Fix] Fix text truncate bug in treemap when using SVG renderer.
[Fix] Fix that
label.rotatedoes not work in graph. Fix #9182, contributed by PR #9210.[Fix] Fix the rich content hiding bug and confine bug in tooltip. Fix ecomfe/echarts-for-weixin#360, ecomfe/echarts-for-weixin#347.
[Fix] Fix that callback function params.color is incorrect in sunburst area. Fix #8952, contributed by PR #9238.
[Fix] Fix that when
axisLabel.intervalof a category axis is set as0, all labels are displayed regardless of overlap. Fix #9589.[Fix] Fix sub-pixel in markLine. Move subPixelOptimize to zrender. Fix #9598.
[Fix] Fix that when doing clear on click handler error is thrown. Fix #9649.
[Fix] Fix that
falsevalue in data items effect subsequent items invisualMap. Fix #8799.[Fix] Enhance
hoverStyleandhighlight/downplayAPI. Support keep highlighted when changing style (e.g.,setOptionorhoverLink). Fix the highlight conflict.[Fix] Fix radar line disappear on hover when there is empty value in data.
[Fix] Fix that geo map panning not working on Edge browser. Fix #9479.
[Fix] Fix map label bugs: Fix map rich label missing when missing data. Fix map label miss to enter formatter when missing data. Fix #9682.
[Fix] Enable
triggerEventfor label ofangleAxis. Fix #9765.[Fix] Fix that the hover style bugs of graph: Fix that the hover style is disabled by
focusNodeAdjacencyin graph. Fix that the line label can not be returned to its original opacity after"focusNodeAdjacency".[Fix] Lift the axis line arrow over splitLine and tick.
[Fix] Fix that the scrollable legend pager does not work when the target index is illegal. Fix #7568.
[Fix] Exclude padding from tooltip position, since it's included in clientWidth. Contributed by PR #9750.
[Fix] Fix
barWidthcalculation when stack on multiple polars. Fix #9626.[Fix] Loop to find the first non-NaN angle for clipPath in pie.
[Fix] Fix line width in singleAxis. Fix #9965.
[Fix] Fix the label bounding rect calculation error when
richused (e.g., containLabel: true while axisLabel has rich).[Fix] Part of emphasis in sunburst do not work. Fix #9563, constributed by PR #9993.
[Fix] Add
seriesIdinpieselectchanged. Fix #9830.[Fix] Fix that axis name align does not work. Fix #9901.
[Fix] Fix taht the strange label position when the pie chart series data value is
null. Fix #10088.[Fix] Do not create an anchor element if you don't need to in
SaveAsImage. Contributed by PR #10132.[Fix] Fix that
axisLabeldost not display correctly in radar. Fix #9282, contributed by PR #10036.[Fix] Fix that bar chart is abnormal when
filterModeofdataZoomis 'empty'. Fix #9882.[Fix] Fix
series.label.formattercallback bug. Fix #10248, contributed by PR #10250.[Fix] Fix that the last axis labels are duplicated. Fix #10304.
[Fix] Fix that setting
emphasis.lineStyle.typeassoliddose not work. Fix #9704, close #10129.[Fix] Fix that if some negetive numbers or strings existing in the dimensions array, the corresponding line will not show. Fix #10343.
[Fix] Fix that when
'0'existing in dimentions the chart do not work. Make backward compat when dimention is a number-like string. Fix #9363, contributed by PR #9388.[Fix] Fix hover style on
textStrokebug in custom series.[Fix] Fix graph bug when data is number typed. Fix #10485.
[Fix] Fix that
axisPointerlabel padding does not work. Fix #10569.[Fix] Add
dimIndexfor callback formatter in radar. Close #10403, #10180, contributed PR #10437.[Fix] Prevent treamap from using hover layer by default. Fix #10521. Ref #10635.
[Fix] Update pointer when type is none. Fix #10570.
[Fix] Enhance circular layout: based on symbol size and fix overlap when some value are very smaller than the max value. Fix #10462, Close #10615.
[Fix] Support click and tooltip in bar large mode. Fix #10699.
v4.2.1
[Fix] Fix that in some case re-
setOptionin event handler throws error. See #9649.[Fix] Fix that geo region problem causes
showTipabnormal. See #9156.[Fix] Fix that stacked bars are over cartesian in some cases. See #9346.
[Fix] Fix that legend is not able to scroll when the space is not enough to contain one item. See #6743, #8971, #9471.
[Fix] Fix that the centered pie label might has some bias on some angles. See #9657.
[Fix] Fix that Geo map panning is not working on MS Edge browser See #9479.
[Fix] Fix that label dispaly problem in map series. See #9682.
[Fix] Fix that
visualMap: falseset on data items makes subsequent items abnormal. See #8799.[Fix] When
axisLabel.intervalof a category axis is set as0, all labels show regardless of overlap. See #9589.[Fix] Fix grid(cartesian) did not render when both containLabel and axisLabel.rich used.
[Fix] Fix license statement.
[Fix] Fix rich text boundingRect bug.
v4.2.0.rc2
Recovery build
Fix the problem that bar progressive was blocked.
v4.2.0.rc1
[Feature] Support non-html tooltip, which enable show tooltip on non-html environment, for example, WeChat Mini App. Use tooltip.renderMode to enable this feature.
[Feature] Support event filtering, which enable listen event triggered by specified component, series, data items. See chart.on for details, where a new parameter
queryprovided this feature. Support event listening for custom series and graphic component, where specified events from the specified graphic elements can be listened by thequery.[Feature] Enable implementing scroll bar by dataZoom (similar behavior as the browser scroll bar), see dataZoom-inside.moveOnMouseWheel, and see the Gantt example.
[Feature] Support focusing node adjacency in sankey diagram. See focusNodeAdjacency and example.
[Feature] Support vertical layout of sankey diagram, see series-sankey.orient and Vertical sankey example.
[Feature] Support roam for tree diagram. See series-tree.roam.
[Feature] Enable to set an axis as
-1in encode for custom series, which indicates that the axis and its corresponding dataZoom do not control any dimension of the series (either calculate axis extent by this series nor scale or filter this series). See Gantt example.[Feature] Enable layout
'cover'in path shape for custom series, which brings convenience when using SVG PathData create shapes. See Gantt example.[Feature] Enhance custom series: Added params.actionType, enables some optimize. And addparams.coordSys.zoom for geo coordinate system. Add invisible and ignore to enable show and hide graphic elements in different situation.
[Fix] Fix polar category axis interval bug. See #8791.
[Fix] Do not support set polar center on series. Center should be set on polar.center.
[Fix] Fix bar start position when multiple axes exists. See #8747.
[Fix] Remove clipPath for expansion animation. See #8994.
[Fix] Fix axes overlap when two Y axes are on one X axis. See #8975.
v4.1.0
[Feature] Enable candlestick and bar chart rendering and zooming in a large amount of data (200K). Add option series-candlestick.progressiveChunkMode to enhance the effect when progressively rendering. See example candlestick-large.
[Feature] Add tree directions from right to left, from bottom to top for tree series. #7351 #7154. See example tree-orient-right-left, tree-vertical.
[Feature] Support keeping-aspect for legend path. #7831
[Feature] Support node dragging for sankey chart. See example sankey-energy.
[Enhance] Category axis enhancement:
- Optimize the performance in a large amount of data (> 100K ~ 1M)
- Enhance the auto interval strategy.
- Enhance the animation when zooming and moving the data window of cartesian.
[Enhance] In line chart, enhance symbol display strategy when using category axis (see
showAllSymbol:'auto').[Enhance] Support that lift the brushed elements to the top (add option
visualMap.inRange.liftZ).[Enhance] Enhance the order of nodes for sankey diagram. #3390 #3543 #6365 #4880 #4986
[Enhance] Enhance sampling performance in progressive mode.
[Enhance] Enhance parallel performance in progressive mode.
[Enhance] Currently do not filter empty data item in data zoom, which makes line chart keeping broken. #7955
[Enhance] Support toolbox.feature merge.
[Fix] Resolve browser become unresponsive when the data of sankey series has cycle. #7495 #8117 #7583 #7325 #6555
[Fix]
yAxisextent did not update when some of the stacked bar series hide. #8003[Fix] Currently we fetch name from
dateItem.namefirstly in list. #7966[Fix] Typed array incorrect usage in WeChat app.
[Fix]
optionin axis data item did not work. #7954[Fix]
markAreaonly displayed the last one. #7902[Fix] Fixed the WeChat environment imprecise detection.
[Fix] Rounding error in clip symbol for line chart. #7913
[Fix] The default tooltip in candlestick only showed one item. #8149
[Fix] Bar chart start point was incorrect when multiple axes exist. #7412
[Fix]
markAreadid not display when using ordinal string. #7849[Fix]
dataZoomthrew error when series was empty. #7666[Fix] Add compatibility of data exceptions for sankey series. #2867
[Fix] Fix error when removing node or rendering again for the tree series. #8038 #8040 #7720 #7363 #7315
[Fix]
sunburstchart roll-up element was not removed when chart.setOption called. #8132[Fix] SVG axisPointer text position bug. #7947
[Fix] Large lines chart render bug in large mode.
[Fix] The last day of a month was not displayed in calendar. #8045
[Fix] Data sampling of line chart caused incorrect extent when data had NaN.
[Fix] Data sampling of line chart worked abnormally when using
series.encode. #8017[Fix]
legendHoverLink: falsedid not work appropriately when multiple series had the same name. #8010[Fix] Some of the graph hover style did not work.
[Fix] Fix axis extent calculation error when using stack.
v4.0.4
[Recovery Build]
- [^] Fixed bar layout problem. See #7831.
v4.0.3
[+] ECharts has been able to work on WeChat Applet.
[+] Added a new smooth policy, which corrects some undesired smooth result. See details in series-line.smooth and series-line.smoothMonotone. Fixed #7158.
[+] Supported series-line.symbolOffset of axis arrow. See #7422.
[+] Supported series-sunburst.label.minAngle, which enables hiding text if the sector is less then the
minAngle. See #7614.[+] Supported configuring series-sunburst.nodeClick in level or single sector. See #7541.
[+] Supported stack data by value but not index. Fixed stack bug when using dataset. See #7535, #7560, #6861.
[^] Fixed shape clip when line chart is overflow cartesian area.
[^] Fixed that the last area of splitArea did not display. See #7118.
[^] Fixed the case when visualMap component is not imported for sunburst. See #7575.
[^] Fixed that apendData did not work when data amount was less then progressive limit. See #7718 and #7625.
[^] Fixed that apendData caused series color changed if series name was not specified.
[^] Fixed that tooltip.axisPointer.label.show did not work when set as
false. See #7725.[^] Fixed that map could not be selected if an area had no data. See #7629.
[^] Fixed candlestick encode problem. See #7715.
[^] Fixed the data item empty check logic, which caused that renderItem could not enter when value array length not the same, and dataset could not be displayed. See #7733.
[^] Fixed the textStyle compatibility logic.
v4.0.2
[^] Fixed that in some case the scollable legend (
legend.type: 'scroll') caused ghost. See #7502.[^] Fixed that the
selectedoption did not work in the data item of pie. See #7515.[^] Fixed play button of timeline component could not be disabled. See #7506.
v4.0.1
v4.0.0
[+] Supported to render up to tens millions of data directly. ECharts4 has upgrade to stream architecture, and along with detailed optimization, it has supported to render incrementally loaded data and support progressive rendering.
- Ten millions of GIS data probably take up to about hundreds MB of space. In this case chunked data loading or WebStock is required for the purpose of display graphics as soon as possible and not blocking the browser while processing loaded data. The samples of incremental data loading can be checked here: scatterGL-gps and linesGL-ny, who use ECharts GL, and lines-ny, who only uses ECharts.
- Supported the human interactions in the big data scenario, where continuous interactions (e.g., roam in geo and cartesian) will not block the browser. Benefit from the using of GPU and avoiding of layout recalculation, ECharts GL provides smooth interactions, which has been demonstrated in the examples above. Without WebGL, the basic ECharts implements progressive rendering to support non-blocking interaction, which can be checked at the pan and zoom in lines-airline and scatter-large.
[+] Published ZRender SVG Rendering Engine as an alternative backend of ECharts besides the existing Canvas Rendering Engine. The choice of rendering engine usually depends on the scenario, for example, benefit from the low memory cost, SVG Rendering Engine is suitable for mobile device, or the case that many ECharts instances exists in a single page, while the Canvas Rendering Engine is suitable for big data rendering or when visual effects required. Canvas Rendering Engine is default rendering engine. See zrender.
[+] Published Sunburst Chart to visualize hierarchical data efficiently with excellent interactions. See [examples] and (excellent) and docs.
[+] Published dataset component to support data based configuration, visual encoding and data sharing in different series.
[+] Supported WAI-ARIA (the Accessible Rich Internet Applications Suite) to help the disabled people to access the data visualization in web.
[+] Since ECharts4, the options
labelanditemStylehas been flattened. The original level ofnormalis not needed any more, which make ECharts option more neat. As always, The previous option style in ECharts3 is still be compatible.[+] Added two color themes, named 'light' and 'dark'. Apply them by
echarts.init(dom, themeName);.[+] Supported that auto collect legend names when legend.data is not specified.
[+] Supported that auto collect category names when
axis.typeis'category'and axis.data is not specified.
v3.8.4
- [^] Fixed that
registerMapis null onindex*.js. - [^] Fixed some CommonJS incorrect brought by injection.
v3.8.2
- [^] Fixed backward compatibility problems brounght by
3.8.0:- In
3.8.0, the content inlibdirectory is the same as the content insrcdirectory (both are ES Module), which may not compatible with the old verisons of node and webpack. So rollback to commonJS format inlibof3.8.2. - In
3.8.0, the source code insrcconstains global variable__DEV__(which prints dev helper info for echarts users). To get the declaration of the global variable, users should includeecharts/src/config.jsmanually or make some settings inwebpack/rollup(Check custom build tutorial please), which is not backward compatible. So we have removed__DEV__from the codes inecharts/lib/**in3.8.2. If dev helper info is required, use codes inecharts/src/**. - After
3.8,echarts/src/echarts.js(the same asecharts/lib/echarts.jsin3.8.0) does not include util methods, which used to be mounted on it. Now util methods are listed inecharts/src/exportand mounted onecharts/echarts*.js. But it is not backward compatibility, so we have rollbacked to mount them onecharts/lib/echarts.jsin3.8.2. - The way of including
echarts/extension/dataTool, havs been rollbacked to the original approach before3.8, where it must be included explicitly, and the namespace will be mounted onechartsnamespame.
- In
- [^] Fixed the problem that SVG renderer throws error when encounter null value.
v3.8,0
[+] Supported Tree Chart, including horizontal layout, vertical layout, radial layout.
[+] Supported SVG Renderer (beta), enable developers to choose SVG or Canvas renderer based on their platfroms and functional requirments.
[+] Source code of echarts has been switched to ES Module, which enabled tree shaking of bundle and reduced size.
[+] Supported build scripts for creating custom build, including multiple language support. See custom build tutorial. And added Finnish support, which is contributed by xvaara in PR #6863.
[+] Supported axis arrow. See #6675.
[+] Supported strokeWidth and strokeColor in treemap. See #6804.
[+] Supported show adjacent nodes in graph. See #6772.
[^] Fixed the area calculation when grid.containLabel is
trueand axis is rotated. Thanks xvaara for PR #6951.[^] Fixed that the calculation of interval is not incorrect when axisLabel.rotate is set in category axis. See #4170. Thankslanyuechen for PR #6903.
[^] Fixed the negative problem in
dataTool.prepareBoxplotData. Thanks d-rudolf for PR #6749.[^] Enhanced the label interval of time axis. Thanks xiaoshan00 for PR #6808.
[^] Supported radiusAxis.inverse. See #6805 and #4253.
[^] Renamed some variables to avoid webpack special variable name. See #6788.
[^] Fixed position problem of scrollable legend. See #6756.
[^] Fixed that the themeRiver legend color is incorrect. See #6932.
[^] Fixed that brush empty value caused error thrown. See #6892.
dist/echarts/echarts.simple.jsdo not includ utils, which used to be mounted onecharts.dist/echarts/echarts.common.jsanddist/echarts/echarts.jskeep including them as before. And developers can custom build to include them.Changes about
dataTool: When usingdist/echarts/echarts.simple.jsordist/echarts/echarts.common.js,dist/echarts/extension/dataTool.jsshould be manually included as before, but the namespacedataToolwill not be mounted toecharts. When usingdist/echarts/echarts.js,echarts.dataToolis included automatically by default.
v3.7.2
[+] Supported English version build (All default text is in English) in https://github.com/apache/incubator-echarts/tree/master/dist. See #2321.
[+] Supported pie.hoverOffset. See #3857.
[^] Fixed compatibility of data in candlestick. See #6576.
[^] Fixed showMaxLabel showMinLabel.
[^] Fixed area chart when all value is negative. See #6707.
[^] Made the meaning of
'middle'and'center'consist in axis.nameLocation.[^] Fixed that markArea.itemStyle.emphasis did not work. See #5245.
[^] Fixed that calender did not work because of DST (Day Saving Time). See #6543.
[^] Enhanced the "save as image" in IE. See #6279.
[^] Fixed cleaning for "motion blur". See #6577.
[^] Fix doji for k series candlestick. See #6583.
[^] Fixed the compatibility for
markPoint. See #6503.
v3.7.1
[Recovery Build]
[^] Fixed problems of compatibility and emphasis style about textStyle. See #6491、#6529, #6516, #6532, #6237.
[^] Add sub-pixel optimize to candlestick.
[^] Fixed that emphasis style was not applied when using graph.focusNodeAdjacency.
v3.7.0
[+] Supported Rich Text, which has enabled style configuring to some text snippets or the entire text block, and supported using images in text, and supported alignment or rotation of text block or snippets.
[+] Supported Scrollable Legend, which provides a solution for displays planty of legend items. See vertical legend 或 horizontal legend.
[+] Flatten
textStyleoption.textStyleexist in echarts option everywhere, for example, series-bar.label.normal.textStyle, xAxis.axisLabel.textStyle. It seems that some of them are to deep and verbose. So we removed the level oftextStyleto flatten them. That is, previouslabel.normal.textStyle.fontSize,axisLabel.textStyle.fontSizeis modified tolabel.normal.fontSize,axisLabel.fontSizeafterv3.7. Of course, the previous style is compatible all the same. Those options are flattened:axisPointer.textStylexAxis.axisLabel.textStyleyAxis.axisLabel.textStyleradar.axisLabel.textStylesingleAxis.axisLabel.textStyleradiusAxis.axisLabel.textStyleangleAxis.axisLabel.textStyleparallel.parallelAxisDefault.axisLabel.textStyleparallelAxis.axisLabel.textStyleseries.label[normal|emphasis].textStyleseries.data.label[normal|emphasis].textStyleseries-gauge.axisLabel.textStyleseries-gauge.title.textStyleseries-gauge.detail.textStyleseries-treemap.upperLabel[normal|emphasis].textStyleseries-graph.edgeLabel[normal|emphasis].textStylecalendar.dayLabel.textStylecalendar.monthLabel.textStylecalendar.yearLabel.textStylemarkPoint.label[normal|emphasis].textStylemarkPoint.data.label[normal|emphasis].textStylemarkLine.label[normal|emphasis].textStylemarkLine.data.label[normal|emphasis].textStylemarkArea.label[normal|emphasis].textStylemarkArea.data.label[normal|emphasis].textStyletooltip.axisPointer.crossStyle.textStyleaxisPointer.label.textStyletimeline.label.textStyleradar.name.textStyle
[+] Supported minInterval on time axis (that is, axis.type is
'time'), and supported maxInterval on value axis (that is axis.type is'value'). So that it is enabled to controll the precision of label when data zooming.[+] Supported xAxis.axisLine.onZeroAxisIndex, which enables specifing corresponding relationship when multiple axes used and
onZerois required. See #5069.[+] Supported that do not use coordinate system in
custom series.[+] Supported rotation and alignment of label in bar chart. See rotate, align, verticalAlign. See example. See #5309.
[+] Supported radar.indicator.color, which enables setting different color for each indicator of radar chart. See #6128.
[+] Supported dataZoom.rangeMode, which can fixing zoom window according to data when data updated. See #6128.
[+] Supported using
dataIndexin action.legend.legendToggleSelect, action.legend.legendSelect, action.legend.legendUnSelect. See #4242.[+] Supported map.label.formatter, which enables using rich text in map series. See Map Labels.
[+] Supported title.borderRadius and legend.borderRadius, which enables round corner of background or border in
titleandlegendcomponent.[^] Fixed that error thrown when using shadow in pie series in some version of IE. See #5777.
[^] Fixed that name can not be obtained in
tooltipwhennameMapwas used in map serise and there was no data in some areas. See #5633.[^] Fixed
tooltiplocation incorrect after roamed in bmap extension. See #6211.[^] Fixed null pointer exception of
axisPointer. See #6121.[^] Fixed that error occured when height of heatmap was 0. See #6214.
[+] Fixed the incorrect rendering when the first entry was empty in candlestick. See #6059.
[^] Fixed that series-bar.dimensions did not work. See #6252.
[^] Fixed that when chilren number of group was not fixed, they could not be removed correctly in custom series.
[^] Fixed the error that calling
connectbeforesetOptioncalled. See #6281.[^] Fixed the edge judgement of tooltip.confine. See #6277 and 0da06d8.
[^] Fixed that bar series displayed abnormal when viewport was narrow and bar series were overlapped (both set
barWidthandbarGap: '-100%'). See #6312.[^] Fixed precision problems. See #6371.
v3.6.2
[+] Supported draw custom series on Baidu Map (bmap). See example 1 and example 2.
[+] Supported show parent labels in treemap. See example. See #5869 and #5579.
[+] Supported specifying mouse cursor style by: series-line.cursor, series-bar.cursor, series-pie.cursor, series-scatter.cursor, series-effectScatter.cursor, series-graph.cursor, series-pictorialBar.cursor.
[+] Support both negative and positive bounding data specified on series-pictorialBar.symbolBoundingData. See #5793.
[+] Supported label.formatterin
treemap. See #5757.[+] Supported label.normal.textStyle.align and label.normal.textStyle.basealign in
timeline. See #5960.[^] Fixed that
tooltipdid not work when large scatter was zoomed. See#5837.[^] Fixed that parameter
positiondid not work when trigger showTip action. See #5874.[^] Fixed that sometimes the sum of the percent value is less than
100%slightly in pie, which was caused by precision problem. See #5850.[^] Fixed only the last
markPointormarkLinewas displayed whenseries.namewas the same. See #5712.[^] Fixed that barBorderRadius did not work in horizontal bar. See #5943.
[^] Fixed the zoom point error when applying dataZoom-inside on Y axis. See #5278.
[^] Fixed sometimes radar did not display normally. See #5986.
v3.6.1
[Recovery Build]
- [^] Fixed that data sampling did not work.
- [^] Fixed the problem on ie11 when compiled by webpack. See zrender/#189.
v3.6.0
[+] Published custom series, which enables user to customize render logic and make new types of chart. See samples.
[+] Supported polar bar chart. See sample1, sample2, sample3.
[+] Supported encode, which enable user to specify which dimensions in data are mapped to which axis of coordinate system. Or which dimensions will be displayed in tooltip or label. [Break Change]: The default name of the third dimension in
cartesian2dis changed from'z'to'value'. If'z'is used in visualMap.dimension, please modify it to'value'or2.[+] Supported dimensions, which enables that specifying names and types for each dimensions in data. Name can be displayed in tooltip.
[+] Supported dataZoom.minSpan and dataZoom.maxSpan. See #2843.
[+] Supported dataZoom.moveOnMouseMove and dataZoom.zoomOnMouseWheel, which enables that triggering dataZoom only by mouse wheel while holding 'ctrl'/'alt'/'shift'. Moreover, supported preventDefaultMouseMove, See #5769.
[+] Supported using image in dataZoom.handleIcon setting.
[^] Fixed boundary problems on world map.
[^] Fixed that minInterval did not work when min was set. See #4838.
[^] Fixed problems caused by default properties on
Object. See #5576.[^] Fixed that error was thrown when
setOptionwhile legend selection changed, which was caused graphic. See #5783.[^] Fixed parallelAxis.axisLabel.interval supporting. See #5694.
[^] Enhanced interaction of
dataZoom.[^] Fixed the problem about minAngle on rose chart. See #5617.
[^] Fixed the problem when tooltip updating.
v3.5.4
- [^] Fixed the
clipPathsupport for liquidfill. - [^] Fixed the position when
labelis set asinsideTop. - [^] Fixed the problem when transforming SVG PathData.
v3.5.3
[^] Fixed the problem when both
leftrightwidthtopbottomheightare set. See #5440.[^] Enhanced the effect of boundaryGap when only one data existed. See #4417.
[^] Made the sorting of treemap stable when values were the same.
[^] Fixed that roam and brush conflicted when components overlaped.
[^] Enlarged area of parallel axis name when it rotates.
[^] Enabled toolbox clear button to be able to clear brush box of parallelAxis.
[^] Improved the performance of zrender up to
50%.
v3.5.2
[+] Supported useUTC, which enables display
axisLabelandtooltipin local time or UTC. Related default setttings are modified:axisLabelandtooltipdisplay local time by default, anddatarecognize time string as local time if timezone not specified. See the time part in series.data. Fixed the problem that whenaxis.typeis'time'tick is determined by UTC and can not align with daytime. Fixed #5396 and #5393.[+] Supported axisLabel.showMinLabel and axisLabel.showMaxLabel.
[+] Supported funnel.sort, which enables sorting funnel by index or customized function.
[^] Fixed float error of
axisTick. See #5041.[^] Fixed that
axisTickdid not display when value was too small. See #5386.[^] Fixed when tooltip.trigger was
'axis',dispatchActionshowTip did not work. See #5423.[^] Fixed that visualMap disabled
itemStyleof map. See #5388.[^] Fixed that tooltip.trigger did not support
'none'. See #5400.[^] Fixed that
data.lineStyle.colorof parallel did not work. See #5363.
v3.5.1
Recovery Build
v3.5.0
[+] Published calendar coordinate system. See examples.
[+] Published echarts statistics tools echarts-stat
[+] Enhanced axis pointer See examples: link, mobile (touch device) 1, mobile (touch device) 2, analysis, multiple Y axes, multiple X axes. Supported and enhanced #5040, #5039, #5102, #5262, #4905, #4921, #5091.
[+] Enhanced method
echarts.util.parseDate, which have supported parsing different formats of data expression to UTC time. See time in series.data[^] Enhanced processing of geoJSON.
[^] Fixed that toolbox.feature.dataZoom can not control multiple x axes. See #4896.
[^] Fixed the default extent of category axis in dataZoom. See #5226.
[^] Fixed function name of "disConnect". See #5208.
[^] Remove incorrect warning specifying
width,heightwhen initialize echart. See #4569.[^] Fixed that tooltip in gauge do not support percentage. See #4347 and #4332.
[^] Fixed the behavior when pointer color is 'auto' in gauge. See #5109.
[^] Fixed the problem when series-gauge.pointer.show is
false. See #4944.Fixed the initialization of series-treemap.data is incorrect in one case.
Enhanced the behavior of brush on category axis.
[^] Fixed that visualMap is abnormal when some item of visualMap-piecewise.categories is numberic string. See #4960.
v3.4.0
[+] Published
pictorialBarchart:pictorialBar. See example.[+] Published
themeRiverchart:themeRiver.See example.[+] A specified geo coordinate system has been able to be used in map series. (In the past map series could only creat an inner exclusive geo coodinate system). Thus, map series can be used to control color of a geo component. Moreover, a geo coordinate system can be shared among map series and other series, like scatter series. See series-map.geoIndex.
[+] Added focusNodeAdjacency action, which enables trigger adjacent highlight of graph through API.
[+] Added series-pie.animationType, which enables more animation effects.
[+] Callback function have been supported in animationDuration, which enables different animation duration of data items.
[+] min and max have been supported in category axis.
[+] category axis has been changed to show all categories by default, in spite of whether there is data in categories. In the past, categories in the end that has no data will not be displayed.
[+] When using singleAxis,
series.datahas supported one-dimension array, like[11, 23, 44].[+] dataZoom has supported singleAxis.
[+] Exposed throttle util method:
chart.util.throttle.[+] candlestick has supported barWidth, barMinWidth and barMaxWidth. See #4783.
[+] lines chart has supported symbol, symbolSize.
[+] Added support for show end text and data label at the same time in visualMap-piecewise. See visualMap-piecewise.showLabel, and See #4845.
[+] When using visualMap to control a series, it has supported that some data items escape from the control by visualMap, but use its series visual settings (color, symbol, ...). See the paragraph of
Configure mappingin visualMap.[^] Enhanced the effect of grid (cartesian) when on data displayed.
[^] Added parameter
dataIndexin showTip event.[^] Fixed vulnerability about XSS in tooltip. See #4769.
[^] Fixed that some attributes did not work in series-graph.edgeLabel. See #4555.
[^] Fixed tick render problem when
minmaxisstirngin series-gauge. See #4617.[^] Fixed series-gauge.pointer.show problem. See #4618.
[^] Fixed series-radar render error in a case that no data exists.
[^] Fixed markArea.label.normal.show problem. See #4723.
[^] Enhanced the process when data is equals or less then zero in log axis. See #4743 and #3161.
v3.3.2
[+] Add graphic in option, enable graphic configuration in option. See examples: http://echarts.baidu.com/gallery/editor.html?c=line-y-category, http://echarts.baidu.com/gallery/editor.html?c=line-draggable and http://echarts.baidu.com/gallery/editor.html?c=map-province.
[+] Add visualMin and visualMax, and enhance capability of visual mapping in treemap. See #2509.
[+] Add tooltip.confine, which can confine tooltip within contianer of echarts instance. It helps a lot in small screen, or in the situation that outer dom is set to be
overflow:hidden.[^] Fix that erroneously forbiden default pan behavior in touch device. See #4393.
[^] Fix calculation error of containPixel in geo / graph. See #4405.
[^] Fix symbol mapping in visualMap.
[^] Enable realtime upating of label in dataZoom. See #4434.
[^] Fix that can not save as image in MS Edge browser. See #2451 and #3586.
[^] Fix format problem for
'time'axis in tooltip. See #4398.[^] Fix tooltip may not show bug when first series have null data.
[^] Fix grid.containLabel not works for large fontSize. See #3805.
[^] Fix
echarts.extendSeriesModelerror. See #4397.[^] Fix render error when
clockwiseisfalseandminAngleis used in pie. See #4414.[^] Fix erroneously rendering dot in tooltip when using gradient color. See #3994.
v3.3.1
v3.3.0
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.10
v3.1.9
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
【+】add in radar chart, see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-radar
[^] position optimization of average, minimum and maximum value starting point and finishing point. Fix #2762, #2688.
[^] fix the only one configuration for ''none'' bug in markLine symbol. See #2733
[^]optimization of vertically centered multiple yext lines.
[^] emphasis configuration item of label in data item as pie chart is normal value by dafualt.
[^] when introdcued on need, line chart, pie chart and scatter chart introduce grid component by dafault to avoid problems in#2758.
[^] fix floating point precision bug in dataZoom component. Fix #2757
[^] unselected legend chart is grey. See #2615
[^] fix dataZoom position failure bug in media query of 3.1.1. Fix #2710
[^] fix firefox's incapability of triggering wheel events bug in 3.1.1 中. Fix #2730
[^] IE8 optimization.
[^] change to webpack to build code.
v3.1.2
【+】provide theme download,see details in https://echarts.apache.org/en/download-theme.html
[^] fix
the bug that update data can not be shown insetOption` after emptying line chart data in v3.1.1.[^] fix possiblity of reporting
id duplicateserror insetOption(chart.getOption()). Fix #2635[^] allow to customize toolbox toobar. See details in toolbox.feature
[^] scale optimization of
'time'type axis in large-span time range.[^] fix no show of label formatter return to 0.Fix #2659
[^] fix markPoint label display error in charts with vertical axis as category axis.Fix #2641
[^] optimize dataZoom, fix dynamic data update problem in dataZoom chart. Fix #2667
[^] percentage is 0 rather than NaN when all pie chart data are zero. Fix #2690
[^] title alignment optimization.
[^] support display of tooltip when charts update. Fix #2478
[^] dashboard
splitLine.length,axisTick.lengthsupports percentage.[^] optimization of line animation feature.
[^] optimization of category axis feature of large data amount .
[^] fix error reporting bug of markPoint and markLine in IE8.
[^] fix error reporting bug under
'use strict'model. Fix #2643
v3.1.1
【+】newly add npm channel to obtain echarts, see details in webpack + echarts tutorial
[^] fix abnormal indynamic markPoint and markLine . Fix #2522
[^] fix parameter error in axis interval callback. Fix #2470
[^] fix failure in customizing lineStyle of every edge in graph. Fix #2558
[^] saveAsImage supports IE9+ and FireFox in toolbox.
[^] support cylindrical corner configuration. #2550
[^] fix error in dataZoom location configuration item. Fix #2619
[^] fix possible
id duplicateerror when fixsetOptionfor too many times.Fix #2452[^] candlestick and boxplot chart support markPoint and markLine.Fix #2566
[^] fix reset error in toolbox after use
setOptionin non-merge model.Fix #2596[^] scatter chart and markPoint support configurating
labelformatterinemphasis. Fix #2596[^] Treemap supports
roamconfiguration item.[^] axis of time type support time data of string format.
[^] fix switch problem in Line and area charts. Fix #2625
[^] location optimization of multiple series of bar chart markPoint. Fix #2623
[^] fix error reporting in init when theme is string and has dataZoom component. Fix #2619
[^] legend and toolbox support setting height and width and wrap automatically through width and height.Fix #2621
[^] optimization of line chart smooth, add in
smoothMonotoneconfiguration item, see details in option.html#series-line.smoothMonotone, Fix #2612[^] fix incapability to trigger mouse events on computers with touch screen like Surface and so on. Fix #2569
v3.0.2
[^] fix highlight failture in scatter chart.
[^] optimize tooltip linkage. Fix #2445
[^] dataZoom of inside type support zoomLock.
[^] add error alert of non-exist map type.
[^] optimize legend switch animation of line chart.
[^] fix problem about Legends cannot be added dynamically. Fix #2457
[^] fix timeline's incapability to configutate show.
[^] fix 0 data shown as undefined in tooltip .Fix #2463
[^] fix incorrect display of dataZoom zoom graphic. Fix #2462
[^] fix the problem of axis
minmaxas string, PR #2481
v3.0.1
[^] fix average value, maximum value and minimum vaule label and the incapability to show correct value of tooltip. Fix #2393
[^] fix drawing incorrectness when bar chart has bigger width than height, Fix #2343
[^] fix the function problem of legend
showconfiguration item. Fix #2371[^] map type can choose data attribute.
[^] fix average mark and mark calculation errors, Fix #2367
[^] animation optimization when line chart change from
'-'no data to data.[^] mouse wheel zoom direction change to ommonly used one.
[^] data area zoom tool in toolbar support specified axis, see detail intoolbox document
[^] fix no data error on timeline, scale change from
[-1, 1]to[0, 1]when data value axis has no data.[^] fix drawing error of axis splitArea.
[^] fix multiple chart example linkage problem. Fix #2391
[^] fix the problem that color on legend cannot display correctly with pie chart color being callback function. Fix #2372
[^] fix mouse hover errors when pie chart data is 0.
[^] when all pie chart data are 0, secotrs changed to uniform distribution.
[^] fix errors in background seeting under IE 8.
[^] fix incorrect release event in tooltip component dispose.
v3.0.0
- The new echarts