cancel
Showing results for 
Search instead for 
Did you mean: 

BloX Title Style Missing from PDF Report

vrice
8 - Cloud Apps
8 - Cloud Apps

When I create a PDF Report of my dashboard, I have noticed that the title styling for all of my BloX widgets disappears. 

Here's the relevant snippet from my BloX Editor:

    "titleStyle": [
        {
            "display": "true",
            "backgroundColor": "#F3C2A1"
        }
    ]

The background color is present when editing/viewing the dashboard - it is just missing in the PDF. 

Has anyone else experienced this issue or know of any workarounds?

Thanks!

 

1 ACCEPTED SOLUTION

rapidbisupport
11 - Data Pipeline
11 - Data Pipeline

Hi @vrice,

As a workaround, if you have 'Widget Design Styling' enabled in Admin > Feature Management, you can use the following widget script on your BloX widget to change the title style:

 

widget.style.widgetDesign = {
    "widgetBackgroundColor": "#FFFFFF",
    "widgetTitleBackgroundColor": "#e90000",
    "widgetTitleColor": "#0057f9",
    "widgetTitleAlignment": "center",
    "widgetBorderEnabled": false,
    "widgetBorderColor": "#9EA2AB",
    "widgetCornerRadius": "none",
    "widgetShadow": "none",
    "widgetSpacing": "none",
    "widgetTitleDividerEnabled": true,
    "widgetTitleDividerColor": "#5B6372"
}

 

You can change the values of the properties above to fine tune the styling to your requirement.

Let me know if this works for you?

Thanks,

Daniel

RAPID BI 

[email protected]

RAPID BI - Sisense Professional Services | Implementations | Custom Add-ons

View solution in original post

2 REPLIES 2

rapidbisupport
11 - Data Pipeline
11 - Data Pipeline

Hi @vrice,

As a workaround, if you have 'Widget Design Styling' enabled in Admin > Feature Management, you can use the following widget script on your BloX widget to change the title style:

 

widget.style.widgetDesign = {
    "widgetBackgroundColor": "#FFFFFF",
    "widgetTitleBackgroundColor": "#e90000",
    "widgetTitleColor": "#0057f9",
    "widgetTitleAlignment": "center",
    "widgetBorderEnabled": false,
    "widgetBorderColor": "#9EA2AB",
    "widgetCornerRadius": "none",
    "widgetShadow": "none",
    "widgetSpacing": "none",
    "widgetTitleDividerEnabled": true,
    "widgetTitleDividerColor": "#5B6372"
}

 

You can change the values of the properties above to fine tune the styling to your requirement.

Let me know if this works for you?

Thanks,

Daniel

RAPID BI 

[email protected]

RAPID BI - Sisense Professional Services | Implementations | Custom Add-ons

That worked perfectly. Thank you, Daniel!