Skip to content

Commit

Permalink
remove rect guides (microsoft#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarshall authored Jan 14, 2020
1 parent f4658ed commit c4cac17
Show file tree
Hide file tree
Showing 25 changed files with 3 additions and 1,725 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,42 +215,6 @@
}
},
"marks": [
{
"name": "child_marks",
"type": "rect",
"style": [
"bar"
],
"from": {
"data": "s2"
},
"encode": {
"update": {
"fill": {
"value": "#4c78a8"
},
"x": {
"scale": "x",
"field": "__count"
},
"x2": {
"scale": "x",
"value": 0
},
"y": {
"scale": "y",
"field": "Class"
},
"height": {
"scale": "y",
"band": true
},
"opacity": {
"value": 0.2
}
}
}
},
{
"name": "bandfacet",
"type": "group",
Expand Down Expand Up @@ -283,12 +247,6 @@
},
"width": {
"signal": "scale('x', datum['count'])"
},
"fill": {
"signal": "\"pink\""
},
"opacity": {
"value": 0.4
}
}
},
Expand Down Expand Up @@ -359,35 +317,6 @@
"ticks": false,
"zindex": 0
}
],
"data": [
{
"name": "s2",
"source": "facet",
"transform": [
{
"type": "aggregate",
"groupby": [
"Class",
"Joined"
],
"ops": [
"count"
],
"fields": [
null
],
"as": [
"__count"
]
},
{
"type": "extent",
"field": "__count",
"signal": "maxcount"
}
]
}
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,42 +241,6 @@
}
},
"marks": [
{
"name": "child_marks",
"type": "rect",
"style": [
"bar"
],
"from": {
"data": "s2"
},
"encode": {
"update": {
"fill": {
"value": "#4c78a8"
},
"x": {
"scale": "x",
"field": "__count"
},
"x2": {
"scale": "x",
"value": 0
},
"y": {
"scale": "y",
"field": "Class"
},
"height": {
"scale": "y",
"band": true
},
"opacity": {
"value": 0.2
}
}
}
},
{
"name": "bandfacet",
"type": "group",
Expand Down Expand Up @@ -309,12 +273,6 @@
},
"width": {
"signal": "scale('x', datum['count'])"
},
"fill": {
"signal": "\"pink\""
},
"opacity": {
"value": 0.4
}
}
},
Expand Down Expand Up @@ -385,36 +343,6 @@
"ticks": false,
"zindex": 0
}
],
"data": [
{
"name": "s2",
"source": "facet",
"transform": [
{
"type": "aggregate",
"groupby": [
"Class",
"bin_maxbins_30_TicketCost",
"bin_maxbins_30_TicketCost_end"
],
"ops": [
"count"
],
"fields": [
null
],
"as": [
"__count"
]
},
{
"type": "extent",
"field": "__count",
"signal": "maxcount"
}
]
}
]
}
],
Expand Down
42 changes: 0 additions & 42 deletions docs/tests/specs/output/square-bar-categorical.vg.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,42 +41,6 @@
}
],
"marks": [
{
"name": "marks",
"type": "rect",
"style": [
"bar"
],
"from": {
"data": "source_0"
},
"encode": {
"update": {
"fill": {
"value": "#4c78a8"
},
"x": {
"scale": "x",
"field": "__count"
},
"x2": {
"scale": "x",
"value": 0
},
"y": {
"scale": "y",
"field": "Class"
},
"height": {
"scale": "y",
"band": true
},
"opacity": {
"value": 0.2
}
}
}
},
{
"name": "bandfacet",
"type": "group",
Expand Down Expand Up @@ -108,12 +72,6 @@
},
"width": {
"signal": "scale('x', datum['count'])"
},
"fill": {
"signal": "\"pink\""
},
"opacity": {
"value": 0.4
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,59 +261,6 @@
}
},
"marks": [
{
"name": "child_marks",
"type": "rect",
"style": [
"bar"
],
"from": {
"data": "s2"
},
"encode": {
"update": {
"fill": {
"value": "#4c78a8"
},
"x": {
"scale": "x",
"field": "__count"
},
"x2": {
"scale": "x",
"value": 0
},
"y2": [
{
"test": "!isValid(datum[\"bin_maxbins_20_Age\"]) || !isFinite(+datum[\"bin_maxbins_20_Age\"])",
"field": {
"group": "height"
}
},
{
"scale": "y",
"field": "bin_maxbins_20_Age"
}
],
"y": [
{
"test": "!isValid(datum[\"bin_maxbins_20_Age\"]) || !isFinite(+datum[\"bin_maxbins_20_Age\"])",
"field": {
"group": "height"
}
},
{
"scale": "y",
"field": "bin_maxbins_20_Age_end",
"offset": 1
}
],
"opacity": {
"value": 0.2
}
}
}
},
{
"name": "bandfacet",
"type": "group",
Expand Down Expand Up @@ -346,12 +293,6 @@
},
"width": {
"signal": "scale('x', datum['count'])"
},
"fill": {
"signal": "\"pink\""
},
"opacity": {
"value": 0.4
}
}
},
Expand Down Expand Up @@ -422,40 +363,6 @@
"ticks": false,
"zindex": 0
}
],
"data": [
{
"name": "s2",
"source": "facet",
"transform": [
{
"type": "aggregate",
"groupby": [
"bin_maxbins_20_Age",
"bin_maxbins_20_Age_end",
"Joined"
],
"ops": [
"count"
],
"fields": [
null
],
"as": [
"__count"
]
},
{
"type": "filter",
"expr": "isValid(datum[\"bin_maxbins_20_Age\"]) && isFinite(+datum[\"bin_maxbins_20_Age\"])"
},
{
"type": "extent",
"field": "__count",
"signal": "maxcount"
}
]
}
]
}
],
Expand Down
Loading

0 comments on commit c4cac17

Please sign in to comment.