question

markgoldin-3750 avatar image
0 Votes"
markgoldin-3750 asked markgoldin-3750 commented

SSRS report - linear-gradient background

I need to a background with the following color:
background: linear-gradient(180deg, #005AFA 0%, #6400AF 100%);

Is it possible to do?

Thanks

sql-server-reporting-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Joyzhao-MSFT avatar image
0 Votes"
Joyzhao-MSFT answered Joyzhao-MSFT edited

Hi @markgoldin-3750
Gradient colors are only supported in chart and gauge report items.

As an alternative to using an image as a backgound, you can try creating a chart, set it's background to whatever gradient you want, hide all the chart elements so that you only see the gardient fill and use that chart as your report background.

You could also set the embedded image with linear gradient as the background image.

Best Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

markgoldin-3750 avatar image
0 Votes"
markgoldin-3750 answered markgoldin-3750 commented

Yes, I am trying to use a chart with a gradient background. I still have one problem. The area I am creating that background also needs to have a background image. I am adding it to the chart and it still works fine with one exception. I can't the background behind the image. Any idea?

Also when I an setting up chart's background I am using this CSS:
background: linear-gradient(180deg, #005AFA 0%, #6400AF 100%);
and my settings are:
116783-image.png

Doing this am I using 0% and 100% properly? What about 180deg? Am I taking this into consideration?

Thanks



image.png (6.3 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I suggest you initiate a new question in the forum.Please attach your current report style and draw out the report style you expect.This will help resolve your issue.

0 Votes 0 ·

What forum?

0 Votes 0 ·