Fixed a minor naming issue
This commit is contained in:
parent
e45bc92b60
commit
d1ae59f84e
@ -38,7 +38,7 @@ nv.addGraph({
|
||||
var width = $(window).width() - 40,
|
||||
height = $(window).height() - 40;
|
||||
|
||||
var chart = nv.models.lineWithLegend()
|
||||
var chart = nv.models.lineWithFocus()
|
||||
.width(width)
|
||||
.height(height)
|
||||
.yTickFormat(d3.format('.2r'))
|
||||
|
2
nv.d3.js
2
nv.d3.js
@ -804,7 +804,7 @@ nv.models.line = function() {
|
||||
return chart;
|
||||
}
|
||||
|
||||
nv.models.lineWithLegend = function() {
|
||||
nv.models.lineWithFocus = function() {
|
||||
var margin = {top: 30, right: 20, bottom: 30, left: 60},
|
||||
margin2 = {top: 0, right: 20, bottom: 20, left: 60},
|
||||
width = 960,
|
||||
|
2
nv.d3.min.js
vendored
2
nv.d3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
|
||||
nv.models.lineWithLegend = function() {
|
||||
nv.models.lineWithFocus = function() {
|
||||
var margin = {top: 30, right: 20, bottom: 30, left: 60},
|
||||
margin2 = {top: 0, right: 20, bottom: 20, left: 60},
|
||||
width = 960,
|
||||
|
Loading…
Reference in New Issue
Block a user