MCPcopy Index your code
hub / github.com/bqplot/bqplot / get_key_for_dimension

Method get_key_for_dimension

js/src/MarkModel.ts:97–105  ·  view source on GitHub ↗
(dimension)

Source from the content-addressed store, hash-verified

95 }
96
97 get_key_for_dimension(dimension) {
98 const scales_metadata = this.get('scales_metadata');
99 for (const scale in scales_metadata) {
100 if (scales_metadata[scale].dimension === dimension) {
101 return scale;
102 }
103 }
104 return null;
105 }
106
107 get_key_for_orientation(orientation) {
108 const scales_metadata = this.get('scales_metadata');

Callers 1

add_markMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected