This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


    from e630036d8 Merge pull request #21119 from tassosgeo/fix-21118
     add 9b8e3e300 fix(labelLayout): clarify label layout modification logic.
     add e3152db21 fix(label): Set background and dark mode should before 
rendering, because they affect auto-color-determination in zrender Text (e.g., 
Element.getOutsideStroke), and consequently affect the bounding rect if stroke 
is added.
     add 1db6f5eed test: fix boundingRect display - enable to display tspan 
bounding rect and root non-group-el bounding rect.
     add 0c303d639 (test): Fix some buggy test cases.
     add ae3dbf387 fix(label): Clarify some of the uniformly use label layout 
API and data structure. Fix that some label props were not updated during 
layout in certain places.
     add 01a3b1763 fix(label): (1) Use uniform label utils on pie label layout. 
(2) Fix the inconsistent behavior in pie label layout - (2.1) Previously 
calling `getBoundingRect` before textConfig applied (causing the result diff). 
(2.2) Previously adding extra margin for "auto text stroke" even if no auto 
text stroke added. Currently use https://github.com/ecomfe/zrender/pull/1134 to 
uniform the behavior.
     add 8901f77cc test: Add visual test marks.
     add 8dbf8295e fix(lint): remove unused type.
     new e1948aa3a Merge pull request #21103 from apache/fix/label-layout-margin

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/chart/pie/PieView.ts                           |   4 +-
 src/chart/pie/labelLayout.ts                       |  37 +-
 src/component/axis/AxisBuilder.ts                  | 178 ++++----
 src/component/axis/axisBreakHelper.ts              |   4 +-
 src/component/axis/axisBreakHelperImpl.ts          |  15 +-
 src/coord/cartesian/Grid.ts                        |   2 +-
 src/core/echarts.ts                                |  11 +-
 src/label/LabelManager.ts                          |  33 +-
 src/label/labelLayoutHelper.ts                     | 491 ++++++++++++---------
 src/label/labelStyle.ts                            |  59 ++-
 src/util/graphic.ts                                |  32 ++
 src/util/types.ts                                  |  16 +-
 test/calendar-other-coord-sys.html                 |   2 +
 test/lib/testHelper.js                             |  33 +-
 test/pictorial-svg.html                            |   8 +-
 .../{axis-containLabelAndName.json => area2.json}  |   4 +-
 test/runTest/marks/axis-break-2.json               |   8 +
 ...ontainLabelAndName.json => axis-interval2.json} |   4 +-
 test/runTest/marks/axis-layout-0.json              |   8 +
 test/runTest/marks/dataSelect.json                 |   8 +
 test/runTest/marks/emphasis-disabled.json          |   8 +
 test/runTest/marks/gridSimple.json                 |  10 +
 test/runTest/marks/hoverFocus.json                 |   8 +
 test/runTest/marks/label-layout.json               |  10 +
 test/runTest/marks/matrix3.json                    |   8 +
 test/runTest/marks/media-pie.json                  |  10 +
 test/runTest/marks/pie-cornerRadius.json           |  10 +
 test/runTest/marks/pie-endAngle.json               |  10 +
 test/runTest/marks/pie-label-mobile.json           |  10 +
 test/runTest/marks/pie-label.json                  |   8 +
 test/runTest/marks/pie-percent.json                |  10 +
 test/runTest/marks/pie-richText.json               |  10 +
 test/runTest/marks/pie.json                        |   8 +
 test/runTest/marks/resize-animation.json           |  10 +
 test/runTest/marks/roseExtreme.json                |  10 +
 test/runTest/marks/touch-slide.json                |  10 +
 36 files changed, 714 insertions(+), 393 deletions(-)
 copy test/runTest/marks/{axis-containLabelAndName.json => area2.json} (59%)
 copy test/runTest/marks/{axis-containLabelAndName.json => axis-interval2.json} 
(59%)
 create mode 100644 test/runTest/marks/gridSimple.json
 create mode 100644 test/runTest/marks/label-layout.json
 create mode 100644 test/runTest/marks/media-pie.json
 create mode 100644 test/runTest/marks/pie-cornerRadius.json
 create mode 100644 test/runTest/marks/pie-endAngle.json
 create mode 100644 test/runTest/marks/pie-label-mobile.json
 create mode 100644 test/runTest/marks/pie-percent.json
 create mode 100644 test/runTest/marks/pie-richText.json
 create mode 100644 test/runTest/marks/resize-animation.json
 create mode 100644 test/runTest/marks/roseExtreme.json
 create mode 100644 test/runTest/marks/touch-slide.json


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to