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

Combining

3 Answers 314 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brenden
Top achievements
Rank 1
Brenden asked on 14 Nov 2019, 07:42 PM

Is is possible to overlay two chart types in the same chart? I would like to create line and scatter chart combined - similar to the chart seen attached to this post.

 

 

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 18 Nov 2019, 12:21 PM

Hi Brenden,

I am afraid it is not possible to mix the Kendo UI Scatter and Line charts. The reason is the design of the two types of charts - the Line chart is a categorical chart (such as Bar, Column and Area charts), while the Scatter Chart is a XY Chart (such as Scatter and ScatterLine line charts):

https://www.telerik.com/kendo-angular-ui/components/charts/series-types/

A possible approach is to use a separate type="scatterLine" series (instead of type="line"), e.g.:

https://stackblitz.com/edit/angular-sqidbg-zxmhev?file=app/app.component.ts

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Brenden
Top achievements
Rank 1
answered on 19 Nov 2019, 03:59 PM
Thanks Dimiter! Just to clarify. Does that mean that charts can be combined, as long as they are of the same series type?
0
Dimiter Topalov
Telerik team
answered on 21 Nov 2019, 09:27 AM

Hi Brenden,

The possibility to display multiple series items with various type is dependent rather on the type of the Chart Axes (Value/Category vs X/Y) than on the type of the series.

For example, column and line series can be combined within a categorical Chart, while scatter and scatterLine series can be combined within a XY Chart.

I hope this clears up a potential misunderstanding.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Brenden
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Brenden
Top achievements
Rank 1
Share this question
or