()
| 230 | } |
| 231 | |
| 232 | get_tick_transforms() { |
| 233 | // parses object and returns a string that can be passed to a D3 as a |
| 234 | // set of options |
| 235 | // Note: Currently, only the `tick_rotate` attribute uses .transform() |
| 236 | |
| 237 | const rotation = this.model.get('tick_rotate'); |
| 238 | return `rotate(${rotation})`; |
| 239 | } |
| 240 | |
| 241 | update_scales() { |
| 242 | // Updates the domains of both scales |