Kins
09-05-2022Cloud Apps
Wrap text on KPI widget
Is there a way to wrap text on a KPI widget? My text is slightly too long, and is chopping off the end of the sentence with '...'
Thanks
Is there a way to wrap text on a KPI widget? My text is slightly too long, and is chopping off the end of the sentence with '...'
Thanks
Hi Kins ,
Not sure how to wrap text in an indicator widget. But here are 2 solutions to display entire text:
{
"style": "",
"script": "",
"title": "",
"showCarousel": true,
"body": [
{
"spacing": "medium",
"type": "Container",
"items": [
{
"spacing": "small",
"type": "TextBlock",
"text": "Average sales for the year 2022",
"color": "default",
"wrap": true,
"horizontalAlignment": "center"
},
{
"type": "TextBlock",
"text": "250",
"horizontalAlignment": "center",
"size": "extraLarge",
"style": {
"color": "#117899"
}
}
]
}
],
"actions": []
}-Hari