Skip to content

Commit

Permalink
improve x-axis label placement, #16
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Oct 3, 2016
1 parent 4cac312 commit c2c7725
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,24 @@ <h1>OSM Tag History</h1>
}
],
"axes": [
{"type": "x", "scale": "x", "grid": true, "ticks": 15},
{"type": "y", "scale": "y", "grid": true, "orient": "right"}
{
"type": "x",
"scale": "x",
"grid": true,
"ticks": 12,
properties: {
"labels": {
"align": { "value": "left" },
"dx": { "value": 3 }
}
}
},
{
"type": "y",
"scale": "y",
"grid": true,
"orient": "right"
}
],
"marks": [
{
Expand Down

0 comments on commit c2c7725

Please sign in to comment.