Home forums Using CanvasJS How to preserve zeros after decimal point in tooltip? Reply To: How to preserve zeros after decimal point in tooltip?

#22950

Hi again, in this solution: https://jsfiddle.net/h41e85dv/, if a value is less than 1, e.g. 0.9, the “0” before the dot does not display. Is there a way to fix this? i.e. The tooltip shows “.9” but it should show “0.9”