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

Function xScale

src/traces/table/data_preparation_helper.js:145–149  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

143}
144
145function xScale(d) {
146 return d.calcdata.columns.reduce(function(prev, next) {
147 return next.xIndex < d.xIndex ? prev + next.columnWidth : prev;
148 }, 0);
149}
150
151function makeRowBlock(anchorToRowBlock, auxiliary) {
152 var blockAnchorKeys = Object.keys(anchorToRowBlock);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…