Interface
PlotHit
The element under the pointer.
Properties
| Name | Type | Description |
|---|---|---|
mark | Mark | |
index | number | Index of the point in the mark's data. |
x | number | |
y | number | For waterfall subtotals and totals, the running total. |
position | {
x: number;
y: number;
} | Where it is drawn (a point, or the center of a bar or cell), CSS px relative to the canvas. |
Declaration
export interface PlotHit {
mark: Mark;
index: number;
x: number;
y: number;
position: {
x: number;
y: number;
};
}