Home Forums Chart Support Setting the interval on a logarithmic axis

Setting the interval on a logarithmic axis

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

    I am wanting to have the x-axis set to be logarithmic but also should each whole number (ie 1, 2, 3, …). Here is a jsfiddle of what I am trying, but setting the interval to “1” cause it to show the x-axis as only (1, 10, …)

    https://jsfiddle.net/cqfp537g/1/

    #59973

    @dunhamcd,

    In a logarithmic scale, the axis labels represent powers of logarithmBase – defaults to 10 (1, 10, 100, etc.) instead of linear increments due to how logarithmic values work. Using a linear scale may better suit your needs if you prefer different label increments like 1, 2, 3,…


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.