@graphysdk/viz-engine 1.9.0-beta.1788895125792 → 1.9.0-beta.1789025801428

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.
@@ -1371,19 +1371,8 @@ declare interface HighlightInput {
1371
1371
  layerId?: string;
1372
1372
  }
1373
1373
 
1374
- /**
1375
- * Scope of a highlight match — what visual unit gets the matched treatment.
1376
- *
1377
- * - `data-point` (default): rows that satisfy the predicate are matched
1378
- * individually; siblings in the same series stay un-matched.
1379
- * - `series`: any row that satisfies the predicate expands to its whole series
1380
- * (group). The entire series renders as matched; sibling rows in the series
1381
- * are matched too. Use this to highlight a whole line / area / bar group.
1382
- * - `x-value`: any row that satisfies the predicate expands to all rows
1383
- * sharing the same x value. Use this to highlight a vertical slice across
1384
- * series.
1385
- */
1386
- declare type HighlightScope = 'data-point' | 'series' | 'x-value';
1374
+ /** How far a highlight match reaches: the matched rows alone (`data-point`), their series, or their x value. */
1375
+ declare type HighlightScope = ObservationScope;
1387
1376
 
1388
1377
  /** The vocabulary of the hoverGuide target: `color` strokes the crosshair, `background` fills the band. */
1389
1378
  declare type HoverGuideStyleDeclarations = Pick<StyleDeclarations, 'color' | 'background'>;
@@ -1854,6 +1843,15 @@ declare interface ObservationAnchorInput {
1854
1843
  align?: AnchorAlign;
1855
1844
  }
1856
1845
 
1846
+ /**
1847
+ * How far a match reaches from the observations a predicate hits.
1848
+ *
1849
+ * - `data-point`: those observations alone; siblings in the same series stay out.
1850
+ * - `series`: every observation in the same series (group) as a match.
1851
+ * - `x-value`: every observation sharing a match's x value, a slice across series.
1852
+ */
1853
+ declare type ObservationScope = 'data-point' | 'series' | 'x-value';
1854
+
1857
1855
  export declare type Options = Partial<LineOptions & BarOptions & ScatterOptions & ComboOptions & PieOptions & TableOptions>;
1858
1856
 
1859
1857
  /**