|
|
|
@ -2176,14 +2176,15 @@ nv.models.cumulativeLineChart = function() {
|
|
|
|
|
var gEnter = wrap.enter().append('g').attr('class', 'nvd3 nv-wrap nv-cumulativeLine').append('g');
|
|
|
|
|
var g = wrap.select('g');
|
|
|
|
|
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-x nv-axis');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-y nv-axis');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-background');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-linesWrap');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-avgLinesWrap');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-interactive');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-x nv-axis').style("pointer-events","none");
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-y nv-axis').style("pointer-events","none");
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-background').style("pointer-events","none");
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-linesWrap').style("pointer-events","none");
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-avgLinesWrap').style("pointer-events","none");
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-legendWrap');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-controlsWrap');
|
|
|
|
|
gEnter.append('g').attr('class', 'nv-interactive');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//------------------------------------------------------------
|
|
|
|
|
// Legend
|
|
|
|
@ -2322,6 +2323,7 @@ nv.models.cumulativeLineChart = function() {
|
|
|
|
|
.attr('x', -2)
|
|
|
|
|
.attr('fill', 'red')
|
|
|
|
|
.attr('fill-opacity', .5)
|
|
|
|
|
.style("pointer-events","all")
|
|
|
|
|
.call(indexDrag)
|
|
|
|
|
|
|
|
|
|
indexLine
|
|
|
|
|