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

#22740

Nessler
Member

@vishwas,

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.

JSFiddle

Sorry for my mistake and thanks for your help!

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