Home forums Chart Support Issue observed when plotting Y axis values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7207


    I observed below issues when plotting Y axis values:

    1. Graph is not plotted when y values are entered with leading zero
    e.g. label: “banana”, y: 012.5 —– Graph is not plotted
    But works ok if entered as label: “banana”, y: 12.5
    Here is the sample jsfiddle.

    2. Also I feel the code should take care if some one tries to assign alphabets or special characters in y vaue. Currently it does not plot the graph in such case.

    Please let me know your comments on these 2 issues.



    This is not a problem with canvasjs, but with JavaScript.
    If you write this code:
    var x = 012.5;
    Will give a SyntaxError.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.