Removed no data check from the bulletChart until I modify it to work with the bullet chart code

master-patched
Bob Monteverde 12 years ago
parent 53a5f5323b
commit 4254f4ab34

@ -1120,6 +1120,8 @@ nv.models.bulletChart = function() {
//------------------------------------------------------------
// Display No Data message if there's nothing to show.
/*
// Disabled until I figure out a better way to check for no data with the bullet chart
if (!data || !data.length || !data.filter(function(d) { return d.values.length }).length) {
container.append('text')
.attr('class', 'nvd3 nv-noData')
@ -1132,6 +1134,7 @@ nv.models.bulletChart = function() {
} else {
container.select('.nv-noData').remove();
}
*/
//------------------------------------------------------------

8
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -51,6 +51,8 @@ nv.models.bulletChart = function() {
//------------------------------------------------------------
// Display No Data message if there's nothing to show.
/*
// Disabled until I figure out a better way to check for no data with the bullet chart
if (!data || !data.length || !data.filter(function(d) { return d.values.length }).length) {
container.append('text')
.attr('class', 'nvd3 nv-noData')
@ -63,6 +65,7 @@ nv.models.bulletChart = function() {
} else {
container.select('.nv-noData').remove();
}
*/
//------------------------------------------------------------

Loading…
Cancel
Save