---
id: "packages/active-charts/all-exports/value-semantics"
title: "ChartValueSemantics"
description: "ChartValueSemantics: generated from the source of active-charts."
url: "/packages/active-charts/all-exports/value-semantics"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:value-semantics"
---

# ChartValueSemantics

Exported by `@workspace/active-charts`. Generated from the package source; part of [the index of every export](/packages/active-charts/all-exports).

## Types

**ChartValueSemantics**

```ts
type ChartValueSemantics =
  | {
      kind: 'number';
      format?: NumberFormat;
    }
  | {
      kind: 'count';
    }
  | {
      kind: 'money';
      currency: string;
      decimals?: number;
    }
  | {
      kind: 'price';
      currency: string;
      decimals: number;
    }
  | {
      kind: 'percent';
      source: 'fraction' | 'percentage-points';
      preset?: PercentFormat;
    };
```

What a numeric chart value means, declared once.

Every variant carries its identity (the discriminating `kind`, plus the
currency where relevant) and its precision as **separate** properties.
