File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " dc.graph" ,
3
- "version" : " 0.4.2 " ,
3
+ "version" : " 0.4.3 " ,
4
4
"license" : " Apache-2.0" ,
5
5
"copyright" : " 2017" ,
6
6
"description" : " Graph visualizations integrated with crossfilter and dc.js" ,
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ function timeline(parent) {
123
123
var max = Math . max ( _minHeight , d3 . max ( _events , function ( e ) {
124
124
return e . value [ 0 ] . key === 'adds' ? Math . max ( e . value [ 0 ] . height , e . value [ 1 ] . height ) : 0 ;
125
125
} ) ) ;
126
- _y . domain ( [ max , - max ] ) . range ( [ 0 , bl ] ) ;
126
+ _y . domain ( [ max , - max ] ) . range ( [ 0 , _height ] ) ;
127
127
128
128
var axis = _g . selectAll ( 'rect.timeline' ) . data ( [ 0 ] ) ;
129
129
axis . enter ( ) . append ( 'rect' ) . attr ( 'class' , 'timeline' ) ;
@@ -143,7 +143,7 @@ function timeline(parent) {
143
143
} ,
144
144
y : 0 ,
145
145
width : function ( d ) {
146
- return _x ( d . x2 ) - _x ( d . x1 ) ;
146
+ return _x ( d . x2 ) - _x ( d . x1 ) + _tickWidth ;
147
147
} ,
148
148
height : _height ,
149
149
fill : _region && _region . color || 'blue' ,
You can’t perform that action at this time.
0 commit comments