Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong

master-patched
Bob Monteverde 12 years ago
commit 53401adab5

@ -4076,8 +4076,8 @@ nv.models.multiBarChart = function() {
//TODO: let user select default
var controlsData = [
{ key: 'Grouped' },
{ key: 'Stacked', disabled: true }
{ key: 'Grouped', disabled: multibar.stacked },
{ key: 'Stacked', disabled: !multibar.stacked }
];
function chart(selection) {

6
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -36,8 +36,8 @@ nv.models.multiBarChart = function() {
//TODO: let user select default
var controlsData = [
{ key: 'Grouped' },
{ key: 'Stacked', disabled: true }
{ key: 'Grouped', disabled: multibar.stacked },
{ key: 'Stacked', disabled: !multibar.stacked }
];
function chart(selection) {

Loading…
Cancel
Save