# BulletChartProps (@salmonui/charts/chart/bullet)

> The BulletChartProps interface of @salmonui/charts/chart/bullet.

Canonical: https://salmonui.dev/docs/reference/charts/chart-bullet/BulletChartProps

```ts
import type { BulletChartProps } from '@salmonui/charts/chart/bullet';
```

Entry index: https://salmonui.dev/docs/reference/charts/chart-bullet (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/chart-bullet.md).

## Reference

Kind: interface

```ts
interface BulletChartProps extends Pick<ChartProps, 'title' | 'subtitle' | 'description' | 'locale' | 'timeZone' | 'width' | 'height' | 'className' | 'style' | 'accessibleTable' | 'showDataTable' | 'animated' | 'onPointClick' | 'exportWriters'> {
    readonly data: readonly ChartDatum[];
    readonly valueField: string;
    readonly targetField?: string | readonly string[] | undefined;
    readonly categoryField?: string | undefined;
    readonly bands?: readonly BulletBand[] | undefined;
    readonly targetShapes?: readonly ('line' | 'circle' | 'cross')[] | undefined;
    readonly valueShape?: 'bar' | 'dot' | undefined;
    readonly orientation?: 'horizontal' | 'vertical' | undefined;
    readonly axisPosition?: 'start' | 'end' | undefined;
    readonly min?: number | undefined;
    readonly max?: number | undefined;
    readonly interval?: number | undefined;
    readonly minorTicks?: number | undefined;
    readonly format?: ChartFormat | undefined;
    readonly labelPosition?: 'inside' | 'outside' | undefined;
    readonly tickPosition?: 'inside' | 'outside' | undefined;
    readonly labels?: boolean | {
        readonly format?: ChartFormat | undefined;
    } | undefined;
    readonly tooltip?: ChartProps['tooltip'];
    readonly legend?: boolean | BulletLegendOptions | undefined;
    readonly valueColor?: string | undefined;
    readonly targetColor?: string | undefined;
    readonly name?: string | undefined;
    readonly onItemClick?: ChartProps['onPointClick'];
    readonly text?: Partial<BulletChartText> | undefined;
    readonly ref?: ChartProps['ref'];
}
```

Members (39):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `data` | `readonly data: readonly ChartDatum[];` |  |  |
| `valueField` | `readonly valueField: string;` |  |  |
| `targetField` | `readonly targetField?: string \| readonly string[] \| undefined;` | optional |  |
| `categoryField` | `readonly categoryField?: string \| undefined;` | optional |  |
| `bands` | `readonly bands?: readonly BulletBand[] \| undefined;` | optional |  |
| `targetShapes` | `readonly targetShapes?: readonly ('line' \| 'circle' \| 'cross')[] \| undefined;` | optional |  |
| `valueShape` | `readonly valueShape?: 'bar' \| 'dot' \| undefined;` | optional | Feature glyph: a bar from zero, or a dot at the value. |
| `orientation` | `readonly orientation?: 'horizontal' \| 'vertical' \| undefined;` | optional |  |
| `axisPosition` | `readonly axisPosition?: 'start' \| 'end' \| undefined;` | optional |  |
| `min` | `readonly min?: number \| undefined;` | optional |  |
| `max` | `readonly max?: number \| undefined;` | optional |  |
| `interval` | `readonly interval?: number \| undefined;` | optional |  |
| `minorTicks` | `readonly minorTicks?: number \| undefined;` | optional |  |
| `format` | `readonly format?: ChartFormat \| undefined;` | optional |  |
| `labelPosition` | `readonly labelPosition?: 'inside' \| 'outside' \| undefined;` | optional |  |
| `tickPosition` | `readonly tickPosition?: 'inside' \| 'outside' \| undefined;` | optional | Tick marks inside or outside the plot; default follows `labelPosition`. |
| `labels` | `readonly labels?: boolean \| {     readonly format?: ChartFormat \| undefined; } \| undefined;` | optional |  |
| `tooltip` | `readonly tooltip?: ChartProps['tooltip'];` | optional |  |
| `legend` | `readonly legend?: boolean \| BulletLegendOptions \| undefined;` | optional | Legend of the value, the targets and the bands. Default off. |
| `valueColor` | `readonly valueColor?: string \| undefined;` | optional |  |
| `targetColor` | `readonly targetColor?: string \| undefined;` | optional |  |
| `name` | `readonly name?: string \| undefined;` | optional |  |
| `onItemClick` | `readonly onItemClick?: ChartProps['onPointClick'];` | optional |  |
| `text` | `readonly text?: Partial<BulletChartText> \| undefined;` | optional |  |
| `ref` | `readonly ref?: ChartProps['ref'];` | optional |  |
| `title` | `title?: string;` | optional, inherited |  |
| `subtitle` | `subtitle?: string;` | optional, inherited |  |
| `description` | `description?: string;` | optional, inherited |  |
| `onPointClick` | `onPointClick?: ((ctx: ChartPointContext, event: MouseEvent<Element, MouseEvent>) => void);` | optional, inherited |  |
| `accessibleTable` | `accessibleTable?: boolean;` | optional, inherited |  |
| `showDataTable` | `showDataTable?: boolean;` | optional, inherited |  |
| `animated` | `animated?: boolean;` | optional, inherited |  |
| `locale` | `locale?: string;` | optional, inherited |  |
| `timeZone` | `timeZone?: string;` | optional, inherited |  |
| `width` | `width?: number;` | optional, inherited |  |
| `height` | `height?: number;` | optional, inherited | Drawing height in px (default 300). |
| `className` | `className?: string;` | optional, inherited |  |
| `style` | `style?: CSSProperties;` | optional, inherited |  |
| `exportWriters` | `exportWriters?: VizExportWriters;` | optional, inherited | Loaders of the PDF and XLSX writers: dynamic imports of |
