@carbon/charts 1.27.14 → 1.27.15

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.
@@ -1,2 +1,15 @@
1
- export declare function getDomain(data: any): number[];
2
- export declare function getColorScale(displayData: any, colorOptions: any): import('d3-scale').ScaleQuantize<number, never>;
1
+ /**
2
+ * Custom domain configuration for color scales
3
+ */
4
+ export interface ColorDomainOptions {
5
+ min?: number;
6
+ max?: number;
7
+ }
8
+ /**
9
+ * Calculate the domain for a color scale from data values
10
+ * @param data - Array of data objects with value property
11
+ * @param customDomain - Optional explicit min/max values to override calculated domain
12
+ * @returns [min, max] domain array
13
+ */
14
+ export declare function getDomain(data: any, customDomain?: ColorDomainOptions): number[];
15
+ export declare function getColorScale(displayData: any, colorOptions: any, customDomain?: ColorDomainOptions): import('d3-scale').ScaleQuantize<number, never>;
@@ -1,6 +1,6 @@
1
- import { T as e, I as r, J as o, K as i, L as t, M as l, N as m, O as n } from "../color-scale-utils-C4KU2jNr.mjs";
2
- import { D as c, G as d, S as C, d as f, a as p, p as D, b as S, r as g } from "../angle-utils-Dy0Gf7Eb.mjs";
3
- import { C as E, c as I, a as M, E as x, F as L, T as N, Z as O } from "../index-CHbrPDmO.mjs";
1
+ import { T as e, I as r, J as o, K as i, L as t, M as l, N as m, O as n } from "../color-scale-utils--mwppOF8.mjs";
2
+ import { D as c, G as d, S as C, d as f, a as p, p as D, b as S, r as g } from "../angle-utils-Br0vKMAk.mjs";
3
+ import { C as E, c as I, a as M, E as x, F as L, T as N, Z as O } from "../index-CNdgfXjZ.mjs";
4
4
  export {
5
5
  E as CanvasZoom,
6
6
  I as CartesianScales,