cancel
Showing results for 
Search instead for 
Did you mean: 

Wrap text on KPI widget

Kins
8 - Cloud Apps
8 - Cloud Apps

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 

1 REPLY 1

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @Kins ,

Not sure how to wrap text in an indicator widget. But here are 2 solutions to display entire text:

  • Increase the width the indicator widget
  • Use blox instead of Indicator. Here is a sample script for Blox
    {
        "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