BarStyleMarker

Visual style of a marker drawn on a bar-chart-style track or bar — used by Bullet Chart target markers and Range Bar value / reference markers.

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
ColorstringMarker colour. Defaults to the current text colour.'var(--ab-color-text)'
Shape'Line' | 'Triangle' | 'Dot' | 'Diamond'Marker shape.
SizenumberLine thickness (for Shape: 'Line') or shape size in px.

Property Details

Color

Marker colour. Defaults to the current text colour.

TypeScript
Color?: string;
Default Value

'var(--ab-color-text)'

Property Value

string

Shape

Marker shape.

TypeScript
Shape?: 'Line' | 'Triangle' | 'Dot' | 'Diamond';
Property Value

'Line' | 'Triangle' | 'Dot' | 'Diamond'

Size

Line thickness (for Shape: 'Line') or shape size in px.

TypeScript
Size?: number;
Property Value

number