@@ -1202,7 +1202,7 @@ var YStep = function (_React$Component3) {
1202
1202
x2 : this . props . x - this . props . length , y2 : this . props . y ,
1203
1203
stroke : this . props . color } ) ) ;
1204
1204
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 } ) ) ;
1206
1206
1207
1207
return _react2 . default . createElement (
1208
1208
"g" ,
@@ -1268,7 +1268,7 @@ var YAxis = function (_React$Component4) {
1268
1268
if ( this . props . showYLabels ) {
1269
1269
yAxis . push ( _react2 . default . createElement ( YStep , { key : "yStep" + i , x : this . props . x , y : tickPos ,
1270
1270
value : yVal , length : 10 , color : this . props . style . labelColor ,
1271
- showYLabels : this . props . showYLabels } ) ) ;
1271
+ showYLabels : this . props . showYLabels , yScale : this . props . yScale } ) ) ;
1272
1272
}
1273
1273
1274
1274
if ( this . props . showGrid ) {
@@ -1373,7 +1373,7 @@ var XStep = function (_React$Component6) {
1373
1373
x2 : this . props . x , y2 : this . props . y + this . props . length ,
1374
1374
stroke : this . props . color } ) ) ;
1375
1375
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 } ) ) ;
1377
1377
1378
1378
return _react2 . default . createElement (
1379
1379
"g" ,
@@ -1439,7 +1439,7 @@ var XAxisContinuous = function (_React$Component7) {
1439
1439
}
1440
1440
xAxis . push ( _react2 . default . createElement ( XStep , { key : "xStep" + i , x : tickPos , y : this . props . y ,
1441
1441
value : xVal , length : 10 , color : this . props . style . labelColor ,
1442
- showXLabels : this . props . showXLabels } ) ) ;
1442
+ showXLabels : this . props . showXLabels , xScale : this . props . xScale } ) ) ;
1443
1443
}
1444
1444
}
1445
1445
0 commit comments