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

Is this stacked grid possible?

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian Vallelunga
Top achievements
Rank 1
Brian Vallelunga asked on 07 Nov 2018, 03:02 PM

I'm having issues deciphering the documentation when trying to build the following 100% stacked chart. Is this possible?

 

2 Answers, 1 is accepted

Sort by
0
Brian Vallelunga
Top achievements
Rank 1
answered on 07 Nov 2018, 03:05 PM
[quote]Brian Vallelunga said:

I'm having issues deciphering the documentation when trying to build the following 100% stacked chart. Is this possible?[/quote]

The major issue seems to be coming up with the legend. I can get the basic chart without the legend. Thanks.

0
Dimiter Topalov
Telerik team
answered on 09 Nov 2018, 08:46 AM
Hello Brian,

You can use the LegendLabels content option to provide a function that will return the desired text content of the legend label, based on the respective series names and values, e.g.:

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

I hope this helps.

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