Logarithmic scale barchart

2 posts, 0 answers
  1. Terry
    Terry avatar
    9 posts
    Member since:
    Apr 2015

    Posted 18 Feb Link to this post

    Hello Nikolai,

    I hope you are doing well!

    Im currently working again on the project I showed you during our training at Ometa. I have a question about the logarithmic scaling of the valueAxis of a bar chart. In the screenshot below you can see the results however it is not presented logical to our key-users. They are excepting the bars to start at 0.1 even the longest ones.

    In screenshot 2 you can see what I mean however it seems that only values greater than 1 are presented on the right side of the chart and values smaller than 1 are presented on the left side of the chart.
    Would it be possible to have all the bars starting on the left side of the chart even if they are smaller than 1?

    Thanks in advance!!

    Kind regards

  2. EZ
    EZ avatar
    60 posts
    Member since:
    May 2015

    Posted 18 Feb Link to this post

    You can use the axisCrossingValues property of the valueAxis to make it cross at 0.1:

    valueAxis: {
        type: "log",
        axisCrossingValues: [0.1],
        minorGridLines: {
            visible: true
        }
    }

     

    DOJO

  3. Kendo UI is VS 2017 Ready
Back to Top