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

Function trace

test/jasmine/tests/hover_label_test.js:2142–2149  ·  view source on GitHub ↗
(name, type, delta)

Source from the content-addressed store, hash-verified

2140
2141 it('does not overlap lebels for different trace types', function (done) {
2142 function trace(name, type, delta) {
2143 return {
2144 name: name,
2145 type: type,
2146 y: [0 + delta, 1 + delta, 2 + delta],
2147 x: ['CAT 1', 'CAT 2', 'CAT 3']
2148 };
2149 }
2150
2151 var scatterName = 'scatter_';
2152 var barName = 'bar_';

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…