Issue #281 minor tweak to current value dy and margin.bottom

master-patched
Bob Monteverde 12 years ago
parent 3b220f6252
commit 9661ffb4d3

@ -9596,7 +9596,7 @@ nv.models.sparklinePlus = function() {
var sparkline = nv.models.sparkline();
var margin = {top: 15, right: 100, bottom: 3, left: 50}
var margin = {top: 15, right: 100, bottom: 10, left: 50}
, width = null
, height = null
, x
@ -9700,7 +9700,7 @@ nv.models.sparklinePlus = function() {
value.enter().append('text').attr('class', 'nv-currentValue')
.attr('dx', 8)
.attr('dy', '.5em');
.attr('dy', '.65em');
value
.attr('x', availableWidth)

2
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -7,7 +7,7 @@ nv.models.sparklinePlus = function() {
var sparkline = nv.models.sparkline();
var margin = {top: 15, right: 100, bottom: 3, left: 50}
var margin = {top: 15, right: 100, bottom: 10, left: 50}
, width = null
, height = null
, x
@ -111,7 +111,7 @@ nv.models.sparklinePlus = function() {
value.enter().append('text').attr('class', 'nv-currentValue')
.attr('dx', 8)
.attr('dy', '.5em');
.attr('dy', '.65em');
value
.attr('x', availableWidth)

Loading…
Cancel
Save