MCPcopy
hub / github.com/plotly/plotly.js / markerOffsetY

Function markerOffsetY

test/jasmine/tests/legend_test.js:1327–1330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1325
1326 describe('should update legend valign', function () {
1327 function markerOffsetY() {
1328 var translate = Drawing.getTranslate(d3Select('.legend .traces .layers'));
1329 return translate.y;
1330 }
1331
1332 it('it should translate markers', function (done) {
1333 var mockCopy = Lib.extendDeep({}, require('../../image/mocks/legend_valign_top.json'));

Callers 1

legend_test.jsFile · 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…