This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
[Snyk] Upgrade echarts from 4.1.0 to 4.7.0 #2011
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade echarts from 4.1.0 to 4.7.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
Package name: echarts
[Feature] Provide new layouts for markLine labels. #11843 (Zhang Wenli)
[Feature] Support background option for bar series. #11951 (Zhang Wenli)
[Feature] Support appending tooltip DOM to HTML body. #8049 #12024 (xinpureZhu, Su Shuang)
[Feature] Add draggable support to group elements. #11959 (Shen Yi)
[Feature] Add polyline edge layout for the tree chart. #11808 (Li Deqing)
[Enhance] Enhance continuity line trail for effect line. #11893 (alex2wong)
[Fix] Fix markPoint position with stack line/bar. #11965 (yikuangli)
[Fix] Radar chart data may appear outside of the radar component. #11841 (Su Siwen)
[Fix] Fix treemap highlight action not triggered. #12050 (Su Shuang)
[Fix] Fix geo cannot be restored. #12035 (Su Shuang)
[Fix] Fix Array.prototype.slice is not defined on typed array #11956 (Shen Yi)
[Fix] Fix candlestick throw error when some series are filtered by legend. #12027 (Su Shuang)
[Fix] Fix brush component not roam with the coordinate system. #11998 (Su Shuang)
[Fix] Fix action
'showTip'
dispatched in radar chart. #11985 (Yu Feng)[Fix] Fix singleAxis support splitArea option. #11890 (newraina)
[Fix] Fix legend pagination may disappear. #11952 (Yu Feng)
[Fix] Emphasis line style options with sankey chart. #11729 (Li Deqing)
[Fix] Fix formatter tooltip has no value in sankey chart. #11752 (Li Deqing)
v4.6.0
[Feature] Optimize label layout on pie. Add new
alignTo
option for aligning the labels. Check more detail in PR #11715 (Wenli Zhang)[Feature] Add
minorTick
,minorSplitLine
on axis. Check more detail in the PR #11705 (Yi Shen)[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 (Shuang Su)
[Enhance] Legend will display colors from
visualMap
component inpie
/funnel
/radar
series. #11737 (Yi Shen)[Enhance] Enhance dataset default encode guess strategy. #11746 (Shuang Su)
[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
graph
andsankey
series. 11572 (Deqing Li)[Fix] Fix bar width calculation with
barMaxWidth
constraint and negativebarGap
. #11713 (Yi Shen)[Fix] Fix seams in
heatmap
series. Which may cause unexpected gray lines. #11689 (Yi Shen)[Fix] Fix unexpected highlight state after inverse selection in
legend
. #11547 (SnailSword)[Fix] Fix tooltip may highlight the point out of chart in
line
series. #11548 (SnailSword)[Fix] Fix label may not disappear on SVG renderer. ecomfe/zrender#535 (Wenli Zhang)
[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
axisPointer
in dark theme. #11656 (asiOvOtus)[Fix] Fix
markPoint
out 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 (Shuang Su)
[Fix] Fix
label.formatter
of leaves intree
series not work. #11556 (Deqing Li)[Fix] Fix overflow symbol not display when
clip
is setfalse
inline
series. #11552 (SnailSword)4.5.0
[Feature] Add
roundCap
option for round corners onbar
series widthpolar
coordinate system. #11393 (Wenli Zhang)[Feature] Add event
brushEnd
forbrush
component #11285(Jian Cui)[Feature] Add
friction
option in force layout ofgraph
. #11276 (Yi Shen)[Feature] Add
ignoreFoceLayout
option in thegraph
links. #11445 (TYzzt)[Feature] Add
axisType
in the indicator ofradar
series. #11324(zifix)[Feature] Add
clip
option incandllestick
series. #11529 (Yi Shen)[Fix] Fix lots of label positioning issues in SVG renderer. ecomfe/zrender#519 (Shuang Su)
[Fix] Fix interval issues related to category axis tick. Like
areaStyle.color
is incorrect in #10948,xAxis.axisTick.interval
is calculated incorrectly in #11176 . #11186 (foolzhang)[Fix] Fix
bar
series can't display on thelog
axis. #11472(SnailSword)[Fix] Fix tooltip may be covered by the canvas when
-webkit-overflow-scrolling: touch
on iOS 13. ecomfe/zrender#522 (Shuang Su)[Fix] Fix some of labels on category axis may disappear forever after chart resized. #11536 (Shuang Su)
[Fix] Fix brush drag gets stuck when the mouse leaves the chart area. #11516 (Shuang Su)
[Fix] Fix image symbol may disappear forever after legend toggled. #11515 (Feng Yu)
[Fix] Fix changing from
'scroll'
type to'plain'
type not work bug in legend. #11504 (Feng Yu)[Fix] Optimize layout and bar width of
bar
series ontime
axis andvalue
axis. Make thebarMaxWidth
has higher priority thanbarWidth
. AddbarMinWidth
forbar
series ontime
axis andvalue
axis. #11479 (Wenli Zhang, Shuang Su)[Fix] Fix title of toolbox icon may be cut by the container. #11456 (Wenli Zhang)
[Fix] Fix precision issue in the ticks calculating. #11488 (Wenli Zhang)
[Fix] Fix
rotate
property of label not work intree
series. #11457 (Deqing Li)[Fix] Fix edge won't disappear after collapsed if the
id
is duplicated intree
series. #11447 (Deqing Li)[Fix] Fix data disappear when updating with
dataset
ingauge
series. #11373 (Wenli Zhang)[Fix] Fix gradient on bar leaked to label in SVG Renderer. (Wenli Zhang)
No content.
No content.
2019-10-15
[Feature] Add option
clip
forline
,bar
,lines
,scatter
andcustom series
,which prevents the shapes overflow the area of the coordinate system. And support setting
filterMode
ontoolbox.dataZoom
. Fix #9200, #10224, #10748, #11086.[Feature] Support "select all" and "reverse select" buttons in
legend
. Seelegend.selector
for details.[Feature] Provide
echarts.graphic.registerShape
andecharts.graphic.getShapeClass
.The registered shape classes can be used in
custom series
andgraphic component
.[Feature] Support show border style on
legend
item. Support settingitemStyle
onlegend
. Fix #7340.[Feature] Support expansion animation for data update, support
pie-series.animationTypeUpdate
. Fix #11029.[Feature] Support setting
rippleEffect.color
ineffectScatter
.[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
map
andgeo
. 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
NaN
value in candlestick. Fix #11101.[Fix] Fix
geo.label.formatter
does 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.
No content.
2019-09-16
[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
backgroundColor
for connected charts in toolbox.toolbox.feature.saveAsImage.connectedBackgroundColor
can 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
/endValue
in'dataZoom'
event.[Feature] Add
dimensionNames
andencode
info to callback parameters of formatters. Fix #10248 and Close #10250.[Feature] Funnel enhancement:
series.label.position
support 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
symbol
andsymbolSize
andopacity
does not work inseries[i]-graph.categories[i]
. Fix #8009 and #5969, contributed by PR #9171.[Fix] Fix that
axisLine.show
does 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.rotate
does 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.interval
of 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
false
value in data items effect subsequent items invisualMap
. Fix #8799.[Fix] Enhance
hoverStyle
andhighlight
/downplay
API. Support keep highlighted when changing style (e.g.,setOption
orhoverLink
). 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
triggerEvent
for label ofangleAxis
. Fix #9765.[Fix] Fix that the hover style bugs of graph:
Fix that the hover style is disabled by
focusNodeAdjacency
in 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
barWidth
calculation 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
rich
used (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
seriesId
inpieselectchanged
. 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
axisLabel
dost not display correctly in radar. Fix #9282, contributed by PR #10036.[Fix] Fix that bar chart is abnormal when
filterMode
ofdataZoom
is 'empty'. Fix #9882.[Fix] Fix
series.label.formatter
callback bug. Fix #10248, contributed by PR #10250.[Fix] Fix that the last axis labels are duplicated. Fix #10304.
[Fix] Fix that setting
emphasis.lineStyle.type
assolid
dose 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
textStroke
bug in custom series.[Fix] Fix graph bug when data is number typed. Fix #10485.
[Fix] Fix that
axisPointer
label padding does not work. Fix #10569.[Fix] Add
dimIndex
for 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.
Commit messages
Package name: echarts
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs