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: 'move' cursor added over brush mark #9132

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 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
70bd982
initial exploration
alliefeldman Sep 20, 2023
103237e
Merge branch 'main' of github.com:alliefeldman/vega-lite into grip-ha…
alliefeldman Sep 20, 2023
e83e043
yarn.lock
alliefeldman Sep 20, 2023
7156ffc
Merge branch 'main' of github.com:alliefeldman/vega-lite into grip-ha…
alliefeldman Sep 20, 2023
990d0d0
progress
alliefeldman Sep 21, 2023
99797b4
'move' cursor over interval mark
alliefeldman Oct 6, 2023
4d2187e
'move' cursor over brushes
alliefeldman Oct 9, 2023
532a5dc
chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (#9110)
dependabot[bot] Sep 28, 2023
1572fda
fix: correct the formula for interpolating between bin start and end …
kanitw Sep 29, 2023
878b65d
chore(deps-dev): bump jest-dev-server from 9.0.0 to 9.0.1 (#9117)
dependabot[bot] Oct 1, 2023
e4ef032
chore(deps-dev): bump @babel/core from 7.22.20 to 7.23.0 (#9115)
dependabot[bot] Oct 1, 2023
a5bf191
chore(deps-dev): bump terser from 5.19.4 to 5.20.0 (#9114)
dependabot[bot] Oct 1, 2023
9109f79
docs: remove blocks link from home page (#9118)
domoritz Oct 2, 2023
7a43927
docs: link to Vega project about page (#9119)
domoritz Oct 2, 2023
2d35461
chore: release v5.15.1
kanitw Oct 2, 2023
6f9a755
chore: update gems (#9122)
domoritz Oct 3, 2023
85cd044
swap examples back to originals
alliefeldman Oct 11, 2023
e15a408
merge
alliefeldman Oct 11, 2023
301b3cc
Merge branch 'vega:main' into grip-handles
alliefeldman Oct 15, 2023
d0dd822
fetch
alliefeldman Oct 15, 2023
ee5e9f2
Merge branch 'vega:main' into grip-handles
alliefeldman Oct 29, 2023
18ac9e3
Merge branch 'vega:main' into grip-handles
alliefeldman Nov 2, 2023
43666eb
main changes
alliefeldman Nov 2, 2023
75841ce
Merge branch 'grip-handles'
alliefeldman Nov 2, 2023
f5a2473
selection
alliefeldman Nov 2, 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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,4 @@ Thanks for all your work!
- GitHub Actions Bot ([email protected])
- Jon Mease ([@jonmmease](https://github.com/jonmmease))
- Kanit Wongsuphasawat ([@kanitw](https://github.com/kanitw))
- Lukas Hermann ([@lsh](https://github.com/lsh))
- Lukas Hermann ([@lsh](https://github.com/lsh))
273 changes: 198 additions & 75 deletions build/vega-lite-schema.json

Large diffs are not rendered by default.

122 changes: 99 additions & 23 deletions examples/specs/airport_connections.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,50 +11,105 @@
},
"data": {
"url": "data/us-10m.json",
"format": {"type": "topojson", "feature": "states"}
"format": {
"type": "topojson",
"feature": "states"
}
}
},
{
"mark": {"type": "rule", "color": "#000", "opacity": 0.35},
"data": {"url": "data/flights-airport.csv"},
"mark": {
"type": "rule",
"color": "#000",
"opacity": 0.35
},
"data": {
"url": "data/flights-airport.csv"
},
"transform": [
{"filter": {"param": "org", "empty": false}},
{
"filter": {
"param": "org",
"empty": false
}
},
{
"lookup": "origin",
"from": {
"data": {"url": "data/airports.csv"},
"data": {
"url": "data/airports.csv"
},
"key": "iata",
"fields": ["latitude", "longitude"]
"fields": [
"latitude",
"longitude"
]
}
},
{
"lookup": "destination",
"from": {
"data": {"url": "data/airports.csv"},
"data": {
"url": "data/airports.csv"
},
"key": "iata",
"fields": ["latitude", "longitude"]
"fields": [
"latitude",
"longitude"
]
},
"as": ["lat2", "lon2"]
"as": [
"lat2",
"lon2"
]
}
],
"encoding": {
"latitude": {"field": "latitude"},
"longitude": {"field": "longitude"},
"latitude2": {"field": "lat2"},
"longitude2": {"field": "lon2"}
"latitude": {
"field": "latitude"
},
"longitude": {
"field": "longitude"
},
"latitude2": {
"field": "lat2"
},
"longitude2": {
"field": "lon2"
}
}
},
{
"mark": {"type": "circle"},
"data": {"url": "data/flights-airport.csv"},
"mark": {
"type": "circle"
},
"data": {
"url": "data/flights-airport.csv"
},
"transform": [
{"aggregate": [{"op": "count", "as": "routes"}], "groupby": ["origin"]},
{
"aggregate": [
{
"op": "count",
"as": "routes"
}
],
"groupby": [
"origin"
]
},
{
"lookup": "origin",
"from": {
"data": {"url": "data/airports.csv"},
"data": {
"url": "data/airports.csv"
},
"key": "iata",
"fields": ["state", "latitude", "longitude"]
"fields": [
"state",
"latitude",
"longitude"
]
}
},
{"filter": "datum.state !== 'PR' && datum.state !== 'VI'"}
Expand All @@ -67,14 +122,33 @@
"nearest": true,
"fields": ["origin"]
}
}],
],
"params": [
{
"name": "org",
"select": {
"type": "point",
"on": "pointerover",
"nearest": true,
"fields": [
"origin"
]
}
}
],
"encoding": {
"latitude": {"field": "latitude"},
"longitude": {"field": "longitude"},
"latitude": {
"field": "latitude"
},
"longitude": {
"field": "longitude"
},
"size": {
"field": "routes",
"type": "quantitative",
"scale": {"rangeMax": 1000},
"scale": {
"rangeMax": 1000
},
"legend": null
},
"order": {
Expand All @@ -84,7 +158,9 @@
}
}
],
"projection": {"type": "albersUsa"},
"projection": {
"type": "albersUsa"
},
"width": 900,
"height": 500
}
45 changes: 44 additions & 1 deletion examples/specs/concat_hover.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,50 @@
"param": "hover", "empty": false,
"field": "Cylinders", "type": "ordinal"
},
"value": "grey"
"y": {
"field": "Miles_per_Gallon",
"type": "quantitative"
},
"color": {
"condition": {
"param": "hover",
"empty": false,
"field": "Cylinders",
"type": "ordinal"
},
"value": "grey"
}
}
},
{
"params": [
{
"name": "hover",
"select": {
"type": "point",
"on": "pointerover"
}
}
],
"mark": "point",
"encoding": {
"x": {
"field": "Horsepower",
"type": "quantitative"
},
"y": {
"field": "Acceleration",
"type": "quantitative"
},
"color": {
"condition": {
"param": "hover",
"empty": false,
"field": "Cylinders",
"type": "ordinal"
},
"value": "grey"
}
}
}
},{
Expand Down
77 changes: 58 additions & 19 deletions examples/specs/concat_hover_filter.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,34 @@
}],
"mark": "point"
},
{
"mark": {"type": "point", "color": "goldenrod"},
"transform": [
{"filter": {"param": "hover", "empty": false}}
]
}
]
}, {
"encoding": {
"x": {"field": "Horsepower", "type": "quantitative"},
"y": {"field": "Acceleration", "type": "quantitative"}
"layer": [
{
"params": [
{
"name": "hover",
"select": {
"type": "point",
"on": "pointerover"
}
}
],
"mark": "point"
},
{
"mark": {
"type": "point",
"color": "goldenrod"
},
"transform": [
{
"filter": {
"param": "hover",
"empty": false
}
}
]
}
]
},
"layer": [
{
Expand All @@ -36,12 +53,34 @@
}],
"mark": "point"
},
{
"mark": {"type": "point", "color": "goldenrod"},
"transform": [
{"filter": {"param": "hover", "empty": false}}
]
}
]
}]
"layer": [
{
"params": [
{
"name": "hover",
"select": {
"type": "point",
"on": "pointerover"
}
}
],
"mark": "point"
},
{
"mark": {
"type": "point",
"color": "goldenrod"
},
"transform": [
{
"filter": {
"param": "hover",
"empty": false
}
}
]
}
]
}
]
}
Loading
Loading