Skip to content

Commit

Permalink
build 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
benstoltz committed Mar 2, 2017
1 parent 83bc034 commit ae31bd0
Show file tree
Hide file tree
Showing 13 changed files with 2,525 additions and 0 deletions.
1,372 changes: 1,372 additions & 0 deletions dist/cedar.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/cedar.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist/cedar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/cedar.min.js.map

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions dist/charts/bar-horizontal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"inputs": [
{ "name": "x", "type": [ "numeric", "string" ], "required": true },
{ "name": "y", "type": [ "string" ], "required": true }
],
"query": {
"orderByFields": "{x.field} DESC",
"groupByFieldsForStatistics": "{y.field}",
"outStatistics": [{
"statisticType": "sum",
"onStatisticField": "{x.field}",
"outStatisticFieldName": "{x.field}"
}]
},
"template":{
"padding": "strict",
"axes": [
{
"type": "x",
"scale": "x",
"titleOffset": 45,
"title": "{x.label}",
"tickPadding": 10,
"properties": {
"title": {
"fontSize": {"value": 15},
"fill": {"value": "#999"},
"fontWeight": {"value": "normal"}
},
"axis": {
"stroke": {"value": "#dbdad9"},
"strokeWidth": {"value": 1.5}
},
"ticks": {
"stroke": {"value": "#dbdad9"}
},
"labels": {
"fill": {"value": "#999"},
"angle": {"value": 0},
"baseline": {"value": "middle"}
}
}
},
{
"type": "y",
"scale": "y",
"titleOffset": 25,
"title": "{y.label}",
"padding": 0.25,
"properties": {
"title": {
"fontSize": {"value": 15},
"fill": {"value": "#999"},
"fontWeight": {"value": "normal"}
},
"axis": {
"stroke": {"value": "#dbdad9"},
"strokeWidth": {"value": 1.5}
},
"ticks": {
"stroke": {"value": "#dbdad9"}
},
"labels": {
"fill": {"value": "#999"},
"angle": {"value": 0},
"baseline": {"value": "middle"}
}
}
}
],
"data": [
{
"name": "table",
"format": {"property": "features"}
}
],
"marks": [
{
"from": {"data": "table"},
"properties": {
"enter": {
"height": {"band": true, "offset": -1, "scale": "y"},
"y": {"scale": "y", "field": "attributes.{y.field}"},
"x2": {"scale": "x", "field": "attributes.{x.field}"},
"x": {"scale": "x", "value": 0 }
},
"hover": {
"fill": {"value": "#29b6ea"}
},
"update": {
"fill": {"value": "#0079c1"}
}
},
"type": "rect"
}
],
"scales": [
{
"domain": {
"data": "table",
"field": "attributes.{y.field}"
},
"name": "y",
"range": "height",
"type": "ordinal",
"padding": 0.25
},
{
"domain": {
"data": "table",
"field": "attributes.{x.field}"
},
"name": "x",
"nice": true,
"range": "width"
}
]
}
}
Loading

0 comments on commit ae31bd0

Please sign in to comment.