Hi Mark,
As pointed in the documentation, percentage field is available only for pie, donut and 100% stacked charts. What I would suggest for your scenario is to add an additional field in your data which contains the calculated point percentage - then you could reach it in the labels.template via the dataItem. As an example:
Regards,
Iliana Nikolova
Telerik
As pointed in the documentation, percentage field is available only for pie, donut and 100% stacked charts. What I would suggest for your scenario is to add an additional field in your data which contains the calculated point percentage - then you could reach it in the labels.template via the dataItem. As an example:
//.....Labels(labels => labels .Visible(true) .Template("#= value #, #= dataItem.PercentageField # )") .Position(ChartBarLabelsPosition.Center))Regards,
Iliana Nikolova
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items