Minifying Pull Request #133
This commit is contained in:
parent
6a05eb6189
commit
21546bcf14
5
nv.d3.js
5
nv.d3.js
@ -5362,6 +5362,7 @@ nv.models.multiBarHorizontalChart = function() {
|
||||
color = nv.utils.defaultColor(),
|
||||
showControls = true,
|
||||
showLegend = true,
|
||||
stacked = false,
|
||||
tooltips = true,
|
||||
tooltip = function(key, x, y, e, graph) {
|
||||
return '<h3>' + key + " - " + x + '</h3>' +
|
||||
@ -5371,7 +5372,7 @@ nv.models.multiBarHorizontalChart = function() {
|
||||
;
|
||||
|
||||
|
||||
var multibar = nv.models.multiBarHorizontal().stacked(false),
|
||||
var multibar = nv.models.multiBarHorizontal().stacked(stacked),
|
||||
x = multibar.xScale(),
|
||||
y = multibar.yScale(),
|
||||
xAxis = nv.models.axis().scale(x).orient('left').highlightZero(false).showMaxMin(false),
|
||||
@ -5592,7 +5593,7 @@ nv.models.multiBarHorizontalChart = function() {
|
||||
chart.xAxis = xAxis;
|
||||
chart.yAxis = yAxis;
|
||||
|
||||
d3.rebind(chart, multibar, 'x', 'y', 'xDomain', 'yDomain', 'forceX', 'forceY', 'clipEdge', 'id', 'delay', 'showValues', 'valueFormat');
|
||||
d3.rebind(chart, multibar, 'x', 'y', 'xDomain', 'yDomain', 'forceX', 'forceY', 'clipEdge', 'id', 'delay', 'showValues', 'valueFormat', 'stacked');
|
||||
|
||||
|
||||
chart.margin = function(_) {
|
||||
|
8
nv.d3.min.js
vendored
8
nv.d3.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user