if Y values are like {20,30,25,28,30.2}
then in the graph for Y-axis it is taking 30 as maximum value., and for 30.2 in the graph there is a slight cut.
I am beginner to JavaScript can any one help me how to custom set the logic of y-axis.
I just want to add 2 values more to the Y-axis. so that graph cannot be overflow from svg.
if Y values are like {20,30,25,28,30.2} then in the graph for Y-axis it is taking 30 as maximum value., and for 30.2 in the graph there is a slight cut.
I am beginner to JavaScript can any one help me how to custom set the logic of y-axis.
I just want to add 2 values more to the Y-axis. so that graph cannot be overflow from svg.