Home Forums Chart Support Log-log chart axis label format as 10 to exponent

Log-log chart axis label format as 10 to exponent

Viewing 3 posts - 1 through 3 (of 3 total)
  • #44620

    Hello, I’m creating a log-log chart and would like both the x and y axis to have labels displayed as 10 to some power. See the right image below which shows a sample log plot. As can be seen, it can go negative and positive. How do I replicate axis labels like that?
    log

    #44624

    This solution seems to work ok: https://canvasjs.com/forums/topic/logarithmic-function/

    If there’s a better way to do it nowadays, I’d be glad to see.

    Thanks!

    #44632

    @joshuasosa,

    You can show axis labels in exponential form with the help of unicode characters as mentioned in this thread. Please take a look at this JSFiddle for an example.

    Display negative power values in x-Axis labels

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.