@@ -1202,7 +1202,7 @@ var YStep = function (_React$Component3) {
12021202 x2 : this . props . x - this . props . length , y2 : this . props . y ,
12031203 stroke : this . props . color } ) ) ;
12041204 step . push ( _react2 . default . createElement ( YTickLabel , { key : "label" + this . props . y , x : this . props . x - 10 , y : this . props . y ,
1205- value : this . props . value , color : this . props . color } ) ) ;
1205+ value : this . props . value , yScale : this . props . yScale , color : this . props . color } ) ) ;
12061206
12071207 return _react2 . default . createElement (
12081208 "g" ,
@@ -1268,7 +1268,7 @@ var YAxis = function (_React$Component4) {
12681268 if ( this . props . showYLabels ) {
12691269 yAxis . push ( _react2 . default . createElement ( YStep , { key : "yStep" + i , x : this . props . x , y : tickPos ,
12701270 value : yVal , length : 10 , color : this . props . style . labelColor ,
1271- showYLabels : this . props . showYLabels } ) ) ;
1271+ showYLabels : this . props . showYLabels , yScale : this . props . yScale } ) ) ;
12721272 }
12731273
12741274 if ( this . props . showGrid ) {
@@ -1373,7 +1373,7 @@ var XStep = function (_React$Component6) {
13731373 x2 : this . props . x , y2 : this . props . y + this . props . length ,
13741374 stroke : this . props . color } ) ) ;
13751375 step . push ( _react2 . default . createElement ( XTickLabel , { key : "label" + this . props . x , x : this . props . x , y : this . props . y ,
1376- value : this . props . value , color : this . props . color } ) ) ;
1376+ value : this . props . value , xScale : this . props . xScale , color : this . props . color } ) ) ;
13771377
13781378 return _react2 . default . createElement (
13791379 "g" ,
@@ -1439,7 +1439,7 @@ var XAxisContinuous = function (_React$Component7) {
14391439 }
14401440 xAxis . push ( _react2 . default . createElement ( XStep , { key : "xStep" + i , x : tickPos , y : this . props . y ,
14411441 value : xVal , length : 10 , color : this . props . style . labelColor ,
1442- showXLabels : this . props . showXLabels } ) ) ;
1442+ showXLabels : this . props . showXLabels , xScale : this . props . xScale } ) ) ;
14431443 }
14441444 }
14451445
0 commit comments