Home Forums Chart Support Input from external file for logarithmic graph

Input from external file for logarithmic graph

Viewing 5 posts - 1 through 5 (of 5 total)
  • #15956

    Here I am trying to draw the graph using canvasjs. I am getting the input from the external API using an AJAX call. And storing the variables X and Y in the array. Providing that as an input to that canvasjs library for drawing the graph. But I am not able to draw the graph. The below snippet is the one I have done.

    This is the jsfiddle

    #15964

    @raghavi,

    Please take a look at this updated jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #15965

    Actually I have a doubt. Why we are taking log for Y-axis instead of X-axis

    #15967

    @raghavi,

    The jsfiddle that you have provided is a workaround of log scale on axisY.

    Providing that as an input to that canvasjs library for drawing the graph. But I am not able to draw the graph. The below snippet is the one I have done.

    Using the logarithmic scale on axisY completely depends on your requirement. From version 1.9.0 CanvasJS supports logarithmic scale on both axisX & axisY.

    Please take a look on the documentation page on logarithmic axis for more info.

    ___
    Suyash Singh
    Team CanvasJS

    #15969

    Yeah.. Thank you so much.

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

You must be logged in to reply to this topic.