Home forums Using CanvasJS Remove suffix on indexLabel Reply To: Remove suffix on indexLabel



I was creating JSFiddle and found the error, in the “data” tag is set “yValueFormatString: “#.000hh/hp””. This is creating the suffix in the indexLabel.

I have not seen this before because the array of dataPoints is created in another part of the code.
I removed the “yValueFormatString: “#.000hh/hp”” from the “data” and put “yValueFormatString: “#.000” in “axisY” and it worked perfectly.


Sorry for my mistake and thanks for your help!

  • This reply was modified 9 months, 4 weeks ago by  Nessler.