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

I struggle with getting distinct string values on the categoryAxis Kendo Chart

1 Answer 86 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Mimi
Top achievements
Rank 1
Mimi asked on 16 Oct 2013, 02:44 PM
Hi,

I am wondering how to get distinct string values from data source on the categoryAxis in Kendo Chart? It seems to work fine with numeric values but it is not the case with string values. Is there a bug or is something that I am missing...?
Can somebody help me, please?

Here, attached are the sample charts.

Thank you,
Mimi

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 18 Oct 2013, 09:03 AM
Hello Mimi,

In order to achieve the expected result you should point a dataSource field to the categoryAxis. For your convenience here is a simple jsBin example which demonstrates a possible implementation.
 
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Mimi
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or