react-horizontal-bar-chart
Version:
Simple horizontal bar chart react component, with inline tooltips
35 lines (28 loc) • 470 B
CSS
.examples .HBar{
margin-top: 30px;
margin-bottom: 30px;
/*
border: 1px dashed rgba(255, 255, 255, 0.13);
*/
}
.examples pre {
background: #222;
color: white;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: none;
width: 70%
}
/* EXAMPLE 1 */
.example1 .HBar rect {
fill: #018670
}
.example1 .HBar .inside {
fill: white
}
.example1 .HBar .outside {
fill: white
}
.example1 .HBar .axis {
stroke: #018670;
stroke-width: 1px
}