I am not able to use the numberformatter function to convert my column to percentage, not work for me. both re outputs, with and without it are the same

Hi. setNumberFormatter(‘percentage’); does not convert the columns in percentage for me. It is almost just the same. I am pasting both the outputs, with and without the function.
WITHOUT:

WITH:

code:
setChartLibrary(‘google-chart’);
setChartType(‘lineGraph’);
setNumberFormatter(‘percentage’);
plotChart(‘time_stamp’, ‘ldr’);

To convert the values in column axis to percentage format, try this code snippet
‘’’’
console.log(parseFloat(x).toFixed(2)+"%");
‘’’’
If it works out,let me know

@rvishali1610 , I am sorry but there is no variabel named x and thats why it shows me an error

Ohh .Try with a variable u have declared