'react-native-charts-wrapper - not getting upper y-Axis label for max data point

I have a line graph having only left y-Axis. when I got max data point value like 1,994, not getting max value label in y-Axis.

case 1:

y value : 1,994
max y-Axis label: 1,800 (2100 was expected)

enter image description here

case 2:

y value : 6,282
max y-Axis label: 7,000 (as expected !)

enter image description here

I tried Granularity but didn't work. I just don't want to go max data point off the chart. Please help. Thanks in advance. Sorry if I did wrong formatting the question ;)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source