ConradBI home

Home  /  How-to  /  Build visuals

Colors and Visual Defaults

Give every Online bar, every Revenue line and every title the same look across your project, and change it in one place.

The short version

  • A legend value keeps its color from visual to visual. The first time any visual draws Online, Online gets a color, and every visual uses it from then on.
  • Legend colours, beside a chart's legend settings, lets you pick a color for this visual alone, or lock it so every visual uses it.
  • A chart without a legend has a color of its own: a Bar Chart's Bar color, a line's Color, a card's Card color.
  • Visual Defaults, under OptionsProject settings…, sets the fonts, colors and borders every visual falls back on. A setting made on the visual itself always wins.
  • Fonts and borders open in a small window from the pencil button. Leave a setting empty to take the default.
Back to How-to guides
In this guide
  1. What it is
  2. Before you start
  3. How a visual picks a color
  4. Lock a legend color
  5. A chart's own colors
  6. Color by a calculation
  7. The color picker
  8. Visual Defaults
  9. Fonts and borders
  10. Take a title or a font from a variable
  11. When something goes wrong
  12. Reference: where each color is set

What it is

Color in ConradBI works at three levels:

  • The project remembers a color for every legend value it has drawn, such as Online and Store, so Online looks the same in every chart.
  • Each visual can choose its own colors: for a legend value, for its bars, for a line, for its cards.
  • Visual Defaults give every visual the same fonts, text colors, gridlines and borders, until a visual says otherwise.

You set most of it once and leave it. The colors, the defaults and the fonts all go out with a published visual, so a reader sees what you saw in ConradTool.

If you know Power BI, Visual Defaults play much the part of a report theme.

Before you start

You need a visual with a legend. This guide uses Revenue by Region from Choose a visual, with Sales · Channel picked as its legend field, so each region has an Online bar and a Store bar. It also uses the Sales Trend Multi Axis Line Graph, with Revenue on its left axis and Units on its right, and the Margin Card.

How a visual picks a color

Every legend value belongs to a field: Online and Store belong to Channel. When a visual draws a legend value, it takes the first color it finds in this order:

  1. A locked color. Locked for the project, it wins in every visual.
  2. The visual's own choice, made in its Legend colours list.
  3. The project's color for the value, given the first time any visual drew it.
  4. A new color from the palette: the first one no other value of that field has yet.

So the first chart that draws Online fixes its color, and every later chart follows, unless you choose otherwise.

The values that get project colors are a bar chart's legend values, pie and donut slices, a scatter plot's series, a stacked area's split values, and the measures named in a line graph's, stacked area's or Dynamic Visual's legend. A measure such as Revenue keeps one color across all of those.

The palette has 60 colors: the ten every chart starts with, then fifty more, each picked to stand as far as it can from the colors before it. A long legend's values stay apart instead of repeating the first ten.

Lock a legend color

  1. Open Visuals, then Revenue by Region, and open the Formatting tab.
  2. Scroll to the Legend group. Under Position and Legend font, the Legend colours list shows Online and Store, each in the color it was drawn in, with a color picker and a lock.
  3. Pick a new color in the picker beside Online. The Online bars change in this chart only.
  4. Click the lock beside Online. Its tooltip reads "Lock this colour for 'Online' in every visual that shows it." Every visual that shows Online now uses that color, the ones you built before included.
  5. Press Ctrl+S to save.

To lock every value in the list at once, click Lock all above it. When every value is locked, the button reads Unlock all.

Unlocking lets each visual choose its own color again, and the value keeps the color it had. A locked color wins over a visual's own choice, so to change one, unlock it, pick the new color, and lock it again.

The list shows only when the chart has drawn legend values. On a Bar Chart that means a legend field on the Fields tab. The Pie Chart, Donut Chart, Multi Axis Line Graph, Stacked Area Chart, Scatter Plot and Dynamic Visual have the same list beside their legend settings.

A chart's own colors

Bar Chart: Bar color

With no legend field, a Bar Chart draws every bar in one color: Bar color, in the Layout group of the Formatting tab. It colors the value axis's numbers too. Left empty, it uses the palette's first color.

With a legend field, Bar color isn't used. Each legend value takes its own color, and the axis numbers turn gray, since the bars no longer share one color.

Multi Axis Line Graph: a color per value

Each value in Left Values and Right Values, on the Fields tab, has a Color: its line, its axis and its swatch in the legend. Left at (default), the line takes the project's color for that measure, so Revenue is the same color in every line graph, stacked area and Dynamic Visual.

The Legend colours list sits in the Left Values group, under Legend. Picking a color there sets the value's Color, and its lock works as on any legend. Each axis's numbers always take their line's color, so you can tell which axis belongs to which line.

Card: card, frame and text

Setting Where What it colors
Card color Formatting, Layout Each card's background. Left empty, the cards show the visual's own background
Each card Formatting, Card Border Each card's frame: its width, color and corner radius. With nothing set, every card keeps a thin rounded frame in the project's default border color
Fact font, Category font Formatting, Fonts The figure and the card's name: font, style and color. There is no size: the text grows and shrinks with the card

Color by a calculation

A Bar Chart, Pie Chart, Multi Axis Line Graph or Card can color each of its points by a rule. Open the visual's Color tab and write one DAR-C calculation. It runs for every bar, slice, line or card and returns the color as text: a name such as Red, or a hex value such as #1F77B4. Return [DEFAULT COLOR] to keep the color the point would have had. [Query].[VALUE] is the point's figure.

Text
Compute(CASE WHEN [Query].[VALUE] < 0 THEN "Red" ELSE [DEFAULT COLOR] END).Return();

Any DAR-C goes before the Compute, so a bar can be colored against the whole chart's average, or a card against last year. Leave the calculation empty and the visual colors itself as before. The rule runs wherever the visual is drawn: in its editor, on an Interactive Report, and in the viewers. See DAR-C for the language.

The color picker

Every color box in a visual opens the same picker. It offers the Standard colors, a box for a hex code such as #1F77B4, None to empty the box, and Custom… for the Windows color dialog. An empty box reads (default): the visual then takes the color it would have had anyway, such as the palette's or the project's.

Visual Defaults

Visual Defaults are what every visual in the project falls back on while its own setting is empty: the title's font, the labels' fonts and color, the gridlines, the background and the outer border. Set them once, and every chart, table and card follows.

  1. Open OptionsProject settings….
  2. Pick Visual Defaults in the list on the left.
  3. Each row has a Field and its Default value. Pick a font from the list, pick a color, or type a number, as the row asks.
  4. Click Close. Project settings save as you make them.
Field Starts as What it covers
Title Font Name, Title Font Size, Title Color Segoe UI, 16, black A visual's title. A new Text Block takes its size and color from these too
Label Font Name, Label Font Size, Label Color Segoe UI, 11, dark gray The text a chart is read by: its axes and categories. A legend's text takes the Label Color
Legend Font Name, Legend Font Size Segoe UI, 11 A legend's text
Value Label Font Name, Value Label Font Size, Value Label Color Segoe UI, 11, empty The figures on bars, lines, slices and points, and a card's figure. An empty color means each series' own color
Gridline Color, Axis Line Color Light gray The gridlines inside a chart, and its frame and axis lines
Line Thickness, Point Size 2, 7 A chart's lines and its points
Visual Background Empty What a visual is drawn on. Empty means the theme's
Table Header Background, Table Grid Line Color Light blue-gray The headers and grid lines of a Table, a Matrix and a Paginated Report
Border Width, Border Color, Border Corner Radius, Border Padding 0, light gray, 0, 0 The outer border. A width of 0 draws no line

The visual's own setting wins

A default applies only while the visual leaves that setting empty. Type 14 as a chart's title size, and that chart keeps 14 whatever the default says. Empty it again, and the chart goes back to the default.

Settings that always hold a value, such as Bold, Italic or a title's Alignment, have no default. The list of fields is fixed: you change the values, not the fields.

Defaults travel with the visual

When you publish a visual, the project's Visual Defaults go with it, as they are at that moment, so the web and desktop viewers draw it as ConradTool did. After you change a default, publish the visuals again. The same goes for legend colors.

Fonts and borders

On the Formatting tab, each font reads as one line, such as Title font or Axis font: what it is set to, with "default" wherever a setting is empty, and a pencil button beside it. The pencil opens the Font window:

  • Font name and Font size, picked from the list or typed.
  • Style: Bold, Italic, and Underline on a title.
  • Color.

Leave a setting empty to take the project's Visual Defaults for it. The chart changes as you edit. OK keeps the changes, and Cancel puts every value back.

The Outer Border group works the same way. Its pencil opens the Outer border window: Width in pixels, where 0 draws no line, Color, Corner radius, and Padding, the room kept between the border and what is drawn inside it. The Matrix and the Table show these four fields straight on their Formatting tab.

Take a title or a font from a variable

A few formatting fields can read their value from an environment variable instead of what you type: a title's Text, a check box such as Show the value on each bar, and every setting in the Font window. Each has a small globe button beside it, Bind to an environment variable.

Use it for a value many visuals share, such as a company name in every title or a brand color in every title font.

  1. On Revenue by Region's Formatting tab, click the globe beside the title's Text.
  2. Point to Variables and pick a variable. Or pick New Variable…, type a name under New variable name, and click Create.
  3. The globe turns blue, and the field shows the variable's value. Rest the pointer on the globe to see its value in every environment. Edit in Environments… takes you to where the values are set.

Unbind Variable, in the same menu, turns the field back into a plain setting and keeps the value it shows.

ConradTool shows the value the variable has in Development, the environment the tool works in. A published visual carries the values as they were when you published it.

Bar color, Card color, the Legend colours list and the border colors take a color you pick, never a variable.

When something goes wrong

What you see What to do
Online is one color in one chart and another color in the next One chart has a choice of its own for Online. Lock Online's color, or open that chart's picker for Online and click None to drop its choice
You pick a color in Legend colours and the chart doesn't change The value is locked, and a locked color wins. Unlock it, pick the color, and lock it again
There is no Legend colours list The chart draws no legend values. On a Bar Chart, pick a legend field on the Fields tab first
Bar color changes nothing The chart has a legend field, so each legend value takes its own color
The value axis's numbers are gray The chart has a legend field, so its bars have many colors
A new Visual Default doesn't show on one chart That chart sets the value itself. Empty the setting on the chart, in the Font or Outer border window, to take the default
No outer border shows Border Width starts at 0. Give the border a width on the visual, or in Visual Defaults for every visual
A viewer shows the old colors, fonts or title Publish the visual again. Defaults, legend colors and variable values go out as they were when you published
A Card's Font window has no size A card's text grows and shrinks with the card. Use Card sizing on the Formatting tab

Reference: where each color is set

To color Use Where
A legend value in one chart Its picker in Legend colours The chart's legend settings
A legend value in every chart Its lock in Legend colours, or Lock all The chart's legend settings
A Bar Chart's bars, with no legend Bar color Formatting, Layout
A line and its axis The value's Color Fields, Left Values or Right Values
A card's background and frame Card color, Each card Formatting, Layout and Card Border
A bar, slice, line or card by a rule A DAR-C calculation returning the color, or [DEFAULT COLOR] The Color tab
A title, labels, values or a legend's text The Font window's Color Formatting, the pencil beside the font
The same for every visual Title Color, Label Color, Value Label Color Visual Defaults
Gridlines, axis lines, background, table headers Gridline Color, Axis Line Color, Visual Background, Table Header Background Visual Defaults
An outer border The Outer border window's Color, or Border Color Formatting, or Visual Defaults

Missing something?

Tell us what you were trying to do and what this guide didn't answer. We update it with every release.

Write to us

What changed in this guide

  • November 21, 2026: Reviewed against ConradBI 1.2.59.
  • October 31, 2026: First edition, written for ConradBI 1.2.52.