Skip to content

Interface: ChartPoint ​

One data point in a hover, click or selection event (plan E6.1), shaped like Plotly's event points so handlers port unchanged.

Indexable ​

ts
[field: string]: unknown

Anything else the trace reported for templates (marker.size, …).

Properties ​

PropertyModifierTypeDescription
bbox?readonlyobjectLabel anchor box in container CSS px (hover and click only).
bbox.x0readonlynumber-
bbox.x1readonlynumber-
bbox.y0readonlynumber-
bbox.y1readonlynumber-
curveNumberreadonlynumberTrace index.
customdata?readonlyunknown-
datareadonlyunknownThe input trace (as given, after updates).
fullDatareadonlyFullTraceThe trace after defaults.
hovertext?readonlyunknown-
pointIndexreadonlynumber | readonly [number, number]Same as pointNumber (Plotly has both).
pointNumberreadonlynumber | readonly [number, number]Index into the trace's data arrays; [row, column] for a cell of a 2D grid (heatmap, image), as in Plotly.
pointNumbers?readonlyreadonly number[]All data indices behind an aggregated point (histogram bins, stacked segments).
text?readonlyunknown-
x?readonlyunknownData values (numbers, date strings/ms, category names).
xaxis?readonlyAxisInfo-
y?readonlyunknown-
yaxis?readonlyAxisInfo-
z?readonlyunknown-

Released under the MIT License.