Forum Discussion

Markzolotoy's avatar
Markzolotoy
Impactful Individual
5 years ago
Solved

Paginated report linear-gradient background

I need to create a rectangle with the following background color:

background: linear-gradient(180deg#005AFA 0%#6400AF 100%)

 

Any idea how to do it?

 

Thanks

  • Hi, Markzolotoy 

     

    As far as I know, gradient colors are only supported in chart and gauge report items.
    Here is a workaround, you can set an image to the gradient you want and use it as the background for your report.

     

    In report design view, select the report item to which you want to add a background image.

    If the Properties pane is not visible, on the View tab, select Properties.

    In the Properties pane, expand BackgroundImage.

     

    refer this link for more details:

    https://stackoverflow.com/questions/59867801/adding-a-background-image-to-an-ssrs-2012-report

     

    Hope this helps.

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • Hi, Markzolotoy 

     

    As far as I know, gradient colors are only supported in chart and gauge report items.
    Here is a workaround, you can set an image to the gradient you want and use it as the background for your report.

     

    In report design view, select the report item to which you want to add a background image.

    If the Properties pane is not visible, on the View tab, select Properties.

    In the Properties pane, expand BackgroundImage.

     

    refer this link for more details:

    https://stackoverflow.com/questions/59867801/adding-a-background-image-to-an-ssrs-2012-report

     

    Hope this helps.

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.