Skip to content

Instantly share code, notes, and snippets.

@sudodoki
Created December 6, 2014 12:55
Show Gist options
  • Save sudodoki/3c523a224447ec088562 to your computer and use it in GitHub Desktop.
Save sudodoki/3c523a224447ec088562 to your computer and use it in GitHub Desktop.
* {
box-sizing: border-box;
}
#ChartArea {
background-color: #ddd;
width: 690px;
height: 300px;
margin: 0 auto;
}
#ChartArea svg {
clear: both;
}
.arrow {
display: block;
height: 100%;
float: left;
width: 20px;
border: 1px solid red;
text-align: center;
line-height: 300px;
}
.arrow.right {
float: right;
}
.bar {
display: inline-block;
width: 60px;
height: 150px; /* Gets overriden by D3-assigned height below */
margin-right: 5px;
/*background-color: #face3d;*/
fill: #face3d;
}
.special {
stroke: green;
}
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment