Home forums Using CanvasJS asp.net variable behind code Reply To: asp.net variable behind code

#18923

Indranil Deo
Member

@antrac1t,

The data received using '<%=dataUSA%>' is of type String. Parsing it to int / float should work fine in your case.
{ label: "USA", y: parseFloat('<%=dataUSA%>') },

___________
Indranil Deo,
Team CanvasJS