BulletChartStyle
Style used to display a Bullet Chart in a Styled Column.
A Bullet Chart shows three things in a single cell: 1. the actual cell value, as a horizontal bar (the "feature measure") 2. a target value, as a marker on the bar (the "comparative measure") 3. optional qualitative bands behind the bar (e.g. poor / ok / good), defined via the inherited CellRanges property
Note: Unlike PercentBarStyle.CellRanges (which colour the bar based on the cell value), BulletChartStyle.CellRanges colour the background bands and are drawn unconditionally to provide the qualitative scale.
export interface BulletChartStyle extendsExtends
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| BackColor | string | Background colour for the chart area when no CellRanges are supplied. | |
| Bar | BulletChartBarProperties | Visual properties of the actual (foreground) bar — colour and thickness. | |
| CellTextProperties | BarStyleCellTextProperties | Optional cell-text overlay configuration. | |
| Font | CellFontStyle | Optional cell-text styling (colour, weight, font, alignment, …) applied by the Bullet Chart renderer to the optional CellText overlay. | |
| Orientation | 'Horizontal' | 'Vertical' | Orientation of the chart. | 'Horizontal' |
| Origin | 'Auto' | 'Zero' | number | Origin of the actual bar. | 'Auto' |
| TargetProperties | BulletChartTargetProperties | Target value(s) rendered as marker(s) on the bar, plus the chart-level default marker style. Per-target overrides are possible via the object form. | |
| ToolTipText | CellTextOptions | Tooltip content - same tokens ('CellValue', 'PercentageValue') as Percent Bar. |
Property Details
BackColor
Background colour for the chart area when no CellRanges are supplied.
BackColor?: string;Property Value
string
Bar
Visual properties of the actual (foreground) bar — colour and thickness.
Bar?: BulletChartBarProperties;Property Value
CellTextProperties
Optional cell-text overlay configuration.
CellTextProperties?: BarStyleCellTextProperties;Property Value
Font
Optional cell-text styling (colour, weight, font, alignment, …) applied by the Bullet Chart renderer to the optional CellText overlay.
When set, this property "claims" the Font slice for the column: any Format Column matching this column has its Font properties stripped. When unset, Format Column Font properties inherit through normally.
Font?: CellFontStyle;Property Value
Orientation
Orientation of the chart.
'Horizontal'(default) - bands and bar run left-to-right; markers are vertical lines / shapes positioned along the x-axis. -'Vertical'- bands and bar run bottom-to-top; markers are horizontal lines / shapes positioned along the y-axis.
Note: vertical bullet charts need a tall row height to be readable (we recommend at least 60px). AG Grid row height is a per-grid setting (gridOptions.rowHeight or getRowHeight).
Orientation?: 'Horizontal' | 'Vertical';Default Value
'Horizontal'
Property Value
'Horizontal' | 'Vertical'
Origin
Origin of the actual bar.
'Auto'(default) - the bar grows from the left edge unless any cell value or range endpoint is negative, in which case it grows from0-'Zero'- the bar always grows from0(centred axis); positive values extend right, negative values extend left - any number - the bar grows from that fixed origin
Origin?: 'Auto' | 'Zero' | number;Default Value
'Auto'
Property Value
'Auto' | 'Zero' | number
TargetProperties
Target value(s) rendered as marker(s) on the bar, plus the chart-level default marker style. Per-target overrides are possible via the object form.
TargetProperties?: BulletChartTargetProperties;Property Value
ToolTipText
Tooltip content - same tokens ('CellValue', 'PercentageValue') as Percent Bar.
ToolTipText?: CellTextOptions;