MCPcopy Index your code
hub / github.com/plotly/plotly.js / newPointSelectionDef

Function newPointSelectionDef

src/components/selections/select.js:577–583  ·  view source on GitHub ↗

* Constructs a new point selection definition object.

(pointNumber, searchInfo, subtract)

Source from the content-addressed store, hash-verified

575 * Constructs a new point selection definition object.
576 */
577function newPointSelectionDef(pointNumber, searchInfo, subtract) {
578 return {
579 pointNumber: pointNumber,
580 searchInfo: searchInfo,
581 subtract: !!subtract
582 };
583}
584
585function isPointSelectionDef(o) {
586 return 'pointNumber' in o && 'searchInfo' in o;

Callers 1

selectOnClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…