This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a change to branch feat-matrix
in repository https://gitbox.apache.org/repos/asf/echarts.git
from 1465e18d9 feat(matrix): use tokens for color
add 1a9faac34 chore: fix comment and TS type error.
add b2ac4939f feat(roam): Change cursor style to indicate the draggable
area. (effect geo/insideDataZoom/treemap/sankey/graph roam)
add 10b4528c1 test(infra): testHelper support multiple inner range in
select input.
add 72cf70d2e test: Support suffix to range input
add 0b9b08a0f test: Add resize cb.
add 0661c799d fix(graph): #16904 introcuded percentage string here, such
as '33%'. But it was based on canvas width/height, which is not reasonable -
the unit may incorrect, and it is unpredictable if the `View['_rect']` is not
calculated based on the current canvas rect. Therefore the percentage value is
changed to based on `View['_rect'].width/height` since v6. Under this
definition, users can use '0%' to map the top-left of `View['_rect']` to the
center of `View['_viewRect']`.
add 237badb87 feat: (1) Support `preserveAspect` `preserveAspectAlign`
`preserveAspectVerticalAlign` for series.map/geo/series.graph in box layout
(lay out by left/right/top/bottom/width/height). (2) Support `clip` on
geo/series.map (3) Support `roamTigger: 'global' | 'selfRect'` to switch roam
area to global on only self bounding rect. (4) Support cursor style change when
hovering the roaming enabled area to hint users. (5) Fix that center and zoom
option does not work in series.san [...]
add 9ea647f21 Merge branch 'feat-matrix' of
github.com:apache/incubator-echarts into feat-matrix
No new revisions were added by this update.
Summary of changes:
src/action/roamHelper.ts | 92 -----
src/chart/graph/GraphSeries.ts | 6 +-
src/chart/graph/GraphView.ts | 36 +-
src/chart/graph/Thumbnail.ts | 42 +--
src/chart/graph/createView.ts | 14 +-
src/chart/graph/install.ts | 4 +-
src/chart/heatmap/HeatmapSeries.ts | 6 +-
src/chart/sankey/SankeySeries.ts | 1 +
src/chart/sankey/SankeyView.ts | 29 +-
src/chart/sankey/install.ts | 10 +-
src/chart/tree/TreeSeries.ts | 1 +
src/chart/tree/TreeView.ts | 15 +-
src/chart/tree/treeAction.ts | 11 +-
src/chart/treemap/TreemapSeries.ts | 1 +
src/chart/treemap/TreemapView.ts | 44 ++-
src/component/axis/axisBreakHelper.ts | 2 +-
src/component/dataZoom/roams.ts | 29 +-
src/component/geo/install.ts | 6 +-
src/component/helper/MapDraw.ts | 72 ++--
src/component/helper/RoamController.ts | 329 ++++++++++++++----
src/component/helper/cursorHelper.ts | 57 +++-
src/component/helper/interactionMutex.ts | 36 +-
src/component/helper/roamHelper.ts | 159 +++++++--
src/component/matrix/MatrixView.ts | 3 +
src/coord/View.ts | 94 ++++--
src/coord/geo/Geo.ts | 7 +-
src/coord/geo/GeoModel.ts | 10 +-
src/coord/geo/geoCreator.ts | 14 +-
src/coord/matrix/Matrix.ts | 9 +-
src/core/CoordinateSystem.ts | 10 +-
src/core/echarts.ts | 5 +-
src/model/Component.ts | 11 +-
src/util/layout.ts | 78 ++++-
src/util/model.ts | 13 +
src/util/number.ts | 8 +-
src/util/types.ts | 35 ++
test/build/mktest-tpl.html | 6 +-
test/geo-map-roam.html | 556 +++++++++++++++++++++++++++++++
test/geo-svg-demo.html | 1 +
test/graph-layout-roam.html | 514 ++++++++++++++++++++++++++++
test/lib/draggable.js | 8 +-
test/lib/testHelper.js | 48 ++-
test/matrix.html | 13 +-
test/matrix3.html | 22 +-
test/sankey-roam.html | 220 +++++++++++-
test/tmp-base.html | 2 +-
test/tree-roam.html | 321 +++++++++++++++++-
test/treemap-simple2.html | 103 ++++++
48 files changed, 2649 insertions(+), 464 deletions(-)
delete mode 100644 src/action/roamHelper.ts
create mode 100644 test/geo-map-roam.html
create mode 100644 test/graph-layout-roam.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]