Cleaning axis of vega graphs

This commit is contained in:
Ozzie Gooen 2022-04-07 07:56:17 -04:00
parent f8af290bcf
commit 624e788094
2 changed files with 18 additions and 38 deletions

View File

@ -82,10 +82,13 @@
{ {
"orient": "bottom", "orient": "bottom",
"scale": "xscale", "scale": "xscale",
"labelColor": "#666", "labelColor": "#727d93",
"tickColor": "#ddd", "tickColor": "#fff",
"tickOpacity": 0.0,
"domainColor": "#fff",
"domainOpacity": 0.0,
"format": "~s", "format": "~s",
"tickCount": 20 "tickCount": 10
} }
], ],
"marks": [ "marks": [

View File

@ -98,46 +98,23 @@
"orient": "bottom", "orient": "bottom",
"scale": "xscale", "scale": "xscale",
"grid": false, "grid": false,
"tickSize": 2, "labelColor": "#727d93",
"encode": { "tickColor": "#fff",
"grid": { "tickOpacity": 0.0,
"enter": { "domainColor": "#727d93",
"stroke": { "domainOpacity": 0.1,
"value": "#ccc" "tickCount": 5
}
}
},
"ticks": {
"enter": {
"stroke": {
"value": "#ccc"
}
}
}
}
}, },
{ {
"orient": "left", "orient": "left",
"scale": "yscale", "scale": "yscale",
"grid": false, "grid": false,
"domain": false, "labelColor": "#727d93",
"tickSize": 2, "tickColor": "#fff",
"encode": { "tickOpacity": 0.0,
"grid": { "domainColor": "#727d93",
"enter": { "domainOpacity": 0.1,
"stroke": { "tickCount": 5
"value": "#ccc"
}
}
},
"ticks": {
"enter": {
"stroke": {
"value": "#ccc"
}
}
}
}
} }
], ],
"marks": [ "marks": [