Skip to content

Commit e4f4cd7

Browse files
committed
update built libs
1 parent 026d593 commit e4f4cd7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rickshaw",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"dependencies": {
55
"d3": "~2.10.1"
66
},

rickshaw.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Rickshaw.Graph = function(args) {
470470

471471
this.dataDomain = function() {
472472

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

475475
var min = d3.min( data.map( function(d) { return d[0].x } ) );
476476
var max = d3.max( data.map( function(d) { return d[d.length - 1].x } ) );
@@ -2604,7 +2604,7 @@ Rickshaw.Graph.Renderer.Bar = Rickshaw.Class.create( Rickshaw.Graph.Renderer, {
26042604
var vis = args.vis || graph.vis;
26052605
vis.selectAll('*').remove();
26062606

2607-
var barWidth = this.barWidth(series[0]);
2607+
var barWidth = this.barWidth(series.active()[0]);
26082608
var barXOffset = 0;
26092609

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

3361-
addData: function($super, data) {
3361+
addData: function($super, data, x) {
33623362

3363-
$super(data);
3363+
$super(data, x);
33643364

33653365
this.currentSize += 1;
33663366
this.currentIndex += 1;

0 commit comments

Comments
 (0)