This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/echarts.git
from 59f3f9a4d Merge pull request #21439 from apache/fix/marker-dataset
add e9267e214 fix(matrix): trigger click event on matrix cells
add 78ed35983 fix(matrix): Trigger event only when matrix.triggerEvent is
true
add f43776aba fix(matrix): Add eventData items
add a7228a0a4 fix(matrix): Trigger click event only on text, not on
background
add 5bdc7b011 test(matrix): Add a test case for matrix text events
add e800931c2 test(matrix): Make some cells empty
add 6609e3257 test(matrix): Retrieve eventData from text content instead
of displayList
add fb8da78b7 matrix: (1) Both `cellRect` (typically non-transparent) and
`cellText` may trigger events, depending on both `matrix.triggerEvent`,
`matrix.xxx.silent` and `matrix.xxx.label.silent` settings. By default
(`matrix.triggerEvent:true`, `matrix.xxx.silent` and `matrix.xxx.label.silent`
is undefined) cell text and non-transparent cell bg trigger event. (2) Modify
event param: `name` is the final rendered text, `value` is the original input
cell value in option. (3) Add visu [...]
new e770604f3 Merge pull request #21390 from
natsuokawai/fix/matrix-click-event
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/component/matrix/MatrixView.ts | 33 ++++++-
src/coord/matrix/MatrixModel.ts | 2 +
test/matrix.html | 96 ++++++++++++++++++++
test/runTest/actions/__meta__.json | 1 +
test/ut/spec/component/matrix/event.test.ts | 136 ++++++++++++++++++++++++++++
5 files changed, 263 insertions(+), 5 deletions(-)
create mode 100644 test/ut/spec/component/matrix/event.test.ts
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]