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

Function allShown

test/jasmine/tests/legend_test.js:41–53  ·  view source on GitHub ↗
(fullData)

Source from the content-addressed store, hash-verified

39 });
40
41 function allShown(fullData) {
42 return fullData.map(function (trace) {
43 return Lib.extendDeep(
44 {
45 visible: true,
46 showlegend: true,
47 _dfltShowLegend: true,
48 _input: {}
49 },
50 trace
51 );
52 });
53 }
54
55 it('hides by default if there is only one legend item by default', function () {
56 fullData = allShown([

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…