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

Function plainText

src/components/fx/hover.js:2476–2481  ·  view source on GitHub ↗
(s, len)

Source from the content-addressed store, hash-verified

2474}
2475
2476function plainText(s, len) {
2477 return svgTextUtils.plainText(s || '', {
2478 len: len,
2479 allowedTags: ['br', 'sub', 'sup', 'b', 'i', 'em', 's', 'u']
2480 });
2481}
2482
2483function orderRangePoints(hoverData, hovermode) {
2484 var axLetter = hovermode.charAt(0);

Callers 1

getHoverLabelTextFunction · 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…