Enabled configuration of open and close icons in indentedTree

Added chart.iconOpen and chart.iconClose in the same format as
chart.tableClass etc that will return the current setting for either
icon value unless an argument is supplied, in which case they will
replace the settng with the new value and return the chart.
master-patched
Will McKenzie 12 years ago
parent 42aa8ad2ca
commit 8a26f292f1

5645
nv.d3.js

File diff suppressed because it is too large Load Diff

7
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -271,6 +271,17 @@ nv.models.indentedTree = function() {
return chart;
};
chart.iconOpen = function(_){
if (!arguments.length) return iconOpen;
iconOpen = _;
return chart;
}
chart.iconClose = function(_){
if (!arguments.length) return iconClose;
iconClose = _;
return chart;
}
return chart;
}

Loading…
Cancel
Save