Chart styling

The styling every chart shares: legend, axes, grid, title, value labels, categories, style, tooltip and colours, with every option explained.

10 min read

On this page

Every chart shares these options on the Style tab of the inspector. Each chart's own page lists which of them apply to it and adds its own options. "Automatic" means BankSync picks a value from the chart's size and data.

Legend#

The key that names each series or category and shows its colour.

OptionWhat it doesValuesNew charts start with
Show legendShow or hide the legend. It only appears when the chart has two or more series or categories.On or offAutomatic
Legend positionWhere the legend sits around the chart. Inline right writes each name at the end of its line instead, on line charts.Top, Right, Bottom, Left, Inline rightAutomatic
Legend titleA heading shown before the legend items, such as the name of the field.TextAutomatic
Legend title sizeText size of the legend title, in pixels.NumberAutomatic
Legend title colourColour of the legend title text.ColourAutomatic
Marker sizeSize of the coloured marker next to each legend item, in pixels.NumberAutomatic
Marker shapeShape of the legend markers. Circle and line are drawn as chosen; the other shapes show as squares.Circle, Square, Triangle, Diamond, LineAutomatic
Legend text sizeText size of the legend item names, in pixels.NumberAutomatic
Legend text colourColour of the legend item names.ColourAutomatic
Item spacingGap between legend items, in pixels.NumberAutomatic
Legend backgroundFill colour behind the legend block. Leave empty for no background.TextAutomatic
Legend border colourDraws an outline in this colour around the legend block.ColourAutomatic
Legend corner radiusRounds the corners of the legend background or border, in pixels. Has no effect without a background or border colour.NumberAutomatic
Maximum legend itemsShow at most this many items; the rest are summarised as "+N more". Useful when a chart has many categories.Whole number, 0 to 9007199254740991Automatic

Axes#

Titles, labels, ticks and grid lines for the x, y and right axes of charts that have axes. Each option can be set for the horizontal axis, the vertical axis and, on layered charts, the right-hand axis.

OptionWhat it doesValuesNew charts start with
Chart titleA title and subtitle drawn inside the chart, above the plot.TextAutomatic
Title paddingNumberAutomatic
Title font sizeNumberAutomatic
Title font weightNormal, Medium, Semibold, BoldAutomatic
Title colorColourAutomatic
Title anchorStart, Center, EndAutomatic
Slice labelsText written on or beside each slice: its name, value or share.On or offAutomatic
Label angleNumberAutomatic
Label limitNumberAutomatic
Label overlapNone, Parity, GreedyAutomatic
Label sizeText size of the labels, in pixels.NumberAutomatic
Label font weightNormal, Medium, Semibold, BoldAutomatic
Label colourColour of the label text. Leave empty for an automatic, readable colour.ColourAutomatic
Label paddingNumberAutomatic
TicksOn or offAutomatic
Tick countNumberAutomatic
Tick min stepNumberAutomatic
Tick sizeNumberAutomatic
Tick colorColourAutomatic
GridBackground lines across the plot that help you read values.On or offAutomatic
Grid colorColourAutomatic
Grid opacityNumber, 0 to 1Automatic
DomainOn or offAutomatic
Domain colorColourAutomatic
Number formatHow the number is written: currency, percent, decimals and locale.TextAutomatic
Format typeNumber, Time, Currency, Percent, CompactAutomatic
OrientTop, Bottom, Left, RightAutomatic
HiddenOn or offAutomatic

Grid#

Background lines across the plot that help you read values.

OptionWhat it doesValuesNew charts start with
Show gridMaster switch for grid lines. Turn off to remove every grid line.On or offAutomatic
Vertical grid linesDraw vertical lines at the x axis values. Off by default.On or offAutomatic
Horizontal grid linesDraw horizontal lines at the y axis values. On by default.On or offAutomatic
Grid colourColour of the grid lines.ColourAutomatic
Grid opacityHow strong the grid lines are, from 0 (invisible) to 1 (solid).Number, 0 to 1Automatic
Grid line widthThickness of the grid lines, in pixels.NumberAutomatic

Title#

A title and subtitle drawn inside the chart, above the plot.

OptionWhat it doesValuesNew charts start with
TitleThe title text drawn above the plot.TextAutomatic
SubtitleA smaller line of text under the title.TextAutomatic
Title alignmentPlace the title at the start, centre or end of the chart width.Start, Center, EndStart
Title sizeText size of the title, in pixels.NumberAutomatic
Title weightHow bold the title is.Normal, Medium, Semibold, BoldAutomatic
Title colourColour of the title text.ColourAutomatic
Subtitle sizeText size of the subtitle, in pixels.NumberAutomatic
Subtitle colourColour of the subtitle text.ColourAutomatic
Title spacingSpace between the title block and the plot, in pixels.NumberAutomatic

Padding#

Space around the chart, in pixels. Replaces the automatic spacing when set.

OptionWhat it doesValuesNew charts start with
Top paddingSpace above the chart, in pixels.NumberAutomatic
Right paddingSpace to the right of the chart, in pixels.NumberAutomatic
Bottom paddingSpace below the chart, in pixels.NumberAutomatic
Left paddingSpace to the left of the chart, in pixels.NumberAutomatic

Background#

A fill behind the chart. Leave empty to use the dashboard card’s surface.

OptionWhat it doesValuesNew charts start with
Background colourColour painted behind the whole chart.ColourAutomatic

Value labels#

Numbers written next to or inside the bars, points or slices.

OptionWhat it doesValuesNew charts start with
Show value labelsWrite each mark’s value on the chart. Labels that would overlap or leave the chart are dropped.On or offAutomatic
Label positionWhere labels sit. On bar charts, Inside and Center put the number inside the bar; other charts place labels automatically.Top, Bottom, Left, Right, Inside, Outside, Center, EndAutomatic
Label sizeText size of the value labels, in pixels.NumberAutomatic
Label weightHow bold the value labels are.Normal, Medium, Semibold, BoldAutomatic
Label colourColour of the value labels. Leave empty to pick black or white for contrast automatically.ColourAutomatic
Overlapping labelsWhat to do when labels collide: Hide drops one, Shift nudges it up first, Allow draws them all.Allow, Hide, ShiftAutomatic
Label backgroundDraws a rounded pill of this colour behind each label, for readability.TextAutomatic
Label pill paddingSpace inside the label background pill, in pixels.NumberAutomatic

Categories and labels#

How categories are chosen, ordered and named, and the handwritten callout on the sketch drawing styles.

OptionWhat it doesValuesNew charts start with
Maximum categoriesKeep the largest categories and fold the rest into "Other". Used by bar, pie and donut charts.Whole number, 2 to 50Automatic
Sort categoriesOrder categories by value, by label, or leave them as they come.None, Value, LabelAutomatic
Tidy labelsTurn machine-style names such as LOAN_PAYMENTS into readable text. Turn off to show values exactly as stored.On or offAutomatic
Callout pointWhich value the note points at: the highest, the lowest, a chart-chosen one, or none. Shown only in the hand-drawn look.Auto, Max, Min, NoneAutomatic
Callout textReplaces the default "highest" or "lowest" wording, up to 24 characters.Text, up to 24 charactersAutomatic

Style#

Fine-tuning for marks, animation and hover effects.

OptionWhat it doesValuesNew charts start with
Corner radiusRounds tile corners on treemaps that have no radius of their own, in pixels.NumberAutomatic
Line widthThickness of lines on line, area, radar, sparkline and combined charts, in pixels.NumberAutomatic
Fill opacityHow solid filled areas are on sparklines, from 0 (clear) to 1 (solid).NumberAutomatic
AnimatePlay the entry animation when the chart first draws or its data changes.On or offAutomatic
Animation lengthHow long the entry animation runs, in milliseconds. 0 turns it off.NumberAutomatic
Hide legendHide the legend, whatever the legend settings say.On or offAutomatic
Hover dimmingHow faint the other marks become while you hover one, from 0 (hidden) to 1 (no dimming).Number, 0 to 1Automatic

Tooltip#

The popup that shows the exact values when you hover over the chart.

OptionWhat it doesValuesNew charts start with
Show tooltipShow a popup with the exact values when you hover over a mark.On or offAutomatic

When there is no data#

What the chart shows when the data has no rows.

OptionWhat it doesValuesNew charts start with
Empty messageText shown in place of the chart when there is no data to draw.TextAutomatic
Empty iconAn emoji or icon shown above the empty message.TextAutomatic

Palette#

Colours for the series and categories. By default a chart follows the dashboard palette, set in the dashboard settings; see Theming for palettes and the Clean, Sketch and Doodle drawing styles.

OptionWhat it doesValuesNew charts start with
PaletteThe colours used for series and categories. Default follows the dashboard; you can also list your own colours.TextAutomatic

Use this page with your AI assistant

Every BankSync doc is available as plain Markdown for agents and LLMs.