[Recovery Build]
[+] 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.
[^] Fixed that in some case the scollable legend (legend.type: 'scroll'
) caused ghost. See #7502.
[^] Fixed that the selected
option did not work in the data item of pie. See #7515.
[^] Fixed play button of timeline component could not be disabled. See #7506.
[+] 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.
[+] 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 label
and itemStyle
has been flattened. The original level of normal
is 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.type
is 'category'
and axis.data is not specified.
registerMap
is null on index*.js
.3.8.0
:3.8.0
, the content in lib
directory is the same as the content in src
directory (both are ES Module), which may not compatible with the old verisons of node and webpack. So rollback to commonJS format in lib
of 3.8.2
.3.8.0
, the source code in src
constains global variable __DEV__
(which prints dev helper info for echarts users). To get the declaration of the global variable, users should include echarts/src/config.js
manually or make some settings in webpack
/rollup
(Check custom build tutorial please), which is not backward compatible. So we have removed __DEV__
from the codes in echarts/lib/**
in 3.8.2
. If dev helper info is required, use codes in echarts/src/**
.3.8
, echarts/src/echarts.js
(the same as echarts/lib/echarts.js
in 3.8.0
) does not include util methods, which used to be mounted on it. Now util methods are listed in echarts/src/export
and mounted on echarts/echarts*.js
. But it is not backward compatibility, so we have rollbacked to mount them on echarts/lib/echarts.js
in 3.8.2
.echarts/extension/dataTool
, havs been rollbacked to the original approach before 3.8
, where it must be included explicitly, and the namespace will be mounted on echarts
namespame.[+] 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 true
and 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.js
do not includ utils, which used to be mounted on echarts
. dist/echarts/echarts.common.js
and dist/echarts/echarts.js
keep including them as before. And developers can custom build to include them.
Changes about dataTool
: When using dist/echarts/echarts.simple.js
or dist/echarts/echarts.common.js
, dist/echarts/extension/dataTool.js
should be manually included as before, but the namespace dataTool
will not be mounted to echarts
. When using dist/echarts/echarts.js
, echarts.dataTool
is included automatically by default.
[+] Supported English version build (All default text is in English) in https://github.com/ecomfe/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.
[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.
[+] 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 textStyle
option. textStyle
exist 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 of textStyle
to flatten them. That is, previous label.normal.textStyle.fontSize
, axisLabel.textStyle.fontSize
is modified to label.normal.fontSize
, axisLabel.fontSize
after v3.7
. Of course, the previous style is compatible all the same. Those options are flattened:
axisPointer.textStyle
xAxis.axisLabel.textStyle
yAxis.axisLabel.textStyle
radar.axisLabel.textStyle
singleAxis.axisLabel.textStyle
radiusAxis.axisLabel.textStyle
angleAxis.axisLabel.textStyle
parallel.parallelAxisDefault.axisLabel.textStyle
parallelAxis.axisLabel.textStyle
series.label[normal|emphasis].textStyle
series.data.label[normal|emphasis].textStyle
series-gauge.axisLabel.textStyle
series-gauge.title.textStyle
series-gauge.detail.textStyle
series-treemap.upperLabel[normal|emphasis].textStyle
series-graph.edgeLabel[normal|emphasis].textStyle
calendar.dayLabel.textStyle
calendar.monthLabel.textStyle
calendar.yearLabel.textStyle
markPoint.label[normal|emphasis].textStyle
markPoint.data.label[normal|emphasis].textStyle
markLine.label[normal|emphasis].textStyle
markLine.data.label[normal|emphasis].textStyle
markArea.label[normal|emphasis].textStyle
markArea.data.label[normal|emphasis].textStyle
tooltip.axisPointer.crossStyle.textStyle
axisPointer.label.textStyle
timeline.label.textStyle
radar.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 onZero
is 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 dataIndex
in 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 title
and legend
component.
[^] 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 tooltip
when nameMap
was used in map serise and there was no data in some areas. See #5633.
[^] Fixed tooltip
location 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 connect
before setOption
called. 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 barWidth
and barGap: '-100%'
). See #6312.
[^] Fixed precision problems. See #6371.
[+] 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 tooltip
did not work when large scatter was zoomed. See#5837.
[^] Fixed that parameter position
did 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 markPoint
or markLine
was displayed when series.name
was 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.
[Recovery Build]
[+] 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 cartesian2d
is changed from 'z'
to 'value'
. If 'z'
is used in visualMap.dimension, please modify it to 'value'
or 2
.
[+] 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 setOption
while 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.
clipPath
support for liquidfill.label
is set as insideTop
.[^] Fixed the problem when both left
right
width
top
bottom
height
are 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%
.
[+] Supported useUTC, which enables display axisLabel
and tooltip
in local time or UTC. Related default setttings are modified: axisLabel
and tooltip
display local time by default, and data
recognize time string as local time if timezone not specified. See the time part in series.data. Fixed the problem that when axis.type
is '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 axisTick
did not display when value was too small. See #5386.
[^] Fixed when tooltip.trigger was 'axis'
, dispatchAction
showTip did not work. See #5423.
[^] Fixed that visualMap disabled itemStyle
of map. See #5388.
[^] Fixed that tooltip.trigger did not support 'none'
. See #5400。
[^] Fixed that data.lineStyle.color
of parallel did not work. See #5363.
Recovery Build
[+] 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,height
when 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.
[+] Published pictorialBar
chart:pictorialBar。See example。
[+] Published themeRiver
chart: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.data
has 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 mapping
in visualMap.
[^] Enhanced the effect of grid (cartesian) when on data displayed.
[^] Added parameter dataIndex
in 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 min
max
is stirng
in 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.
[+] 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.extendSeriesModel
error. See #4397.
[^] Fix render error when clockwise
is false
and minAngle
is used in pie. See #4414.
[^] Fix erroneously rendering dot in tooltip when using gradient color. See #3994.
【+】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.
【+】provide theme download,see details in http://echarts.baidu.com/download-theme.html
[^] fix the bug that update data can not be shown in
setOption` after emptying line chart data in v3.1.1.
[^] fix possiblity of reporting id duplicates
error in setOption(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.length
supports 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
【+】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 duplicate
error when fix setOption
for too many times.Fix #2452
[^] candlestick and boxplot chart support markPoint and markLine.Fix #2566
[^] fix reset error in toolbox after use setOption
in non-merge model.Fix #2596
[^] scatter chart and markPoint support configurating label
formatter
in emphasis
. Fix #2596
[^] Treemap supports roam
configuration 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 insmoothMonotone
configuration 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
[^] 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 min
max
as string, PR #2481
[^] 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 show
configuration 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.