Kendo chart - Logarithmic scale

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

    Posted 01 Mar Link to this post

    Hi,

    Im using a kendo chart on a log scale, My values can not be 0 however they can be 1.

    As shown in the dojo, my bars with value 1 are not shown. If you comment out the "type":log you will see the missing columns appearing.

    http://dojo.telerik.com/iVuTe

    Why is my chart behaving like this?

    Thanks in advance!

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

    Posted 01 Mar Link to this post

     

    You could set the valueAxis Min and crossing values less than one:

    valueAxis: {
         type: "log",  
         min: 0.9,
         axisCrossingValues: [0.9],
         minorGridLines: {
             visible: false
         }
     },

    Updated DOJO

    Another option would be to use the Visual property of the series to draw something when the value is 1:

    DOJO

     

  3. Kendo UI is VS 2017 Ready
Back to Top