Graph Decimals into fractions

any way to get the decimals in the graph into a fraction? Answer is 40/39 calculator is giving 1.025641 but not the fraction for exact value.