parentesis mistake corrected on bullet.js

This commit is contained in:
Diego Rabatone 2012-09-21 10:37:50 -03:00
parent e35025adab
commit 959f597c06

View File

@ -45,7 +45,7 @@ nv.models.bullet = function() {
// Compute the new x-scale.
var MaxX = Math.max(rangez[0] ? rangez[0]:0 , markerz[0] ? markerz[0] : 0 , measurez[0] ? measurez[0] : 0)
var x1 = d3.scale.linear()
.domain([0, MaxX])]).nice() // TODO: need to allow forceX and forceY, and xDomain, yDomain
.domain([0, MaxX]).nice() // TODO: need to allow forceX and forceY, and xDomain, yDomain
.range(reverse ? [availableWidth, 0] : [0, availableWidth]);
// Retrieve the old x-scale, if this is an update.