@factorialco/f0-react 6.1.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3908,6 +3908,14 @@ declare const defaultTranslations: {
3908
3908
  readonly title: "No data available";
3909
3909
  readonly description: "Try a different date or fewer filters";
3910
3910
  };
3911
+ readonly tooltip: {
3912
+ readonly ofTotal: "of total";
3913
+ readonly total: "total";
3914
+ readonly target: "target";
3915
+ readonly ofRange: "of range";
3916
+ readonly fromPrevious: "from previous";
3917
+ readonly fromStage: "from {{stage}}";
3918
+ };
3911
3919
  };
3912
3920
  readonly progressSeries: {
3913
3921
  readonly noData: "No data";
@@ -1,10 +1,10 @@
1
- import { W as mc, X as yi, Y as hc, Z as pc, _ as gc, $ as bc, a0 as vc, a1 as wi, a2 as qn, a3 as Nn, a4 as xc, a5 as he, a6 as jt, u as se, a7 as yc, a8 as wc, a9 as Fo, aa as dr, ab as En, ac as Ye, ad as Nc, ae as Cc, U as ye, z as Ic, A as kc, af as Ne, ag as Ma, J as Sc, B as Tc, m as Ae, ah as Cr, S as te, ai as rn, aj as Rc, ak as Ec, al as Lc, am as zc, an as Ac, ao as xt, ap as Oa, aq as Da, ar as on, as as $t, at as Fc, e as Ba, au as tn, av as _a, aw as Bn, w as nt, r as $e, y as ur, t as Po, v as Mo, ax as Ut, ay as fr, az as $a, x as Oo, aA as Ha, aB as Pc, aC as Wa, aD as Ge, s as rt, aE as Do, aF as Ur, aG as Ir, aH as Ni, aI as Mc, aJ as it, aK as ja, aL as lo, aM as _n, aN as $n, aO as Oc, aP as Dc, aQ as Ht, aR as kr, aS as Bc, aT as _c, aU as $c, aV as Hc, aW as Sr, aX as Ua, j as Va, aY as Wc, aZ as jc, k as mr, a_ as Ga, a$ as Uc, b0 as Vc, b1 as Gc, b2 as Kc, b3 as qc, b4 as co, b5 as Ka, b6 as qa, b7 as Yc, b8 as Xc, b9 as Jc, ba as Ya, bb as Qc, bc as uo, bd as Xa, be as Zc, bf as Tr, bg as Ci, bh as ed, bi as td, bj as nd, bk as vn, bl as rd, bm as od, bn as kn, bo as Ii, bp as fo, bq as id, br as ad, b as Ja, bs as sd, a as ld, bt as Rr, bu as cd, g as dd, F as ud, bv as Qa, bw as fd, o as Bo, bx as md, by as _o, bz as an, H as hd, bA as pd, bB as gd, bC as bd, bD as Za, bE as vd, bF as xd, bG as yd, bH as mo, bI as wd, bJ as Nd, bK as Cd, bL as Id, bM as kd, bN as Sd, bO as Td, bP as ho, l as Er, bQ as $o, N as po, O as go, bR as Rd, bS as Ed, bT as Ld, bU as es, bV as ts, bW as ns, bX as zd, bY as Ad, bZ as Fd, b_ as Pd, b$ as Md, c0 as rs, c1 as Od, c2 as Dd, c3 as os, c4 as Bd, c5 as _d, c6 as $d, n as Hd, c7 as Wd, c8 as is, Q as jd, R as Ud, c9 as as, ca as ss, cb as ls, cc as Vd, cd as ki, ce as cs, cf as Gd, cg as Kd, ch as qd, ci as Yd, cj as Xd, ck as Jd, cl as Qd, cm as Zd, cn as eu, co as Mt, cp as Ho, cq as Wo, cr as ds, cs as jo, ct as us, cu as fs, cv as tu, cw as nu, cx as ru, cy as ou, cz as iu, cA as au, cB as su, cC as Si, cD as lu, cE as cu, cF as Ti, cG as du, cH as uu, cI as fu, cJ as mu, cK as ms, cL as hu, cM as pu } from "./F0CanvasPanel-W66eCV0Y.js";
2
- import { cX as l1, cW as c1, d7 as d1, cT as u1, cU as f1, cN as m1, cO as h1, cO as p1, cP as g1, cQ as b1, da as v1, cV as x1, d3 as y1, d4 as w1, d8 as N1, cR as C1, cZ as I1, cY as k1, T as S1, h as T1, d5 as R1, db as E1, d6 as L1, d9 as z1, d2 as A1, c$ as F1, d1 as P1, c_ as M1, cS as O1, d0 as D1 } from "./F0CanvasPanel-W66eCV0Y.js";
1
+ import { W as mc, X as yi, Y as hc, Z as pc, _ as gc, $ as bc, a0 as vc, a1 as wi, a2 as qn, a3 as Nn, a4 as xc, a5 as he, a6 as jt, u as se, a7 as yc, a8 as wc, a9 as Fo, aa as dr, ab as En, ac as Ye, ad as Nc, ae as Cc, U as ye, z as Ic, A as kc, af as Ne, ag as Ma, J as Sc, B as Tc, m as Ae, ah as Cr, S as te, ai as rn, aj as Rc, ak as Ec, al as Lc, am as zc, an as Ac, ao as xt, ap as Oa, aq as Da, ar as on, as as $t, at as Fc, e as Ba, au as tn, av as _a, aw as Bn, w as nt, r as $e, y as ur, t as Po, v as Mo, ax as Ut, ay as fr, az as $a, x as Oo, aA as Ha, aB as Pc, aC as Wa, aD as Ge, s as rt, aE as Do, aF as Ur, aG as Ir, aH as Ni, aI as Mc, aJ as it, aK as ja, aL as lo, aM as _n, aN as $n, aO as Oc, aP as Dc, aQ as Ht, aR as kr, aS as Bc, aT as _c, aU as $c, aV as Hc, aW as Sr, aX as Ua, j as Va, aY as Wc, aZ as jc, k as mr, a_ as Ga, a$ as Uc, b0 as Vc, b1 as Gc, b2 as Kc, b3 as qc, b4 as co, b5 as Ka, b6 as qa, b7 as Yc, b8 as Xc, b9 as Jc, ba as Ya, bb as Qc, bc as uo, bd as Xa, be as Zc, bf as Tr, bg as Ci, bh as ed, bi as td, bj as nd, bk as vn, bl as rd, bm as od, bn as kn, bo as Ii, bp as fo, bq as id, br as ad, b as Ja, bs as sd, a as ld, bt as Rr, bu as cd, g as dd, F as ud, bv as Qa, bw as fd, o as Bo, bx as md, by as _o, bz as an, H as hd, bA as pd, bB as gd, bC as bd, bD as Za, bE as vd, bF as xd, bG as yd, bH as mo, bI as wd, bJ as Nd, bK as Cd, bL as Id, bM as kd, bN as Sd, bO as Td, bP as ho, l as Er, bQ as $o, N as po, O as go, bR as Rd, bS as Ed, bT as Ld, bU as es, bV as ts, bW as ns, bX as zd, bY as Ad, bZ as Fd, b_ as Pd, b$ as Md, c0 as rs, c1 as Od, c2 as Dd, c3 as os, c4 as Bd, c5 as _d, c6 as $d, n as Hd, c7 as Wd, c8 as is, Q as jd, R as Ud, c9 as as, ca as ss, cb as ls, cc as Vd, cd as ki, ce as cs, cf as Gd, cg as Kd, ch as qd, ci as Yd, cj as Xd, ck as Jd, cl as Qd, cm as Zd, cn as eu, co as Mt, cp as Ho, cq as Wo, cr as ds, cs as jo, ct as us, cu as fs, cv as tu, cw as nu, cx as ru, cy as ou, cz as iu, cA as au, cB as su, cC as Si, cD as lu, cE as cu, cF as Ti, cG as du, cH as uu, cI as fu, cJ as mu, cK as ms, cL as hu, cM as pu } from "./F0CanvasPanel-wwIjnpaw.js";
2
+ import { cX as l1, cW as c1, d7 as d1, cT as u1, cU as f1, cN as m1, cO as h1, cO as p1, cP as g1, cQ as b1, da as v1, cV as x1, d3 as y1, d4 as w1, d8 as N1, cR as C1, cZ as I1, cY as k1, T as S1, h as T1, d5 as R1, db as E1, d6 as L1, d9 as z1, d2 as A1, c$ as F1, d1 as P1, c_ as M1, cS as O1, d0 as D1 } from "./F0CanvasPanel-wwIjnpaw.js";
3
3
  import { jsx as n, jsxs as h, Fragment as Fe } from "react/jsx-runtime";
4
4
  import Y, { forwardRef as Oe, useRef as O, useTransition as gu, useState as B, useLayoutEffect as Hn, useId as Ln, useContext as zt, createContext as ht, useEffect as q, useCallback as U, useMemo as de, Fragment as _t, isValidElement as bu, cloneElement as hs, Suspense as Lr, lazy as sn, createElement as or, memo as ps, Children as gs } from "react";
5
5
  import { d as k, T as vu, a as xu, b as yu, f as qe, c as wu, u as Nu } from "./tooltip-Cik7KBQT.js";
6
- import { C as Cu, P as Iu, E as ku, a as Uo, b as Wn, M as Su, p as Tu, c as Ru, R as Ri, e as bs, u as Eu, f as Lu, g as zu, h as Au, i as Fu, j as Pu, O as vs, k as xs, S as Mu, A as Ou, B as Du, L as Bu, l as _u, V as $u, m as Hu, n as Wu, o as ju } from "./index-DU8BTxcj.js";
7
- import { a5 as _1, a6 as $1, v as H1, w as W1, s as j1, N as U1, x as V1, H as G1, ag as K1, K as q1, t as Y1, a3 as X1, ai as J1, ah as Q1, X as Z1, al as ey, F as ty, a0 as ny, Z as ry, T as oy, an as iy, U as ay, a1 as sy, a2 as ly, y as cy, aj as dy, ak as uy, W as fy, a4 as my, ad as hy, af as py, z as gy, G as by, I as vy, _ as xy, am as yy, $ as wy, Y as Ny, ao as Cy, D as Iy, J as ky, q as Sy, r as Ty, a9 as Ry, aa as Ey, a7 as Ly, ae as zy, Q as Ay, ab as Fy, a8 as Py, ac as My } from "./index-DU8BTxcj.js";
6
+ import { C as Cu, P as Iu, E as ku, a as Uo, b as Wn, M as Su, p as Tu, c as Ru, R as Ri, e as bs, u as Eu, f as Lu, g as zu, h as Au, i as Fu, j as Pu, O as vs, k as xs, S as Mu, A as Ou, B as Du, L as Bu, l as _u, V as $u, m as Hu, n as Wu, o as ju } from "./index-DBnT4nT6.js";
7
+ import { a5 as _1, a6 as $1, v as H1, w as W1, s as j1, N as U1, x as V1, H as G1, ag as K1, K as q1, t as Y1, a3 as X1, ai as J1, ah as Q1, X as Z1, al as ey, F as ty, a0 as ny, Z as ry, T as oy, an as iy, U as ay, a1 as sy, a2 as ly, y as cy, aj as dy, ak as uy, W as fy, a4 as my, ad as hy, af as py, z as gy, G as by, I as vy, _ as xy, am as yy, $ as wy, Y as Ny, ao as Cy, D as Iy, J as ky, q as Sy, r as Ty, a9 as Ry, aa as Ey, a7 as Ly, ae as zy, Q as Ay, ab as Fy, a8 as Py, ac as My } from "./index-DBnT4nT6.js";
8
8
  import Uu from "react-dom";
9
9
  const Vu = mc("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -7911,7 +7911,7 @@ const ul = () => Vt(rl, "useChatJump"), Zh = () => Vt(ol, "useChatHighlightedId"
7911
7911
  }, Mr = (e, t) => {
7912
7912
  const r = document.createElement("a");
7913
7913
  r.href = e, r.download = t, r.rel = "noreferrer", r.click();
7914
- }, rp = sn(() => import("./ChatPdfThumbnail-BQYptujt.js")), op = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), ip = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), ap = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), sp = 288, lp = 160, cp = (e) => {
7914
+ }, rp = sn(() => import("./ChatPdfThumbnail-DpcaTJ7y.js")), op = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), ip = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), ap = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), sp = 288, lp = 160, cp = (e) => {
7915
7915
  const [t, r] = B(!1);
7916
7916
  return q(() => {
7917
7917
  const o = e.current;
@@ -9954,7 +9954,7 @@ const Tp = {
9954
9954
  ] })
9955
9955
  ] }) });
9956
9956
  }, _p = sn(
9957
- () => import("./index-DzNPlwUX.js").then((e) => e.i).then((e) => ({
9957
+ () => import("./index-BHEoqrq3.js").then((e) => e.i).then((e) => ({
9958
9958
  default: e.F0PdfViewer
9959
9959
  }))
9960
9960
  ), $p = () => {
@@ -14231,7 +14231,7 @@ const Lb = (e) => {
14231
14231
  )
14232
14232
  ] });
14233
14233
  }, Hb = sn(
14234
- () => import("./index-BBUAtI0e.js").then((e) => ({
14234
+ () => import("./index-Bs1YsLbk.js").then((e) => ({
14235
14235
  default: e.F0VideoPlayer
14236
14236
  }))
14237
14237
  ), Wb = ({
package/dist/f0.d.ts CHANGED
@@ -2695,10 +2695,19 @@ declare interface ChartConfigBase {
2695
2695
  showLegend?: boolean;
2696
2696
  /** Show background grid lines. @default true */
2697
2697
  showGrid?: boolean;
2698
- /** Show value labels on each data point. @default false */
2698
+ /**
2699
+ * Show value labels on each data point.
2700
+ * @default true for bar charts, false otherwise
2701
+ */
2699
2702
  showLabels?: boolean;
2700
2703
  /** Format the value axis tick labels */
2701
2704
  valueFormatter?: (value: number) => string;
2705
+ /**
2706
+ * Format the value shown in the hover tooltip. Defaults to
2707
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
2708
+ * while the tooltip carries the exact figure.
2709
+ */
2710
+ tooltipValueFormatter?: (value: number) => string;
2702
2711
  /** Format category axis tick labels */
2703
2712
  categoryFormatter?: (value: string) => string;
2704
2713
  }
@@ -2745,8 +2754,27 @@ declare interface ChartThemeColors {
2745
2754
  border: string;
2746
2755
  /** Tooltip background color (CSS rgba string) */
2747
2756
  tooltipBackground: string;
2748
- /** Chart container background — used when chart needs to know its own bg */
2757
+ /** Page-level background token for the active mode */
2749
2758
  background: string;
2759
+ /**
2760
+ * The color actually painted behind the chart — the nearest ancestor with a
2761
+ * non-transparent background, falling back to {@link background}. Use this
2762
+ * when a chart needs to blend into its own surface (a tinted card, a modal)
2763
+ * rather than into the page.
2764
+ *
2765
+ * Always set by {@link resolveChartTheme}; optional only so that themes built
2766
+ * by hand (test fixtures, consumer overrides) keep compiling — read it as
2767
+ * `containerBackground ?? background`.
2768
+ */
2769
+ containerBackground?: string;
2770
+ /**
2771
+ * Positive delta text (e.g. tooltip "+x% from previous"). Resolves from
2772
+ * --positive-70. Optional so a hand-built theme stays valid — tooltip rows
2773
+ * fall back to `foreground` when it is absent.
2774
+ */
2775
+ positive?: string;
2776
+ /** Negative delta text. Resolves from --critical-70. Optional, as `positive`. */
2777
+ critical?: string;
2750
2778
  }
2751
2779
 
2752
2780
  /** Typography configuration */
@@ -5168,6 +5196,14 @@ export declare const defaultTranslations: {
5168
5196
  readonly title: "No data available";
5169
5197
  readonly description: "Try a different date or fewer filters";
5170
5198
  };
5199
+ readonly tooltip: {
5200
+ readonly ofTotal: "of total";
5201
+ readonly total: "total";
5202
+ readonly target: "target";
5203
+ readonly ofRange: "of range";
5204
+ readonly fromPrevious: "from previous";
5205
+ readonly fromStage: "from {{stage}}";
5206
+ };
5171
5207
  };
5172
5208
  readonly progressSeries: {
5173
5209
  readonly noData: "No data";
@@ -8386,8 +8422,10 @@ export declare interface F0DataChartBarProps extends F0DataChartBaseProps {
8386
8422
  labelFontSize?: number;
8387
8423
  /**
8388
8424
  * Formatter for the values shown in the hover tooltip. Defaults to
8389
- * {@link F0DataChartBaseProps.valueFormatter}; set it to show precise values
8390
- * (e.g. "107,505") while the axis and labels stay compact ("107.5K").
8425
+ * {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
8426
+ * axis reads the same on hover, then to a plain localized number. Set it when
8427
+ * the axis has to stay compact ("107.5K") but the tooltip should be exact
8428
+ * ("107,505").
8391
8429
  */
8392
8430
  tooltipValueFormatter?: (value: number) => string;
8393
8431
  }
@@ -8497,6 +8535,13 @@ export declare interface F0DataChartFunnelProps extends F0DataChartCommonProps {
8497
8535
  showConversion?: boolean;
8498
8536
  /** Format the value displayed in labels and tooltip */
8499
8537
  valueFormatter?: (value: number) => string;
8538
+ /**
8539
+ * Formatter for the value shown in the hover tooltip. Defaults to
8540
+ * {@link valueFormatter}, so a unit or a currency on the labels reads the same
8541
+ * on hover, then to a plain localized number. Set it when the labels have to
8542
+ * stay compact ("107.5K") but the tooltip should be exact ("107,505").
8543
+ */
8544
+ tooltipValueFormatter?: (value: number) => string;
8500
8545
  /**
8501
8546
  * Map stage colors to their values using a gradient scale (light→dark).
8502
8547
  * When enabled, higher values get a more intense color. @default true
@@ -8540,6 +8585,13 @@ export declare interface F0DataChartGaugeProps extends F0DataChartCommonProps {
8540
8585
  showValue?: boolean;
8541
8586
  /** Format the value displayed */
8542
8587
  valueFormatter?: (value: number) => string;
8588
+ /**
8589
+ * Formatter for the value shown in the hover tooltip. Defaults to
8590
+ * {@link valueFormatter}, so a unit or a currency on the labels reads the same
8591
+ * on hover, then to a plain localized number. Set it when the labels have to
8592
+ * stay compact ("107.5K") but the tooltip should be exact ("107,505").
8593
+ */
8594
+ tooltipValueFormatter?: (value: number) => string;
8543
8595
  /** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
8544
8596
  echartsOptions?: Partial<echarts_2.EChartsOption>;
8545
8597
  }
@@ -8570,6 +8622,13 @@ export declare interface F0DataChartHeatmapProps extends F0DataChartCommonProps
8570
8622
  showVisualMap?: boolean;
8571
8623
  /** Format values in labels and tooltip */
8572
8624
  valueFormatter?: (value: number) => string;
8625
+ /**
8626
+ * Formatter for the value shown in the hover tooltip. Defaults to
8627
+ * {@link valueFormatter}, so a unit or a currency on the labels reads the same
8628
+ * on hover, then to a plain localized number. Set it when the labels have to
8629
+ * stay compact ("107.5K") but the tooltip should be exact ("107,505").
8630
+ */
8631
+ tooltipValueFormatter?: (value: number) => string;
8573
8632
  /** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
8574
8633
  echartsOptions?: Partial<echarts_2.EChartsOption>;
8575
8634
  }
@@ -8596,6 +8655,14 @@ export declare interface F0DataChartLineProps extends F0DataChartBaseProps {
8596
8655
  showArea?: boolean;
8597
8656
  /** Show data point dots on the lines. @default false */
8598
8657
  showDots?: boolean;
8658
+ /**
8659
+ * Formatter for the values shown in the hover tooltip. Defaults to
8660
+ * {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
8661
+ * axis reads the same on hover, then to a plain localized number. Set it when
8662
+ * the axis has to stay compact ("107.5K") but the tooltip should be exact
8663
+ * ("107,505").
8664
+ */
8665
+ tooltipValueFormatter?: (value: number) => string;
8599
8666
  }
8600
8667
 
8601
8668
  /**
@@ -8652,6 +8719,13 @@ export declare interface F0DataChartPieProps extends F0DataChartCommonProps {
8652
8719
  showPercentage?: boolean;
8653
8720
  /** Format the value displayed in labels and tooltip */
8654
8721
  valueFormatter?: (value: number) => string;
8722
+ /**
8723
+ * Formatter for the value shown in the hover tooltip. Defaults to
8724
+ * {@link valueFormatter}, so a unit or a currency on the labels reads the same
8725
+ * on hover, then to a plain localized number. Set it when the labels have to
8726
+ * stay compact ("107.5K") but the tooltip should be exact ("107,505").
8727
+ */
8728
+ tooltipValueFormatter?: (value: number) => string;
8655
8729
  /** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
8656
8730
  echartsOptions?: Partial<echarts_2.EChartsOption>;
8657
8731
  }
@@ -8706,6 +8780,13 @@ export declare interface F0DataChartRadarProps extends F0DataChartCommonProps {
8706
8780
  showLabels?: boolean;
8707
8781
  /** Format values in labels and tooltip */
8708
8782
  valueFormatter?: (value: number) => string;
8783
+ /**
8784
+ * Formatter for the value shown in the hover tooltip. Defaults to
8785
+ * {@link valueFormatter}, so a unit or a currency on the labels reads the same
8786
+ * on hover, then to a plain localized number. Set it when the labels have to
8787
+ * stay compact ("107.5K") but the tooltip should be exact ("107,505").
8788
+ */
8789
+ tooltipValueFormatter?: (value: number) => string;
8709
8790
  /** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
8710
8791
  echartsOptions?: Partial<echarts_2.EChartsOption>;
8711
8792
  }
@@ -12806,6 +12887,12 @@ export declare interface FunnelChartConfig {
12806
12887
  colorScale?: boolean;
12807
12888
  /** Format the value displayed in labels and tooltip */
12808
12889
  valueFormatter?: (value: number) => string;
12890
+ /**
12891
+ * Format the value shown in the hover tooltip. Defaults to
12892
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
12893
+ * while the tooltip carries the exact figure.
12894
+ */
12895
+ tooltipValueFormatter?: (value: number) => string;
12809
12896
  }
12810
12897
 
12811
12898
  /**
@@ -12859,6 +12946,12 @@ export declare interface GaugeChartConfig {
12859
12946
  showValue?: boolean;
12860
12947
  /** Format the value displayed inside the gauge */
12861
12948
  valueFormatter?: (value: number) => string;
12949
+ /**
12950
+ * Format the value shown in the hover tooltip. Defaults to
12951
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
12952
+ * while the tooltip carries the exact figure.
12953
+ */
12954
+ tooltipValueFormatter?: (value: number) => string;
12862
12955
  }
12863
12956
 
12864
12957
  /**
@@ -13349,6 +13442,12 @@ export declare interface HeatmapChartConfig {
13349
13442
  showVisualMap?: boolean;
13350
13443
  /** Format the value displayed in cells and tooltip */
13351
13444
  valueFormatter?: (value: number) => string;
13445
+ /**
13446
+ * Format the value shown in the hover tooltip. Defaults to
13447
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
13448
+ * while the tooltip carries the exact figure.
13449
+ */
13450
+ tooltipValueFormatter?: (value: number) => string;
13352
13451
  }
13353
13452
 
13354
13453
  /**
@@ -15325,6 +15424,12 @@ export declare interface PieChartConfig {
15325
15424
  showPercentage?: boolean;
15326
15425
  /** Format the value displayed in labels and tooltip */
15327
15426
  valueFormatter?: (value: number) => string;
15427
+ /**
15428
+ * Format the value shown in the hover tooltip. Defaults to
15429
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
15430
+ * while the tooltip carries the exact figure.
15431
+ */
15432
+ tooltipValueFormatter?: (value: number) => string;
15328
15433
  }
15329
15434
 
15330
15435
  /**
@@ -15735,6 +15840,12 @@ export declare interface RadarChartConfig {
15735
15840
  showLabels?: boolean;
15736
15841
  /** Format the value displayed in labels and tooltip */
15737
15842
  valueFormatter?: (value: number) => string;
15843
+ /**
15844
+ * Format the value shown in the hover tooltip. Defaults to
15845
+ * {@link valueFormatter}; set it when the axis and labels must stay compact
15846
+ * while the tooltip carries the exact figure.
15847
+ */
15848
+ tooltipValueFormatter?: (value: number) => string;
15738
15849
  }
15739
15850
 
15740
15851
  /**