@turquoisehealth/pit-viper 2.202.2-dev.2 → 2.203.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.
@@ -1,16 +1,8 @@
1
1
  import { AgChartOptions } from 'ag-charts-enterprise';
2
2
  import { ColDef } from 'ag-grid-community';
3
3
  import { OptionWithFormatterAndDataType } from './types';
4
- /**
5
- * Whether a column should be offered as a secondary-axis (metric overlay) series.
6
- *
7
- * A column qualifies when it's flagged for the secondary axis and not hidden from
8
- * charting — but is excluded when its field is already used as an X-axis row group
9
- * dimension. tq_api can't return both the group key string and the aggregated value
10
- * for the same field name simultaneously, so a field used as the X-axis can't also
11
- * be a metric overlay.
12
- */
13
- export declare const isAvailableSecondarySeriesColDef: (colDef: ColDef, rowGroupFields: Set<string>) => boolean;
4
+ export declare const isAvailableSecondarySeriesColDef: (colDef: ColDef) => boolean;
5
+ export declare const getSecondarySeriesKey: (field: string, aggFunc: string | null | undefined, rowGroupFields: Set<string>) => string;
14
6
  /**
15
7
  * Rounds `rawMax` up to a "nice" ceiling that divides into `intervals` equal,
16
8
  * human-friendly steps (multiples of 1, 2, 2.5, or 5 × a power of ten).