Skip to content

Commit

Permalink
Merge branch 'brush-cursor' of github.com:alliefeldman/vega-lite into…
Browse files Browse the repository at this point in the history
… brush-cursor
  • Loading branch information
alliefeldman committed Nov 2, 2023
2 parents d1be92d + 6fee7fb commit bdc0d3c
Show file tree
Hide file tree
Showing 46 changed files with 343 additions and 88 deletions.
4 changes: 2 additions & 2 deletions build/vega-lite-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31208,7 +31208,7 @@
},
"cursor": {
"$ref": "#/definitions/Cursor",
"description": "The mouse cursor used over the view. Any valid [CSS cursor type](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Values) can be used."
"description": "The cursor used over the view. Any valid [CSS cursor type](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Values) can be used."
},
"fill": {
"anyOf": [
Expand Down Expand Up @@ -31392,7 +31392,7 @@
},
"cursor": {
"$ref": "#/definitions/Cursor",
"description": "The mouse cursor used over the view. Any valid [CSS cursor type](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Values) can be used."
"description": "The cursor used over the view. Any valid [CSS cursor type](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Values) can be used."
},
"discreteHeight": {
"anyOf": [
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/bar_count_minimap.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/brush_table.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/dynamic_color_legend.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_1d_geo_brush.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_airport_crossfilter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_area_brush.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_bin_extent.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_bin_extent_bottom.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_brush.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
15 changes: 12 additions & 3 deletions examples/compiled/interactive_crossfilter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -701,7 +704,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -1007,7 +1013,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
15 changes: 12 additions & 3 deletions examples/compiled/interactive_dashboard_europe_pop.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -959,7 +962,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -1360,7 +1366,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
15 changes: 12 additions & 3 deletions examples/compiled/interactive_layered_crossfilter.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -845,7 +848,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down Expand Up @@ -1206,7 +1212,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/compiled/interactive_line_brush_cursor.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
"clip": true,
"encode": {
"enter": {
"cursor": {"value": "pointer"},
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_overview_detail.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_paintbrush_interval.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/interactive_seattle_weather.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
45 changes: 36 additions & 9 deletions examples/compiled/interactive_splom.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down Expand Up @@ -1073,7 +1076,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down Expand Up @@ -1493,7 +1499,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"value": 0},
Expand Down Expand Up @@ -2002,7 +2011,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down Expand Up @@ -2424,7 +2436,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"value": 0},
Expand Down Expand Up @@ -2929,7 +2944,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down Expand Up @@ -3353,7 +3371,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"value": 0},
Expand Down Expand Up @@ -3862,7 +3883,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down Expand Up @@ -4374,7 +4398,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": {"signal": "brush_x[0]"},
"y": {"signal": "brush_y[0]"},
Expand Down
5 changes: 4 additions & 1 deletion examples/compiled/isotype_grid.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,10 @@
"type": "rect",
"clip": true,
"encode": {
"enter": {"fill": {"value": "transparent"}},
"enter": {
"cursor": {"value": "move"},
"fill": {"value": "transparent"}
},
"update": {
"x": [
{
Expand Down
Loading

0 comments on commit bdc0d3c

Please sign in to comment.