Meter

Bar against a target. What the meter is for, the data it needs and every option it has.

6 min read

On this page

Bar against a target. It sits in the Single value group of the widget library.

Example meter on a BankSync dashboard
An example meter drawn with sample data. Hover for values and switch between examples.

When to use it#

Use a meter to show one value as a bar along a scale, with an optional target marker and coloured ranges. It suits "how far are we towards the target" questions, such as spending this month against a budget, or an emergency fund against its goal.

When to pick something else#

  • Just a percent of a goal, as a ring? Use Progress.
  • A dial with zones? Use a Gauge.
  • Several items each against their own target? Use a Bullet chart.
  • The number and its trend? Use a KPI.

The data it needs#

Pick these in the Data tab of the inspector. BankSync suggests a column for each when your source has an obvious match.

FieldNeededPickNotes
ValueYesa number

Each row is drawn as it is, so shape the rows first if you need totals. See Shaping data.

Meter options#

Set these on the Style tab of the inspector. "Automatic" means BankSync picks a value from the chart's size and data.

OptionWhat it doesValuesNew charts start with
Value columnThe column the number comes from. Its values are added up into one number.Textvalue
TargetThe value the bar fills up to. It sets the end of the scale and is marked on the bar.Number100
OrientationLay the bar horizontally (the default) or vertically.Horizontal, VerticalAutomatic
Corner radiusRounds the ends of the bar, in pixels. Defaults to fully rounded.Number, 0 or moreAutomatic
Show valueWrite the current value next to the bar. On by default.On or offAutomatic
Show targetDraw a marker at the target on the bar. On by default.On or offAutomatic
Show scaleWrite the start and end values of the scale. On by default.On or offAutomatic

Needs history#

Show a note instead of the chart until the rows cover enough periods, so a first week never reads as a trend.

OptionWhat it doesValuesNew charts start with
Date fieldThe date column whose distinct periods are counted.TextAutomatic
PeriodWhat counts as one period: a day, week, month, quarter or year.Day, Week, Month, Quarter, YearAutomatic
Periods neededHow many distinct periods the rows must cover before the chart draws (2 to 60).Whole number, 2 to 60Automatic
Waiting messageShown until there is enough history. Leave empty for a message naming the periods.Text, up to 120 charactersAutomatic

Number format#

How the number is written: currency, percent, decimals and locale.

OptionWhat it doesValuesNew charts start with
FormatThe kind of number: plain, currency, percent, accounting, scientific, compact (1.2K), date, time or duration. Percent expects a fraction, so 0.25 shows 25%.Number, Currency, Percent, Accounting, Scientific, Compact, Date, Time, DurationAutomatic
LocaleLanguage and region for separators and symbols, such as en-US or en-AU. Defaults to en-US.TextAutomatic
CurrencyThree-letter currency code such as USD, AUD or EUR, or auto to use the currency most of the rows are in. Defaults to USD when neither this nor a currency column is set.TextAutomatic
Currency columnThe column that holds each row’s currency code, such as currency or isoCurrencyCode, for money in more than one currency. A total is shown in the currency most of its rows are in; when they mix currencies the code is written after the number, such as 1,234.50 AUD, and a KPI says the total adds different currencies. With no code in the rows, a plain number is shown rather than a guessed symbol.Text, up to 120 charactersAutomatic
Currency displayWrite the currency as its symbol, such as A$1,234.50 (the default), as its code after the number, such as 1,234.50 AUD, which reads the same in every country, or as the bare sign, such as $1,234.50. A dashboard whose money is all in its workspace’s currency uses the bare sign on its own.Symbol, Code, NarrowAutomatic
Decimal placesShow exactly this many digits after the decimal point.NumberAutomatic
SignWhen to show a plus or minus sign: automatically, always, for non-zero values only, or never.Auto, Always, Except zero, NeverAutomatic
Time zoneTime zone for date and time formats, such as Australia/Sydney. Leave empty for the viewer’s own.TextAutomatic

Colour bands#

Coloured ranges along the bar. The bar takes the colour of the band its value falls in. Add as many as you need; each one has:

OptionWhat it doesValuesNew charts start with
Ends atWhere this band ends, as a fraction of the target (0.8 is 80%). Each band starts where the previous one ended.Number, 0 or moreAutomatic
Band colourColour of this band, and of the bar when its value falls in the band.ColourAutomatic
Band nameOptional name shown under the bar and in the tooltip.TextAutomatic

Shared chart styling#

Every chart also has the shared styling options. These apply to this one:

Messy data#

  • All rows are added into one value by default; choose another summary for balances.
  • With no matching rows the meter shows 0, not an empty message, so check the source if a meter reads zero unexpectedly.
  • The target sets the end of the scale. Without one, the scale runs to 100, or to the value if it is larger.
  • A value past the end draws a full bar, shows the true figure and notes "over" the maximum; one below the start notes "under".

On a phone#

A horizontal meter fits a phone's width well. When the cell gets short, the scale numbers are hidden first so the bar and value keep their room.

Use this page with your AI assistant

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