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

Function convertErrorBarStyle

src/traces/scattergl/convert.js:443–455  ·  view source on GitHub ↗
(trace, target, plotGlPixelRatio)

Source from the content-addressed store, hash-verified

441}
442
443function convertErrorBarStyle(trace, target, plotGlPixelRatio) {
444 var optsOut = {
445 capSize: target.width * 2 * plotGlPixelRatio,
446 lineWidth: target.thickness * plotGlPixelRatio,
447 color: target.color
448 };
449
450 if (target.copy_ystyle) {
451 optsOut = trace.error_y;
452 }
453
454 return optsOut;
455}
456
457var SYMBOL_SDF_SIZE = constants.SYMBOL_SDF_SIZE;
458var SYMBOL_SIZE = constants.SYMBOL_SIZE;

Callers 1

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