Skip to content

Commit

Permalink
chore(examples): add broken example for #9326
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed May 2, 2024
1 parent a573af5 commit 1d65aba
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
48 changes: 48 additions & 0 deletions examples/specs/area_invalid_null.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"values": [
{
"x": -1,
"y": null
},
{
"x": 1,
"y": 10
},
{
"x": 2,
"y": 30
},
{
"x": 3,
"y": null
},
{
"x": 4,
"y": 15
},
{
"x": 5,
"y": 30
},
{
"x": 6,
"y": 40
},
{
"x": 7,
"y": 20
},
{
"x": 10,
"y": null
}
]
},
"mark": {"type": "area", "invalid": null},
"encoding": {
"x": {"field": "x", "type": "quantitative"},
"y": {"field": "y", "type": "quantitative"}
}
}
48 changes: 48 additions & 0 deletions examples/specs/line_invalid_null.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"values": [
{
"x": -1,
"y": null
},
{
"x": 1,
"y": 10
},
{
"x": 2,
"y": 30
},
{
"x": 3,
"y": null
},
{
"x": 4,
"y": 15
},
{
"x": 5,
"y": 30
},
{
"x": 6,
"y": 40
},
{
"x": 7,
"y": 20
},
{
"x": 10,
"y": null
}
]
},
"mark": {"type": "line", "invalid": null},
"encoding": {
"x": {"field": "x", "type": "quantitative"},
"y": {"field": "y", "type": "quantitative"}
}
}

0 comments on commit 1d65aba

Please sign in to comment.