MCPcopy Create free account
hub / github.com/plotly/plotly.js / renderHighlight

Function renderHighlight

src/traces/parcoords/axisbrush.js:126–130  ·  view source on GitHub ↗
(root, tweenCallback)

Source from the content-addressed store, hash-verified

124}
125
126function renderHighlight(root, tweenCallback) {
127 var bar = d3.select(root).selectAll('.highlight, .highlight-shadow');
128 var barToStyle = tweenCallback ? bar.transition().duration(c.bar.snapDuration).each('end', tweenCallback) : bar;
129 styleHighlight(barToStyle);
130}
131
132function getInterval(d, y) {
133 var b = d.brush;

Callers 2

dragFunction · 0.85
dragendFunction · 0.85

Calls 1

styleHighlightFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…