chore(deps): Update dependency echarts to v5 #1018
Closed
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.
This PR contains the following updates:
^4.9.0
->^5.2.1
Release Notes
apache/echarts
v5.2.1
Compare Source
axisLabel.hideOverlap
. #15583 (svedova) #15712 (pissang)radius
in levels #15706 (Ovilia)icon
not keep aspect. #15720 (pissang)markLine
,markPoint
andmarkArea
may not work on time axis if use string time data #15686 (100pah)href
attribute not work in SVG source. #803 (plainheart)v5.2.0
Compare Source
v5.2.0
Break Changes
All Changes
series.colorBy
#13788 (Ovilia)rippleEffect.number
#15335 (plainheart)pointer.showAbove
to allow pointer show above the title and details. #15337 (AmosChenYQ) #15326 (susiwen8)emphasis.color
can use'inherit'
to be not higlighted. #15172 (Foreverwzh)'middle'
#15309 (Ovilia)borderRadius
can't be reset in pie series and sunburst series when setting it tonull
orundefined
#15243 (plainheart)none
ornull
fillStyle may be warned in firefox #784 (plainheart)chart.dispatchAction
not work as expected #15207 (ssthouse)series.nodes
to represent data. #15199 (DuLinRain)text.lineHeight
not work #773 (ssthouse)borderJoin
toround
. #15145 (plainheart)borderJoin
toround
. #15381 (Ovilia)label.show
set tofalse
will throw error #15141 (susiwen8)emphasis.show
totrue
. #15072 (Ovilia)treeAncestors
in callback params #14976 (pissang)renderItem
in custom series.echarts.init
. #15487 (John60676)polarIndex
when coordinate of series is polar #15281 (Map1en)pie
data andmap
data. #15144 (plainheart)v5.1.2
Compare Source
v5.1.2
treeAncestors
property in the params of tooltip callback . #14957 (stephenLYZ)ctx.save
call when dirty rect is enabled. #765 (pissang)tooltip.formatter
is not specified, use a specific default formatter, rather than use globaltooltip.formatter
as default. Fix #14939. #14972 (100pah)clip
is set asfalse
. #14813 (plainheart)toolbox.feature.dataZoom
not declared. #15015 (100pah)linearMap
util. #14602 (plainheart)timelineplaychange
event when play to the end. #14620 (Ovilia)show
option of customized toolbox button does not work. #14408 (plainheart)LineEndLabelOption.valueAnimation
to be optional. #14806 (Bilge)v5.1.1
Compare Source
geo
component. #14767 (pissang)appendToBody
. #14713 (plainheart)symbolOffset
incorrectly marked as mandatory. #14693 (villebro)v5.1.0
Compare Source
v5.1.0
z
and not in the front. #14542 (plainheart) #14417 (susiwen8)CanvasPatttern#setTransform
may not exists error. #738 (pissang)symbolOffset
work on all the components using symbols. #14375 (plainheart)labelLayout
is used. #14578 (pissang)LegendComponentOption.icon
property type #14263 (thesiti92)v5.0.2
Compare Source
v5.0.2
'image://'
won't display #14056 (susiwen8)zero
value sector may be incorrectly drawn as a circle. #699 (plainheart)geo
as dependency in map. #14124 (pissang)labelLine
will not been hidden whenlabel
is switched from outside to inside #14017 (susiwen8)yAxisIndex: false
in toolbox dataZoom may have error. #14175 (100pah)pixelRatio
. #706 (plainheart)devicePixelRatio
by default for exporting crisp and clear images by default. #14002 (plainheart)opacity
may not work in SVG renderer. #675 (plainheart)v5.0.1
Compare Source
v5.0.1
showLoading
center align andfontSize
not work. AddfontFamily
,fontWeight
,fontStyle
#13972 (yufeng04)pointer.offsetCenter
doesn't work without icon #13966 (yufeng04)v5.0.0
Compare Source
v5.0.0
types/dist/echarts.d.ts
for the upper TS based applications, where the TS version supported is down to 3.4.highlightPolicy
,focusNodeAdjacency
,hoverOffset
, by the optionfocus
,blurScope
andscale
. See examples sankey-energy, graph, sunburst-drink.labelLayout
to 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:labelLine
for 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.series.sort
andseries.realtimeSort
) and end label animation (series.label.valueAnimation
,series.endLabel
). And this individual options can be used in other related scenarios.during
. See the example custom-spiral-race, and see more details in #12775.dataset
in 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.decal
:darkMode
. 12911.parseDate
#13044.lineStyle: {color: 'gradient'}
.markPoint.data.type
andmarkArea.data.type
support the value'median'
.contentToOption
totally optional. #13139.option.color = ['#c23531', '#​2f4554', '#​61a0a8', '#d48265', '#​91c7ae', '#​749f83', '#ca8622', '#bda29a', '#​6e7074', '#​546570', '#c4ccd3'];
.'echarts/lib/export.js'
is not mounted to'echarts/lib/echarts.js'
by default. If the upper application previously usedimport 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.src/echarts.js
,src/chart/*.js
andsrc/component/*.js
, it can not work any more because all of the files in/src
folder are migrated to*.ts
. Instead, the upper application can importesm/echarts.js
,esm/chart/*.js
andesm/component/*.js
.visualMap
anditemStyle
|lineStyle
|areaStyle
are reversed. That is, previously, the visuals (i.e., color, symbol, symbolSize, ...) that generated by the componentvisualMap
has 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
|areaStyle
has highest priority.rich.?.padding
are changed. Previouslyrich.?.padding: [11, 22, 33, 44]
indicates that the top padding is33
and the bottom padding 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 the top padding is11
and the bottom padding is33
.aria
is not included indist/echarts.simple(.min).js
since v5.0. But it is still included indist/echarts.common(.min).js
anddist/echarts(.min).js
.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
.position
,scale
andorigin
are still supported but deprecated.graphic
components: the declarations of each element.custom series
: the declarations of each element in the return ofrenderItem
.style.text
are deprecated in elements exceptText
. Instead, Prop settextContent
andtextConfig
are provided to support more powerful capabilities.style
andstyle.rich.?
. Use the props at the right part below instead.graphic
components: the declarations of each element. [compat, but not accurately the same in some complicated cases.]custom series
: the declarations of each element in the return ofrenderItem
. [compat, but not accurately the same in some complicated cases].chart.one(...)
is deprecated.label
:color
,textBorderColor
,backgroundColor
andborderColor
, the value'auto'
is deprecated. Use the value'inherit'
instead.hoverAnimation
:series.hoverAnimation
is deprecated. Useseries.emphasis.scale
instead.line series
:series.clipOverflow
is deprecated. Useseries.clip
instead.custom series
: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(...)
.sunburst series
:highlight
is deprecated. UsesunburstHighlight
instead.downplay
is deprecated. UsesunburstUnhighlight
instead.series.downplay
is deprecated. Useseries.blur
instead.series.highlightPolicy
is deprecated. Useseries.emphasis.focus
instead.pie series
:pieToggleSelect
=>toggleSelect
pieSelect
=>select
pieUnSelect
=>unselect
pieselectchanged
=>selectchanged
pieselected
=>selected
pieunselected
=>unselected
series.label.margin
is deprecated. Useseries.label.edgeDistance
instead.series.clockWise
is deprecated. Useseries.clockwise
instead.series.hoverOffset
is deprecated. Useseries.emphasis.scaleSize
instead.map series
:mapToggleSelect
=>toggleSelect
mapSelect
=>select
mapUnSelect
=>unselect
mapselectchanged
=>selectchanged
mapselected
=>selected
mapunselected
=>unselected
series.mapType
is deprecated. Useseries.map
instead.series.mapLocation
is deprecated.graph series
:series.focusNodeAdjacency
is deprecated. Useseries.emphasis: { focus: 'adjacency'}
instead.gauge series
:series.clockWise
is deprecated. Useseries.clockwise
instead.series.hoverOffset
is deprecated. Useseries.emphasis.scaleSize
instead.dataZoom component
:dataZoom.handleIcon
need prefixpath://
if using SVGPath.radar
:radar.name
is deprecated. Useradar.axisName
instead.radar.nameGap
is deprecated. Useradar.axisNameGap
instead.echarts.format.formatTime
is deprecated. Useecharts.time.format
instead.echarts.number.parseDate
is deprecated. Useecharts.time.parse
instead.echarts.format.getTextRect
is deprecated.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.