Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: swap 'mouse' events to 'pointer' events for mobile compatibility; update site and docs #9089

Merged
merged 128 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
9792f78
vega typings version changed
alliefeldman Aug 7, 2023
af74e8a
first commit in a while
alliefeldman Sep 12, 2023
433d0b3
Merge branch 'touch-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Sep 12, 2023
a4d59e4
done?
alliefeldman Sep 12, 2023
92edda7
final commit of this branch
alliefeldman Sep 15, 2023
8a87916
Merge branch 'vega:main' into mouse-to-pointer-events
alliefeldman Sep 20, 2023
df07b2b
chore: update examples [CI]
Sep 20, 2023
68a5977
style: auto-formatting [CI]
Sep 20, 2023
9d3e6d3
fixed formatting issues and removed accidental site/ files
alliefeldman Sep 20, 2023
ac6be37
fixed formatting issues, updated example file names to 'pointer' sele…
alliefeldman Sep 20, 2023
5d1565a
chore: update examples [CI]
Sep 20, 2023
78efe97
one more file name change
alliefeldman Sep 20, 2023
b9d2676
fixed formatting/branch issues
alliefeldman Sep 25, 2023
3873b6e
fixed formatting/branch issues
alliefeldman Sep 25, 2023
044b5a4
trying to slowly fix the formatting, it was my VSCode user
alliefeldman Sep 25, 2023
df647ab
fixing formatting
alliefeldman Sep 25, 2023
9bf688c
added Gemfile.lock
alliefeldman Sep 27, 2023
86f4bcf
settings altered
alliefeldman Sep 27, 2023
3912ea7
Update settings.json back
alliefeldman Sep 27, 2023
bbdac18
formatting
alliefeldman Sep 27, 2023
fa7e9dc
style: auto-formatting [CI]
Sep 27, 2023
afd5ff5
chore: update examples [CI]
Sep 20, 2023
ef8f180
Merge branch 'mouse-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Sep 30, 2023
641ace1
chore(deps-dev): bump prettier from 2.8.8 to 3.0.1 (#9043)
dependabot[bot] Aug 7, 2023
19a754e
chore(deps-dev): bump commonmarker from 0.23.9 to 0.23.10 in /site (#…
dependabot[bot] Aug 9, 2023
5c61e73
chore(deps-dev): bump eslint from 8.46.0 to 8.47.0 (#9053)
dependabot[bot] Aug 14, 2023
2102243
chore(deps-dev): bump rollup from 3.27.2 to 3.28.0 (#9052)
dependabot[bot] Aug 14, 2023
d8b0162
chore(deps-dev): bump @rollup/plugin-commonjs from 25.0.3 to 25.0.4 (…
dependabot[bot] Aug 14, 2023
c57a058
chore(deps-dev): bump release-it from 16.1.3 to 16.1.5 (#9050)
dependabot[bot] Aug 14, 2023
592b669
chore(deps-dev): bump vega-tooltip from 0.32.0 to 0.33.0 (#9049)
dependabot[bot] Aug 14, 2023
0e72fa4
chore(deps): bump tslib from 2.6.1 to 2.6.2 (#9063)
dependabot[bot] Aug 21, 2023
5d9d412
chore(deps-dev): bump @rollup/plugin-node-resolve from 15.1.0 to 15.2…
dependabot[bot] Aug 21, 2023
b33d578
chore(deps-dev): bump prettier from 3.0.1 to 3.0.2 (#9060)
dependabot[bot] Aug 21, 2023
0868ed8
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.3.0 to …
dependabot[bot] Aug 21, 2023
32e1c66
chore(deps-dev): bump ts-json-schema-generator from 1.2.0 to 1.3.0 (#…
dependabot[bot] Aug 21, 2023
4f7c6a9
chore: update deps (#9064)
domoritz Aug 22, 2023
b32d0f5
chore(deps-dev): bump activesupport from 7.0.4.3 to 7.0.7.2 in /site …
dependabot[bot] Aug 23, 2023
4f3cbdd
chore(deps-dev): bump del-cli from 5.0.0 to 5.0.1 (#9075)
dependabot[bot] Aug 28, 2023
3b2de19
chore(deps-dev): bump @babel/preset-typescript from 7.22.5 to 7.22.11…
dependabot[bot] Aug 28, 2023
02b386a
chore(deps-dev): bump eslint from 8.47.0 to 8.48.0 (#9071)
dependabot[bot] Aug 28, 2023
7515867
chore(deps-dev): bump chai from 4.3.7 to 4.3.8 (#9074)
dependabot[bot] Aug 28, 2023
f08b0d2
chore(deps-dev): bump conventional-changelog-cli from 3.0.0 to 4.0.0 …
dependabot[bot] Aug 30, 2023
9dbef23
fix: update ts and fix typing issues (#9066)
domoritz Aug 31, 2023
600e907
feat: switch from clone to built in structured clone (#9068)
domoritz Aug 31, 2023
0205141
chore(deps-dev): bump typescript from 4.9.5 to 5.2.2 (#9070)
dependabot[bot] Aug 31, 2023
d0ecfcb
chore(deps): bump actions/checkout from 3 to 4 (#9087)
dependabot[bot] Sep 11, 2023
8ffe685
chore(deps-dev): bump conventional-changelog-cli from 4.0.0 to 4.1.0 …
dependabot[bot] Sep 11, 2023
8380a22
chore(deps-dev): bump @babel/preset-typescript from 7.22.11 to 7.22.1…
dependabot[bot] Sep 11, 2023
bac27c4
chore(deps-dev): bump eslint from 8.48.0 to 8.49.0 (#9084)
dependabot[bot] Sep 11, 2023
bf54be5
chore(deps-dev): bump @typescript-eslint/parser from 6.5.0 to 6.6.0 (…
dependabot[bot] Sep 11, 2023
f0a0877
chore(deps-dev): bump @types/chai from 4.3.5 to 4.3.6 (#9080)
dependabot[bot] Sep 11, 2023
e8541bc
chore(deps-dev): bump @babel/core from 7.22.11 to 7.22.17 (#9082)
dependabot[bot] Sep 11, 2023
e94ea94
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.5.0 to …
dependabot[bot] Sep 11, 2023
0e9af1b
done?
alliefeldman Sep 12, 2023
ee6bb7a
final commit of this branch
alliefeldman Sep 15, 2023
d9fd88f
fix: unescape paths in binned `timeUnits` to allow for fields with pe…
Sep 12, 2023
6299e4d
chore: release v5.15.0
kanitw Sep 13, 2023
7f06759
chore(deps-dev): bump eslint-plugin-jest from 27.2.3 to 27.4.0 (#9096)
dependabot[bot] Sep 18, 2023
41d82a7
chore(deps-dev): bump rollup from 3.28.1 to 3.29.2 (#9095)
dependabot[bot] Sep 18, 2023
2e52e2d
chore(deps-dev): bump terser from 5.19.3 to 5.19.4 (#9094)
dependabot[bot] Sep 18, 2023
2513495
chore(deps-dev): bump @release-it/conventional-changelog from 7.0.0 t…
dependabot[bot] Sep 18, 2023
e3483a7
chore(deps-dev): bump @babel/preset-env from 7.22.14 to 7.22.20 (#9092)
dependabot[bot] Sep 18, 2023
5542533
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.6.0 to …
dependabot[bot] Sep 18, 2023
1d543e4
chore(deps-dev): bump jest and @types/jest (#9090)
dependabot[bot] Sep 18, 2023
f139e6f
ci: lint pull request messages (#9099)
domoritz Sep 20, 2023
9c7425c
chore: remove first interaction workflow (#9100)
domoritz Sep 20, 2023
a0fa5d8
ci: monthly updates (#9101)
domoritz Sep 20, 2023
4b8ce93
chore(deps-dev): bump @babel/core from 7.22.17 to 7.22.20 (#9103)
dependabot[bot] Sep 20, 2023
ebe6e19
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.0 to …
dependabot[bot] Sep 20, 2023
e743afe
fix: use resolve "shared" instead of steps to fix artifacts in groupe…
jonmmease Sep 20, 2023
02e7100
fixed formatting issues and removed accidental site/ files
alliefeldman Sep 20, 2023
520d422
chore: update examples [CI]
Sep 20, 2023
69eb1a4
all changes for mouse-to-pointer pull request
Sep 20, 2023
4620626
versions.yml
alliefeldman Oct 2, 2023
fbc69ac
src files
alliefeldman Oct 2, 2023
2b4b9b6
Merge selection_clear_brush.json
alliefeldman Oct 2, 2023
437d339
starting to fix some of the formatting swaps
alliefeldman Oct 2, 2023
74fb8d2
continued
alliefeldman Oct 2, 2023
98cc7a1
format change
alliefeldman Oct 3, 2023
ccb462a
more format changes
alliefeldman Oct 3, 2023
fb28aa7
style: auto-formatting [CI]
Oct 3, 2023
c713681
pngs resize back to original dimensions
alliefeldman Oct 3, 2023
60cefb4
checkout update
alliefeldman Oct 3, 2023
e00d777
Merge branch 'mouse-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Oct 3, 2023
1673914
actions
alliefeldman Oct 3, 2023
28a09ca
node
alliefeldman Oct 3, 2023
8fc1c74
format
alliefeldman Oct 3, 2023
ea745b9
chore: update examples [CI]
Oct 3, 2023
47dfe78
interactive_area_brush
alliefeldman Oct 3, 2023
e0b29be
chore: update examples [CI]
Oct 3, 2023
4454d04
interactive brush update
alliefeldman Oct 3, 2023
a9b8c53
Merge branch 'mouse-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Oct 3, 2023
524343a
chore: update examples [CI]
Oct 3, 2023
a4ff6e0
format
alliefeldman Oct 4, 2023
da9f2fc
Merge branch 'mouse-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Oct 4, 2023
4eaf6e8
chore: update examples [CI]
Oct 4, 2023
de4b87d
gitignore
alliefeldman Oct 4, 2023
479a315
Merge branch 'mouse-to-pointer-events' of github.com:alliefeldman/veg…
alliefeldman Oct 4, 2023
b7a0a4e
Update settings.json
alliefeldman Oct 4, 2023
405348a
Update settings.json
alliefeldman Oct 4, 2023
7ebd79d
Update interactive_area_brush.vg.json
alliefeldman Oct 4, 2023
d43c195
Update interactive_brush.vg.json
alliefeldman Oct 4, 2023
d808587
chore: update examples [CI]
Oct 4, 2023
fa1573a
Update index.html
alliefeldman Oct 4, 2023
2e38d3f
chore: update examples [CI]
Oct 4, 2023
8bb4976
Update interactive_area_brush.vg.json
alliefeldman Oct 4, 2023
b660116
Update interactive_line_point_hover_normalized.vl.json
alliefeldman Oct 4, 2023
2fb52b1
Update interactive_line_brush_cursor.vg.json
alliefeldman Oct 4, 2023
bb06a0c
chore: update examples [CI]
Oct 4, 2023
9b0afe5
chore: update examples [CI]
Oct 4, 2023
e753689
Update interactive_histogram_full_height_hover.vg.json
alliefeldman Oct 4, 2023
16643fe
chore: update examples [CI]
Oct 4, 2023
fb2ba09
Update interactive_line_point_hover.vg.json
alliefeldman Oct 4, 2023
714c07d
chore: update examples [CI]
Oct 4, 2023
b8922b0
Update interactive_multi_line_pivot_tooltip.vg.json
alliefeldman Oct 4, 2023
ad96754
Update Gemfile.lock
alliefeldman Oct 4, 2023
8ea3fe2
Update interactive_area_brush.vg.json
alliefeldman Oct 4, 2023
b848eb6
Update interactive_histogram_full_height_hover.vg.json
alliefeldman Oct 4, 2023
8becab5
chore: update examples [CI]
Oct 4, 2023
cb7a957
chore: update examples [CI]
Oct 4, 2023
fd02a18
chore: update examples [CI]
Oct 4, 2023
8b617d1
fixing the formatting on this
alliefeldman Oct 4, 2023
d263213
update
alliefeldman Oct 4, 2023
55a8f1e
chore: update examples [CI]
Oct 4, 2023
fbc60c9
Delete site/_data/versions.yml
alliefeldman Oct 4, 2023
b9ca0d7
remove compiled filed from pr
alliefeldman Oct 4, 2023
c3f7ed3
chore: update examples [CI]
Oct 4, 2023
9c52fdb
Update .gitignore
domoritz Oct 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/vega-lite-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12499,7 +12499,7 @@
"description": "With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.\n\nOne of:\n- `\"global\"` -- only one brush exists for the entire SPLOM. When the user begins to drag, any previous brushes are cleared, and a new one is constructed.\n- `\"union\"` -- each cell contains its own brush, and points are highlighted if they lie within _any_ of these individual brushes.\n- `\"intersect\"` -- each cell contains its own brush, and points are highlighted only if they fall within _all_ of these individual brushes.\n\n__Default value:__ `global`.\n\n__See also:__ [`resolve` examples](https://vega.github.io/vega-lite/docs/selection.html#resolve) in the documentation."
},
"translate": {
"description": "When truthy, allows a user to interactively move an interval selection back-and-forth. Can be `true`, `false` (to disable panning), or a [Vega event stream definition](https://vega.github.io/vega/docs/event-streams/) which must include a start and end event to trigger continuous panning. Discrete panning (e.g., pressing the left/right arrow keys) will be supported in future versions.\n\n__Default value:__ `true`, which corresponds to `[mousedown, window:mouseup] > window:mousemove!`. This default allows users to clicks and drags within an interval selection to reposition it.\n\n__See also:__ [`translate` examples](https://vega.github.io/vega-lite/docs/selection.html#translate) in the documentation.",
"description": "When truthy, allows a user to interactively move an interval selection back-and-forth. Can be `true`, `false` (to disable panning), or a [Vega event stream definition](https://vega.github.io/vega/docs/event-streams/) which must include a start and end event to trigger continuous panning. Discrete panning (e.g., pressing the left/right arrow keys) will be supported in future versions.\n\n__Default value:__ `true`, which corresponds to `[pointerdown, window:pointerup] > window:pointermove!`. This default allows users to clicks and drags within an interval selection to reposition it.\n\n__See also:__ [`translate` examples](https://vega.github.io/vega-lite/docs/selection.html#translate) in the documentation.",
"type": [
"string",
"boolean"
Expand Down Expand Up @@ -12574,7 +12574,7 @@
"description": "With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.\n\nOne of:\n- `\"global\"` -- only one brush exists for the entire SPLOM. When the user begins to drag, any previous brushes are cleared, and a new one is constructed.\n- `\"union\"` -- each cell contains its own brush, and points are highlighted if they lie within _any_ of these individual brushes.\n- `\"intersect\"` -- each cell contains its own brush, and points are highlighted only if they fall within _all_ of these individual brushes.\n\n__Default value:__ `global`.\n\n__See also:__ [`resolve` examples](https://vega.github.io/vega-lite/docs/selection.html#resolve) in the documentation."
},
"translate": {
"description": "When truthy, allows a user to interactively move an interval selection back-and-forth. Can be `true`, `false` (to disable panning), or a [Vega event stream definition](https://vega.github.io/vega/docs/event-streams/) which must include a start and end event to trigger continuous panning. Discrete panning (e.g., pressing the left/right arrow keys) will be supported in future versions.\n\n__Default value:__ `true`, which corresponds to `[mousedown, window:mouseup] > window:mousemove!`. This default allows users to clicks and drags within an interval selection to reposition it.\n\n__See also:__ [`translate` examples](https://vega.github.io/vega-lite/docs/selection.html#translate) in the documentation.",
"description": "When truthy, allows a user to interactively move an interval selection back-and-forth. Can be `true`, `false` (to disable panning), or a [Vega event stream definition](https://vega.github.io/vega/docs/event-streams/) which must include a start and end event to trigger continuous panning. Discrete panning (e.g., pressing the left/right arrow keys) will be supported in future versions.\n\n__Default value:__ `true`, which corresponds to `[pointerdown, window:pointerup] > window:pointermove!`. This default allows users to clicks and drags within an interval selection to reposition it.\n\n__See also:__ [`translate` examples](https://vega.github.io/vega-lite/docs/selection.html#translate) in the documentation.",
"type": [
"string",
"boolean"
Expand Down
6 changes: 3 additions & 3 deletions examples/compiled/airport_connections.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand All @@ -135,7 +135,7 @@
"events": [
{
"source": "scope",
"type": "mouseover",
"type": "pointerover",
"markname": "layer_2_voronoi"
}
],
Expand All @@ -154,7 +154,7 @@
"events": [
{
"source": "scope",
"type": "mouseover",
"type": "pointerover",
"markname": "layer_2_voronoi"
}
],
Expand Down
18 changes: 9 additions & 9 deletions examples/compiled/bar_count_minimap.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand Down Expand Up @@ -149,7 +149,7 @@
{
"events": {
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
Expand All @@ -159,17 +159,17 @@
{
"events": {
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
},
{"source": "window", "type": "mouseup"}
{"source": "window", "type": "pointerup"}
]
},
"update": "[brush_y[0], clamp(y(unit), 0, concat_1_height)]"
Expand Down Expand Up @@ -229,7 +229,7 @@
"events": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"markname": "brush_brush"
}
],
Expand All @@ -245,15 +245,15 @@
"events": [
{
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"markname": "brush_brush"
},
{"source": "window", "type": "mouseup"}
{"source": "window", "type": "pointerup"}
]
}
],
Expand Down
26 changes: 13 additions & 13 deletions examples/compiled/brush_table.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand Down Expand Up @@ -101,7 +101,7 @@
{
"events": {
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
Expand All @@ -111,17 +111,17 @@
{
"events": {
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
},
{"source": "window", "type": "mouseup"}
{"source": "window", "type": "pointerup"}
]
},
"update": "[brush_x[0], clamp(x(unit), 0, concat_0_width)]"
Expand Down Expand Up @@ -160,7 +160,7 @@
{
"events": {
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
Expand All @@ -170,17 +170,17 @@
{
"events": {
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"filter": [
"!event.item || event.item.mark.name !== \"brush_brush\""
]
},
{"source": "window", "type": "mouseup"}
{"source": "window", "type": "pointerup"}
]
},
"update": "[brush_y[0], clamp(y(unit), 0, concat_0_height)]"
Expand Down Expand Up @@ -248,7 +248,7 @@
"events": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"markname": "brush_brush"
}
],
Expand All @@ -264,15 +264,15 @@
"events": [
{
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{
"source": "scope",
"type": "mousedown",
"type": "pointerdown",
"markname": "brush_brush"
},
{"source": "window", "type": "mouseup"}
{"source": "window", "type": "pointerup"}
]
}
],
Expand Down
10 changes: 5 additions & 5 deletions examples/compiled/circle_bubble_health_income.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{"name": "view", "update": "vlSelectionResolve(\"view_store\", \"union\")"},
Expand Down Expand Up @@ -78,7 +78,7 @@
"value": {},
"on": [
{
"events": [{"source": "scope", "type": "mousedown"}],
"events": [{"source": "scope", "type": "pointerdown"}],
"update": "{x: x(unit), y: y(unit), extent_x: domain(\"x\"), extent_y: domain(\"y\")}"
}
]
Expand All @@ -91,11 +91,11 @@
"events": [
{
"source": "window",
"type": "mousemove",
"type": "pointermove",
"consume": true,
"between": [
{"source": "scope", "type": "mousedown"},
{"source": "window", "type": "mouseup"}
{"source": "scope", "type": "pointerdown"},
{"source": "window", "type": "pointerup"}
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/compiled/concat_bar_layer_circle.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions examples/compiled/concat_hover.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand All @@ -67,7 +67,7 @@
"name": "hover_tuple",
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0 ? {unit: \"concat_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
Expand All @@ -82,7 +82,7 @@
"value": false,
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "event.shiftKey"
},
{
Expand Down Expand Up @@ -195,7 +195,7 @@
"name": "hover_tuple",
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0 ? {unit: \"concat_1\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
Expand All @@ -210,7 +210,7 @@
"value": false,
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "event.shiftKey"
},
{
Expand Down
10 changes: 5 additions & 5 deletions examples/compiled/concat_hover_filter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"name": "unit",
"value": {},
"on": [
{"events": "mousemove", "update": "isTuple(group()) ? group() : unit"}
{"events": "pointermove", "update": "isTuple(group()) ? group() : unit"}
]
},
{
Expand All @@ -97,7 +97,7 @@
"name": "hover_tuple",
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0 ? {unit: \"concat_0_layer_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
Expand All @@ -112,7 +112,7 @@
"value": false,
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "event.shiftKey"
},
{
Expand Down Expand Up @@ -238,7 +238,7 @@
"name": "hover_tuple",
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0 ? {unit: \"concat_1_layer_0\", _vgsid_: (item().isVoronoi ? datum.datum : datum)[\"_vgsid_\"]} : null",
"force": true
},
Expand All @@ -253,7 +253,7 @@
"value": false,
"on": [
{
"events": [{"source": "scope", "type": "mouseover"}],
"events": [{"source": "scope", "type": "pointerover"}],
"update": "event.shiftKey"
},
{
Expand Down
Loading