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

Method get_element_rotation

js/src/Label.ts:100–105  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

98 }
99
100 get_element_rotation(data) {
101 const rotation_scale = this.scales.rotation;
102 return !rotation_scale || !data.rotation
103 ? 'rotate(' + this.model.get('rotate_angle') + ')'
104 : 'rotate(' + rotation_scale.scale(data.rotation) + ')';
105 }
106
107 update_position() {
108 const that = this;

Callers 2

update_positionMethod · 0.80
update_positionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected