Skip to content

Commit

Permalink
Change the init logic to assgin better orient for ranged bar
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoonkim committed Oct 12, 2022
1 parent d8f3f63 commit ccc3007
Show file tree
Hide file tree
Showing 19 changed files with 171 additions and 88 deletions.
Binary file modified examples/compiled/bar_ranged_not_binned.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/bar_ranged_not_binned.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions examples/compiled/bar_ranged_not_binned.vg.json
Expand Up @@ -44,8 +44,8 @@
"description": {
"signal": "\"b: \" + (format(datum[\"b\"], \"\")) + \"; b2: \" + (format(datum[\"b2\"], \"\"))"
},
"x": {"scale": "x", "field": "b"},
"x2": {"scale": "x", "value": 0},
"xc": {"scale": "x", "field": "b"},
"width": {"value": 5},
"y": {"scale": "y", "field": "b"},
"y2": {"scale": "y", "field": "b2"}
}
Expand All @@ -59,16 +59,16 @@
"domain": {"data": "data_0", "field": "b"},
"range": [0, {"signal": "width"}],
"nice": true,
"zero": true
"zero": false,
"padding": 5
},
{
"name": "y",
"type": "linear",
"domain": {"data": "data_0", "fields": ["b", "b2"]},
"range": [{"signal": "height"}, 0],
"nice": true,
"zero": false,
"padding": 5
"zero": true
}
],
"axes": [
Expand Down
Binary file modified examples/compiled/histogram_nonlinear.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/compiled/histogram_nonlinear.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/compiled/layer_cumulative_histogram.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ccc3007

Please sign in to comment.