This is an automated email from the ASF dual-hosted git repository. shenyi pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
from 196935f Merge branch 'custom-series-enhance' into next add 5809720 feat: add label manager for each series to layout label. add 2b8da72 feat: improve label layouting. displayed by priority(default to be size of area). add 8c467f2 Merge branch 'next' into label-enhancement add 9718d12 fix(label): respect the original ignore value when handling overlap add db8297b feat(label): ignore style.x/y when x/y is given in labelLayout add 6f9f5af Merge branch 'next' into label-enhancement add 7df0126 Merge branch 'next' into label-enhancement add 447c0a6 fix(progressive): fix task may not been executed in progressive rendering. add 7e84356 fix: avoid unexpected treeshaking. add 5239e3c feat: using state for all user interactions. add 75a69b1 fix(pie): fix pie hover state add b631038 fix(label): fix emphasis position. add 8bf2072 enhance(pie): improve pie animation. #12553 add c30f137 feat: add auto calculated label guide line. add e201982 fix(state): fix some state issues on pie. add 17eb9c0 feat(state): add stateAnimation in all series. use state in sunburst. add 4ae89c2 enhance(state): clearStates and restoreState in the renderSeries overall. add c94b745 fix: fix rotation origin in graph and tree. fix itemStyle in and level of sunbrst. add 0d467b1 fix: fix textContent z on hover. add e4c1308 fix: still compat barBorderRadius, barBorderColor add 6b86fff fix: use highlighted and selected flag to determine if apply state. add 0bb61d0 fix: exclude default stroke when intersecting labels. add 601259d fix: fix hover scale in graph and tree add ea1978b fix: use fill instead of textFIll for text add 72c10a2 Merge branch 'next' into label-enhancement add bce7435 fix(bar): compat barBorderWidth add 7f53a78 Merge branch 'next' into label-enhancement add bda15a2 Merge branch 'next' into label-enhancement add 6fa462f fix: compat barBorderXXX in backgroundStyle. rename barBorderRadius to borderRadius add 34e4cb0 feat: label and labelLine animation add 906e363 fix: compat barBorderXXX in backgroundStyle add 678b42d fix: fix class error in ES6 built file add fba40c7 fix: fix not existed emphasis state caused error. add c11498d refact: layout label after render in pie. add 4062b9f feat: support state transition in geo component add 5accd25 feat(pie): improve the shape of label layout add d8b1f1c feat: add minTurnAngle in labelLine add 86d6c25 feat: ignore labelLayout if it's not specified in option add fead688 feat(label): support overlap configuration in labelLayout add dae5a2b feat: add labelLine for all series add c344d13 feat: add draggable in labelLayout add 6f57d74 fix(label): fix logic issues in setLabelLineStyle add 65f4fc4 feat: change label overlap configuration for supporting overlap layout add ca57e80 feat(label: add shift-x, shift-y option for moveOverlap in labelLayout add 0089d9b feat(label): optimize label auto layout when aligned horizontally or vertically add 1c7a130 feat(label): rewrite the label shift algorithm in layout add a7310d8 feat(label): squeeze the labels then hide if there is no space. add 73f0a6b fix(type): prefer rotate over rotation in label configuration add eb94696 fix(state): fix emphasis toggle too frequently caused color lift accumulation add 3a80a47 fix(toolbox): fix icon emphasis status not keep when selected. add 3f46e8a fix(state): fix wrong emphasis lift color when animation is enabled add a2645c1 fix(state): forget to remove saved states in clearStates. add 9919c52 fix(state): use flag to determine which states to restore instead of simply save and restore add dd37d60 fix(state): fix last commit, still needs save, clear and restore states without animation. add e8605d0 fix(label): fix label animation with selected states. add 1dc916d ts: update roamHelper add 9185991 fix(sunburst): fix sunburst animation add fdcc88d fix(treemap): fix treemap label displayed text add 678a33b fix(visualMap): fix error when target series not exists. add f3ed3fa feat(label): use the new layout algorithm in pie add 27f2044 fix(label): fix wrong squeeze logic in label layout add f1dd46d enhance(labelLine): optimize smooth in labelLine add 306779e fix(labelLine): only set smooth when it's changed. add 804a99c feat(pie): support overflow wrap add 7db0a9c feat(label): enable darkMode add f40e0dd feat(label): change label default color to black/white, 'inherit' to set color same with element add 27c3cce fix(labelLine): fix error when labelLine don't have points add 83df54f fix(label): label color is dark by default in pie and sunburst. add 58dc3f7 Merge branch 'next' into label-enhancement add 895cc00 change(bar): change to fade out animation when series is removed. #12543 add f6c5bef fix(label): recalculate labelLine if label position is changed by users in layout stage add 97e15ec fix(animation): force stop remove animation before init again. add abdb831 fix(line): optimize area animation add 2e2a76e refact(graph): use blur state instead of change opacity by manual add 52c0f4d refact(sankey): use blur state. add 195ba7d fix(label): fix interpolate value affect the original value. add b26b5d5 feat(label): can change labelLine points in labelLayout add 6256346 fix(label): optimize layout on pie. add e629132 fix(label): labelLine has same z, zlevel with element add bf6c144 refact(label): add minMargin for layouting. the original margin is renamed to edgeDistance add c003487 feat(label): add maxSurfaceAngle limit in pie add cac1f9b ts: fix types add 4ec8de7 fix(dataZoom): fix position not update after resized add 9df0be9 fix(state): fix state transition may not being applied bug. add 1cfa45d fix(state): fix z2 lift on emphasis add 800ba5b Merge branch 'next' into label-enhancement add e43a58c fix(pie): fix error when there is no data. add e63a8fe fix(label): fix map label layout. add d00e836 test: fix cases add 79c644d feat(animation): use cubicInOut easing by default new 4c3b1b2 Merge pull request #12911 from apache/label-enhancement The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: src/ExtensionAPI.ts | 45 +- src/chart/bar/BarView.ts | 69 ++- src/chart/bar/PictorialBarView.ts | 5 +- src/chart/candlestick/CandlestickView.ts | 1 - src/chart/custom.ts | 4 +- src/chart/funnel/FunnelSeries.ts | 13 +- src/chart/funnel/FunnelView.ts | 57 ++- src/chart/gauge/GaugeView.ts | 7 +- src/chart/graph/GraphView.ts | 141 +++--- src/chart/helper/Line.ts | 6 +- src/chart/helper/LineDraw.ts | 1 - src/chart/helper/Symbol.ts | 95 ++-- src/chart/helper/SymbolDraw.ts | 2 - src/chart/line/LineSeries.ts | 7 +- src/chart/line/LineView.ts | 1 - src/chart/map/MapView.ts | 2 +- src/chart/parallel/ParallelView.ts | 1 - src/chart/pie/PieSeries.ts | 44 +- src/chart/pie/PieView.ts | 363 +++++---------- src/chart/pie/labelLayout.ts | 396 ++++++++-------- src/chart/pie/pieLayout.ts | 11 +- src/chart/radar/RadarView.ts | 4 +- src/chart/sankey/SankeyView.ts | 126 ++---- src/chart/sunburst.ts | 2 + src/chart/sunburst/SunburstPiece.ts | 285 ++++++------ src/chart/sunburst/SunburstSeries.ts | 8 +- src/chart/sunburst/SunburstView.ts | 12 +- src/chart/sunburst/sunburstAction.ts | 2 +- src/chart/sunburst/sunburstVisual.ts | 4 +- src/chart/tree/TreeView.ts | 13 +- src/chart/treemap/TreemapSeries.ts | 1 + src/chart/treemap/TreemapView.ts | 24 +- src/component/dataZoom/SliderZoomView.ts | 1 + src/component/geo.ts | 4 +- src/component/geo/GeoView.ts | 2 +- src/component/helper/MapDraw.ts | 28 +- src/component/helper/roamHelper.ts | 35 +- src/component/legend/LegendView.ts | 1 + src/component/marker/MarkAreaView.ts | 3 +- src/component/parallel.ts | 4 +- src/component/title.ts | 1 + src/component/toolbox/ToolboxView.ts | 62 +-- src/component/visualMap/VisualMapModel.ts | 5 +- src/coord/geo/GeoModel.ts | 2 + src/echarts.ts | 184 ++++++-- src/label/LabelManager.ts | 554 +++++++++++++++++++++++ src/label/labelGuideHelper.ts | 649 ++++++++++++++++++++++++++ src/label/labelLayoutHelper.ts | 352 +++++++++++++++ src/model/Model.ts | 64 ++- src/model/Series.ts | 7 +- src/model/globalDefault.ts | 14 +- src/model/mixin/dataFormat.ts | 47 +- src/preprocessor/backwardCompat.ts | 65 ++- src/preprocessor/helper/compatStyle.ts | 2 +- src/stream/Scheduler.ts | 21 +- src/theme/dark.ts | 2 + src/util/graphic.ts | 361 +++++++++------ src/util/layout.ts | 1 + src/util/types.ts | 93 +++- src/view/Chart.ts | 6 + src/visual/style.ts | 2 +- test/animation-additive.html | 162 +++++++ test/aria-pie.html | 1 + test/bar-stack.html | 31 +- test/graph-label-rotate.html | 14 +- test/label-layout.html | 695 ++++++++++++++++++++++++++++ test/pie-alignTo.html | 94 ++-- test/pie-label-extreme.html | 728 ++++++++++++++++++++++++++++++ test/pie-label-mobile.html | 201 +++++++++ test/pie-label.html | 271 ++++++++++- test/sunburst-canvas.html | 2 - test/sunburst-drink.html | 3 + 72 files changed, 5172 insertions(+), 1354 deletions(-) create mode 100644 src/label/LabelManager.ts create mode 100644 src/label/labelGuideHelper.ts create mode 100644 src/label/labelLayoutHelper.ts create mode 100644 test/animation-additive.html create mode 100644 test/label-layout.html create mode 100644 test/pie-label-extreme.html create mode 100644 test/pie-label-mobile.html --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org