Applies To
Dynamics 365

Symptom

Charts in UCI does not work when #PERCENT, #VAL and #TOTAL are used in Chart XML.

Cause

Currently we only partially support the #PERCENT in UCI, but not the rest "#VAL of #TOTAL". And we have no plan to support the "#VAL of #TOTAL" in the future. This is the limitation due to switching to Highcharts library. (Webclient is using .NET library and UCI is using Highcharts library) 

Mitigation

How to use #PERCENT in UCI

Add "#PERCENT" in <Series> node (and add isValueShownAsLabel="False")

For example, 

<Series IsValueShownAsLabel="False" LabelForeColor="59, 59, 59" Label="#PERCENT" ChartType="pie">           <SmartLabelStyle Enabled="True" />  </Series>

ChartPercentLabel

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.