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

Grouped data for every series

2 Answers 23 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Raido Valgeväli
Top achievements
Rank 2
Raido Valgeväli asked on 29 May 2013, 08:52 AM
Good morning

I have 2 separate data sources with the same length and same values for the category field.
[{"category":"a","value":1},{"category":"b","value":2},{"category":"c","value":3}]
and
[{"category":"a","value":2},{"category":"b","value":3},{"category":"c","value":4}]

Is it possible to apply these data sources to series1 and series2 on the same line chart?

Thanks.
 Raido

2 Answers, 1 is accepted

Sort by
0
Raido Valgeväli
Top achievements
Rank 2
answered on 29 May 2013, 09:39 AM
Let me clarify a bit. In my case the category axis is actually of date type and the same number of points is not guaranteed. Would it still be possible to feed the data objects to series? I could do something like this on Scatter chart, but then I'd lose Area and Column options.
0
Hristo Germanov
Telerik team
answered on 31 May 2013, 07:34 AM
Hello Raido,

If you have 5 points in the first series you should have 5 points in the second too. If you haven't that much points in the second series you should fill the rest with value null.

I hope this helps.

Regards,
Hristo Germanov
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
Raido Valgeväli
Top achievements
Rank 2
Answers by
Raido Valgeväli
Top achievements
Rank 2
Hristo Germanov
Telerik team
Share this question
or