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

Function mockGd

test/jasmine/tests/axes_test.js:2949–2961  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

2947 var gd, ax;
2948
2949 function mockGd(min, max) {
2950 return {
2951 _fullData: [{
2952 type: 'scatter',
2953 visible: true,
2954 xaxis: 'x',
2955 _extremes: {
2956 x: {min: min, max: max}
2957 }
2958 }],
2959 _fullLayout: {}
2960 };
2961 }
2962
2963 function mockAx() {
2964 return {

Callers 1

axes_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…