How to Create Consistent Chart Colors at the Theme Level in Reports
Why Apply Consistent Chart Colors at the Theme Level in Reports
In Blue 9.9, administrators can define a default chart color palette directly within a User Theme. Any report using that theme automatically inherits its chart colors which:
- Eliminates the need to manually reconfigure chart colors for every new report.
- Ensures consistent visual branding across projects and reports.
When tailored branding is needed, report administrators retain full flexibility to select:
- A different theme for an individual report.
- Override chart colors at the report level when tailored branding is needed.
How to Configure Chart Colors in a User Theme (Administrator)
Step 1. Define the Shared Chart Color Palette
To establish a centralized chart color palette for all reports sharing a theme:
- Go to Admin > Configuration > User Theme.
- Select an existing theme to Edit (or create a new theme).
- Scroll to the Chart Colors section at the bottom of the page (below the Default Theme setting).
- Customize the color sequence:
- Modify a color: Select a color swatch to choose a new shade using the theme color picker or custom color palette.
- Add a color: Click Add color to append additional swatches to the sequence.
- Delete a color: Hover over or select a swatch and remove it.
- Reset to default: Click Reset to default at any time to restore Blue’s hardcoded system default palette.
- Click Save.
Note: Existing user themes are automatically populated with the system default chart colors upon upgrading to Blue 9.9 without requiring a manual resave.
Step 2. Apply and Manage Themes in Reports
By default, new reports automatically inherit the theme configured in the base project (Base Project > Settings > Content).
Selecting a Theme for a Specific Report
Report administrators can apply a different theme directly within an individual report without changing the base project's theme:
- Open the report and navigate to Info > Layout.
- In the Theme section, locate the Theme dropdown.
- The project’s default theme is indicated by (Project theme).
- Select a new theme from the dropdown list.
- In the confirmation dialog ("The next time the report is generated, the new theme style, logo, and chart colors will be used for existing and new reports. Are you sure you want to change the report theme?"), click Confirm.
Overriding Chart Colors at the Report Level
If a specific report requires unique colors:
- In Info > Layout > Theme, adjust the swatches under Chart Colors.
- These modifications are local to the report and do not modify the global User Theme.
- To discard local overrides and restore the theme's palette, click Reset to theme.
Key Behaviors & Things to Know
- Existing Reports: Existing reports retain their previously saved chart colors to ensure continuity. They will only adopt the theme's colors if you open the report and click Reset to theme.
- Generated Reports: Previously generated reports (static PDFs/views) are never retroactively modified. When regenerated, reports use their currently saved report layout colors (or the newly inherited theme colors if Reset to theme was selected).
- Color Priority Hierarchy:
- Group Element Custom Color: Any custom RGB color defined directly on a Group Element (Content > Group Elements) takes precedence.
- Report Chart Colors: Local overrides set in Info > Layout > Chart Colors.
- Theme Chart Colors: Inherited default colors defined in Admin > Configuration > User Theme.
- Assign a fixed color to a specific demographic or rate group (e.g., Faculty vs. Student) regardless of chart order. See Customize Report Block Colors for Groups Elements.