Skip to content

Commit

Permalink
fix reference to this in graph's dataDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
dchester committed Aug 12, 2013
1 parent 5a1763e commit 9d6248d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Rickshaw.Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Rickshaw.Graph = function(args) {

this.dataDomain = function() {

var data = graph.series.map( function(s) { return s.data } );
var data = this.series.map( function(s) { return s.data } );

var min = d3.min( data.map( function(d) { return d[0].x } ) );
var max = d3.max( data.map( function(d) { return d[d.length - 1].x } ) );
Expand Down

0 comments on commit 9d6248d

Please sign in to comment.