Skip to content

Commit

Permalink
chore: update examples [CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed May 10, 2024
1 parent e25ba16 commit 372a451
Show file tree
Hide file tree
Showing 29 changed files with 455 additions and 28 deletions.
9 changes: 8 additions & 1 deletion examples/compiled/test_config_scale_invalid.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
{"scale": "color", "field": "c"}
],
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -143,6 +146,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -269,5 +275,6 @@
"symbolType": "circle",
"size": "size"
}
]
],
"config": {"mark": {"tooltip": true}}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"scale": "color", "field": "c"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -137,6 +140,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -257,5 +263,6 @@
"symbolType": "circle",
"size": "size"
}
]
],
"config": {"mark": {"tooltip": true}}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
},
{"scale": "color", "field": "c"}
],
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -147,6 +150,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\"), \"c\": format(datum[\"c\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\")) + \"; c: \" + (format(datum[\"c\"], \"\"))"
Expand Down Expand Up @@ -288,5 +294,6 @@
"symbolType": "circle",
"size": "size"
}
]
],
"config": {"mark": {"tooltip": true}}
}
33 changes: 32 additions & 1 deletion examples/compiled/test_invalid_break_paths.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -258,6 +261,9 @@
"encode": {
"update": {
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "bar"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -340,6 +346,9 @@
"encode": {
"update": {
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand All @@ -360,6 +369,9 @@
"update": {
"opacity": {"value": 1},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -441,6 +453,9 @@
"update": {
"orient": {"value": "vertical"},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand Down Expand Up @@ -533,6 +548,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -598,6 +616,9 @@
"encode": {
"update": {
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "bar"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -668,6 +689,9 @@
"encode": {
"update": {
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand All @@ -688,6 +712,9 @@
"update": {
"opacity": {"value": 1},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -755,6 +782,9 @@
"update": {
"orient": {"value": "vertical"},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand Down Expand Up @@ -934,5 +964,6 @@
"nice": true,
"zero": true
}
]
],
"config": {"mark": {"tooltip": true}}
}
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -238,6 +241,9 @@
"encode": {
"update": {
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "bar"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -320,6 +326,9 @@
"encode": {
"update": {
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand All @@ -340,6 +349,9 @@
"update": {
"opacity": {"value": 1},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -421,6 +433,9 @@
"update": {
"orient": {"value": "vertical"},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": format(datum[\"a\"], \"\"), \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (format(datum[\"a\"], \"\")) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand Down Expand Up @@ -513,6 +528,9 @@
"opacity": {"value": 0.7},
"fill": {"value": "transparent"},
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -578,6 +596,9 @@
"encode": {
"update": {
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "bar"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -648,6 +669,9 @@
"encode": {
"update": {
"stroke": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand All @@ -668,6 +692,9 @@
"update": {
"opacity": {"value": 1},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"ariaRoleDescription": {"value": "point"},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
Expand Down Expand Up @@ -735,6 +762,9 @@
"update": {
"orient": {"value": "vertical"},
"fill": {"value": "#4c78a8"},
"tooltip": {
"signal": "{\"a\": isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"], \"b\": format(datum[\"b\"], \"\")}"
},
"description": {
"signal": "\"a: \" + (isValid(datum[\"a\"]) ? datum[\"a\"] : \"\"+datum[\"a\"]) + \"; b: \" + (format(datum[\"b\"], \"\"))"
},
Expand Down Expand Up @@ -935,5 +965,6 @@
"nice": true,
"zero": true
}
]
],
"config": {"mark": {"tooltip": true}}
}

0 comments on commit 372a451

Please sign in to comment.