@turquoisehealth/pit-viper 2.217.1-dev.0 → 2.218.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.
@@ -38,19 +38,6 @@ export interface VerticalLineOverlay {
38
38
  label: string;
39
39
  /** The line color as a hex code. */
40
40
  color?: string;
41
- /**
42
- * When true, this overlay still renders as a chip but is dropped from the chart's
43
- * crosslines - e.g. a dollar-denominated benchmark while the chart is grouped by percent,
44
- * where the value has no valid position on the current x-axis.
45
- */
46
- excludeFromCrossline?: boolean;
47
- /**
48
- * Formats this overlay's raw `value` for display in its chip and crossline tooltip. Falls
49
- * back to the group's `formatValue`, then to the chart's own axis formatter - use this when
50
- * an overlay's unit doesn't match the chart's current x-axis (e.g. a dollar benchmark shown
51
- * while the chart is grouped by percent), so it isn't run through the wrong formatter.
52
- */
53
- formatValue?: (value: number) => string | number;
54
41
  /**
55
42
  * Set by `resolveCrosslineOverlays` (not an authoring field) to the same identifier used
56
43
  * for this overlay's chip, so a hovered chip can be matched back to its crossline.
@@ -86,13 +73,8 @@ export interface CrosslineOverlayGroup {
86
73
  * placeholder (one per group, regardless of `overlays`) instead of chip content.
87
74
  */
88
75
  loading?: boolean;
89
- /**
90
- * Formatter used for every overlay in this group's chips/tooltip, unless an overlay sets
91
- * its own `formatValue`. Falls back to the chart's own axis formatter when unset.
92
- */
93
- formatValue?: (value: number) => string | number;
94
76
  }
95
- export interface BenchmarkChip extends Partial<Pick<VerticalLineOverlay, "label" | "color" | "excludeFromCrossline">> {
77
+ export interface BenchmarkChip extends Partial<Pick<VerticalLineOverlay, "label" | "color">> {
96
78
  key: string;
97
79
  loading: boolean;
98
80
  formattedValue?: string | number;