Pllease follow below steps
1)Changing Celsius to Fahrenheit (by clicking Fahrenheit check box), Y axis value changes accordingly.
2) Now, when I click "Change MinMax of Line Chart" button, the Y axis changes as per min max values.
Now my problem is, when I click on Celsius checkbox again, I want Y axis values to be converted from current min max values to Celsius values. And should be displayed on Y axis accordingly.
Also, I am not sure where why Fahrenheit checkbox gets unchecked automatically , when I click on "Change MinMax of Line Chart" or anywhere outside. Thank you.
My fiddle:
https://jsfiddle.net/4otchks2/199/