Skip to content

Commit

Permalink
update built libs
Browse files Browse the repository at this point in the history
  • Loading branch information
dchester committed Aug 13, 2013
1 parent 026d593 commit e4f4cd7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rickshaw",
"version": "1.4.2",
"version": "1.4.3",
"dependencies": {
"d3": "~2.10.1"
},
Expand Down
8 changes: 4 additions & 4 deletions rickshaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,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 Expand Up @@ -2604,7 +2604,7 @@ Rickshaw.Graph.Renderer.Bar = Rickshaw.Class.create( Rickshaw.Graph.Renderer, {
var vis = args.vis || graph.vis;
vis.selectAll('*').remove();

var barWidth = this.barWidth(series[0]);
var barWidth = this.barWidth(series.active()[0]);
var barXOffset = 0;

var activeSeriesCount = series.filter( function(s) { return !s.disabled; } ).length;
Expand Down Expand Up @@ -3358,9 +3358,9 @@ Rickshaw.Series.FixedDuration = Rickshaw.Class.create(Rickshaw.Series, {
}
},

addData: function($super, data) {
addData: function($super, data, x) {

$super(data);
$super(data, x);

this.currentSize += 1;
this.currentIndex += 1;
Expand Down
Loading

0 comments on commit e4f4cd7

Please sign in to comment.