2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/********************
|
|
|
|
* HTML CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
.chartWrap {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-10 22:13:31 +00:00
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
/********************
|
|
|
|
* TOOLTIP CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
.nvtooltip {
|
|
|
|
position: absolute;
|
|
|
|
background-color: rgba(255,255,255,1);
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #ddd;
|
2012-05-14 17:14:12 +00:00
|
|
|
z-index: 10000;
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
font-family: Arial;
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
transition: opacity 500ms linear;
|
|
|
|
-moz-transition: opacity 500ms linear;
|
|
|
|
-webkit-transition: opacity 500ms linear;
|
|
|
|
|
2012-04-05 20:49:27 +00:00
|
|
|
transition-delay: 500ms;
|
2012-03-20 23:43:21 +00:00
|
|
|
-moz-transition-delay: 500ms;
|
|
|
|
-webkit-transition-delay: 500ms;
|
|
|
|
|
|
|
|
-moz-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
-webkit-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
box-shadow: 4px 4px 12px rgba(0,0,0,.5);
|
|
|
|
|
|
|
|
-moz-border-radius: 15px;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip h3 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-04-05 05:24:39 +00:00
|
|
|
text-align: center;
|
2012-03-20 23:43:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nvtooltip span {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********************
|
|
|
|
* SVG CSS
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2012-03-22 23:26:02 +00:00
|
|
|
svg {
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
text {
|
|
|
|
font: 12px sans-serif;
|
|
|
|
}
|
|
|
|
|
2012-05-10 22:13:31 +00:00
|
|
|
svg .title {
|
|
|
|
font: bold 14px Arial;
|
|
|
|
}
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/**********
|
|
|
|
* Brush
|
|
|
|
*/
|
|
|
|
|
|
|
|
.brush .extent {
|
|
|
|
stroke: #666;
|
|
|
|
fill-opacity: .125;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Legend
|
|
|
|
*/
|
|
|
|
|
|
|
|
.legend .series {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.legend .disabled circle {
|
|
|
|
fill-opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Axes
|
|
|
|
*/
|
|
|
|
|
|
|
|
.axis path {
|
|
|
|
fill: none;
|
|
|
|
stroke: #000;
|
|
|
|
stroke-opacity: .75;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
|
|
|
.axis path.domain {
|
|
|
|
stroke-opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.axis line {
|
|
|
|
fill: none;
|
|
|
|
stroke: #000;
|
|
|
|
stroke-opacity: .25;
|
|
|
|
shape-rendering: crispEdges;
|
|
|
|
}
|
|
|
|
|
|
|
|
.axis line.zero {
|
|
|
|
stroke-opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Bars
|
|
|
|
*/
|
|
|
|
|
2012-05-10 16:10:15 +00:00
|
|
|
.bars .negative rect {
|
2012-05-10 22:13:31 +00:00
|
|
|
zfill: brown;
|
2012-05-10 16:10:15 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
.bars rect {
|
2012-05-10 22:13:31 +00:00
|
|
|
zfill: steelblue;
|
2012-03-20 23:43:21 +00:00
|
|
|
cursor: pointer;
|
2012-05-23 22:37:28 +00:00
|
|
|
fill-opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bars rect:hover {
|
|
|
|
fill-opacity: 1;
|
2012-03-20 23:43:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bars .hover rect {
|
|
|
|
fill: lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bars text {
|
|
|
|
fill: rgba(0,0,0,0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bars .hover text {
|
|
|
|
fill: rgba(0,0,0,1);
|
|
|
|
}
|
|
|
|
|
2012-05-10 22:13:31 +00:00
|
|
|
.x.axis text {
|
|
|
|
transform: rotate(90);
|
|
|
|
}
|
2012-05-09 19:08:25 +00:00
|
|
|
/***********
|
|
|
|
* Pie Chart
|
|
|
|
*/
|
|
|
|
|
|
|
|
.pie .hover path {
|
|
|
|
fill: lightblue;
|
|
|
|
}
|
2012-03-20 23:43:21 +00:00
|
|
|
|
|
|
|
/**********
|
|
|
|
* Lines
|
|
|
|
*/
|
|
|
|
|
|
|
|
.lines path {
|
|
|
|
fill: none;
|
|
|
|
stroke-width: 1.5px;
|
|
|
|
stroke-linecap: round;
|
|
|
|
shape-rendering: geometricPrecision;
|
|
|
|
|
|
|
|
transition: stroke-width 250ms linear;
|
|
|
|
-moz-transition: stroke-width 250ms linear;
|
|
|
|
-webkit-transition: stroke-width 250ms linear;
|
|
|
|
|
|
|
|
transition-delay: 250ms
|
|
|
|
-moz-transition-delay: 250ms;
|
|
|
|
-webkit-transition-delay: 250ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line.hover path {
|
|
|
|
stroke-width: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lines .point {
|
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lines .point.hover {
|
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.point-paths path {
|
|
|
|
stroke: #aaa;
|
|
|
|
stroke-opacity: 0;
|
|
|
|
fill: #eee;
|
|
|
|
fill-opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-22 23:26:02 +00:00
|
|
|
|
|
|
|
.indexLine {
|
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-20 23:43:21 +00:00
|
|
|
/**********
|
|
|
|
* Scatter
|
|
|
|
*/
|
|
|
|
|
|
|
|
.groups .point {
|
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.groups .point.hover {
|
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d3scatter .point.hover {
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
.group.hover .point {
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
*/
|
2012-04-03 20:35:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Stacked Area
|
|
|
|
*/
|
|
|
|
|
2012-04-05 05:24:39 +00:00
|
|
|
.d3stackedarea path.area {
|
2012-04-03 20:35:59 +00:00
|
|
|
fill-opacity: .75;
|
|
|
|
stroke-opacity: .75;
|
2012-04-08 09:50:16 +00:00
|
|
|
stroke-width: 0.1px;
|
2012-04-03 20:35:59 +00:00
|
|
|
}
|
|
|
|
|
2012-04-05 05:24:39 +00:00
|
|
|
.d3stackedarea .lines path {
|
|
|
|
stroke-opacity: 0;
|
|
|
|
}
|
|
|
|
|
2012-04-03 20:35:59 +00:00
|
|
|
|
2012-04-05 05:24:39 +00:00
|
|
|
.d3stackedarea .lines .point {
|
|
|
|
stroke-opacity: 0;
|
|
|
|
fill-opacity: 0;
|
|
|
|
transition: all 250ms linear;
|
|
|
|
-moz-transition: all 250ms linear;
|
|
|
|
-webkit-transition: all 250ms linear;
|
|
|
|
}
|
2012-04-03 20:35:59 +00:00
|
|
|
|
2012-04-05 05:24:39 +00:00
|
|
|
.d3stackedarea .lines .point.hover {
|
|
|
|
stroke-width: 20px;
|
|
|
|
stroke-opacity: .75;
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
2012-05-24 06:22:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Line Plus Bar
|
|
|
|
*/
|
|
|
|
|
|
|
|
.d3linePlusBar .bar rect {
|
|
|
|
fill-opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d3linePlusBar .bar rect:hover {
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
2012-05-24 22:33:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**********
|
|
|
|
* Bullet
|
|
|
|
*/
|
|
|
|
|
|
|
|
.bullet { font: 10px sans-serif; }
|
|
|
|
.bullet .marker { stroke: #000; stroke-width: 2px; }
|
|
|
|
.bullet .tick line { stroke: #666; stroke-width: .5px; }
|
|
|
|
.bullet .range.s0 { fill: #eee; }
|
|
|
|
.bullet .range.s1 { fill: #ddd; }
|
|
|
|
.bullet .range.s2 { fill: #ccc; }
|
|
|
|
.bullet .measure.s0 { fill: lightsteelblue; }
|
|
|
|
.bullet .measure.s1 { fill: steelblue; }
|
|
|
|
.bullet .title { font-size: 14px; font-weight: bold; }
|
|
|
|
.bullet .subtitle { fill: #999; }
|