Data label in Donut chart in Service operation workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 11:54 PM
Hello All,
We are using OOB SOW Landing page and have created a new donut report on Task table(group by sys_class_name) by doing changes in SowIncidentLandingPageUtils.
Only for our donut, some of the task lable are not display automatically, like in this case "Incident communication task". The label is however display when hover on the color, but not without it.
Does anyone know how this issue can be fixed in OOB landing page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 02:44 AM
@Avani Shah It is the OOTB par widget behaviour. If the data label text cannot be accommodated, then it will hide the label. Please refer screenshot attached.
In screenshot, you can see, the component was applying visibility: hidden to the label, when I disabled that css, we can see that the text is not fully visible(it should have been '3 - Moderate')
When the data visualization has enough space, it starts showing the label.
Small size donut (Not showing 3 - moderate label)
When then size of donut is increased, it starts showing the 3 - moderate data label.
This is working as expected since if there is small area to display it should hide the labels which it cannot accommodate to be able to display the donut clearly. On hover, the user will be able to see the data label.
Please mark my answer helpful/correct if it helps solve your problem.
Thanks,
Aditya