This is a migrated thread and some comments may be shown as answers.

Kendo chart - Logarithmic scale

1 Answer 193 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 01 Mar 2016, 11:15 AM

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!

1 Answer, 1 is accepted

Sort by
0
EZ
Top achievements
Rank 2
answered on 01 Mar 2016, 03:04 PM

 

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

 

Tags
Charts
Asked by
Terry
Top achievements
Rank 1
Answers by
EZ
Top achievements
Rank 2
Share this question
or