How to change the background of a chart on a report?

Hi, how do you change the background color of a chart on a report? I'm using a pie chart, and I am willing to use CSS if needed.

Comments

  • There is not a native option to change this yet, so CSS needs to be used. You can change the color by inserting this into your CSS file:

    /* styles.css */

    .dpc-chart-container rect {

    fill: whatever_color_you_want;

    }

    You can specify whatever color you'd like. I'll also attach the documentation to adding CSS to your report on a page here: Using CSS on a Page - Configure Page (decisions.com)

Sign In or Register to comment.