Skip to content

Commit

Permalink
test: add tooltip to invalid mode examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed May 10, 2024
1 parent 9145e52 commit e25ba16
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/specs/test_config_scale_invalid.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"},
"mark": {"invalid": "filter", "tooltip": true},
"scale": {"invalid": {"color": {"value": "#aaa"}, "size": {"value": 4}}}
},
"concat": [{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"}
"mark": {"invalid": "filter", "tooltip": true}
},
"concat": [{
"title": "Color",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "include"}
"mark": {"invalid": "include", "tooltip": true}
},
"concat": [{
"title": "Color",
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_break_paths.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": "break-paths"}
"mark": {"invalid": "break-paths", "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": "break-paths-and-keep-path-domains"}
"mark": {"invalid": "break-paths-and-keep-path-domains", "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": "break-paths-keep-domains"}
"mark": {"invalid": "break-paths-keep-domains", "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_color_filter.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"}
"mark": {"invalid": "filter", "tooltip": true}
},
"hconcat": [{
"title": "Quantitative X",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"},
"mark": {"invalid": "filter", "tooltip": true},
"scale": {"invalid": {"color": {"value": "red"}}}
},
"hconcat": [{
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_color_include.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "include"}
"mark": {"invalid": "include", "tooltip": true}
},
"hconcat": [{
"title": "Quantitative X",
Expand Down
1 change: 1 addition & 0 deletions examples/specs/test_invalid_default.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
{"a": 10, "b": null}
]
},
"config": {"mark": {"tooltip": true}},
"vconcat": [{
"title": "Quantitative X",
"hconcat": [{
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_filter.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": "filter"}
"mark": {"invalid": "filter", "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_include.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": "include"}
"mark": {"invalid": "include", "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_null.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"config": {
"mark": {"invalid": null}
"mark": {"invalid": null, "tooltip": true}
},
"vconcat": [{
"title": "Quantitative X",
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_opacity_filter.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"}
"mark": {"invalid": "filter", "tooltip": true}
},
"hconcat": [{
"title": "Quantitative X",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "filter"},
"mark": {"invalid": "filter", "tooltip": true},
"scale": {"invalid": {"opacity": {"value": 0.1}}}
},
"hconcat": [{
Expand Down
2 changes: 1 addition & 1 deletion examples/specs/test_invalid_opacity_include.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"config": {
"mark": {"invalid": "include"}
"mark": {"invalid": "include", "tooltip": true}
},
"hconcat": [{
"title": "Quantitative X",
Expand Down

0 comments on commit e25ba16

Please sign in to comment.