(attributes, options)
| 51 | // These two attributes are the pixel values which should be appended |
| 52 | // to the area of the plot to make sure that the entire mark is visible |
| 53 | initialize(attributes, options) { |
| 54 | super.initialize(attributes, options); |
| 55 | this.on('change:scales', this.update_scales, this); |
| 56 | this.once('destroy', this.handle_destroy, this); |
| 57 | // `this.dirty` is set to `true` before starting computations that |
| 58 | // might lead the state of the model to be temporarily inconsistent. |
| 59 | // certain functions of views on that model might check the value |
| 60 | // of `this.dirty` before rendering |
| 61 | this.dirty = false; |
| 62 | this.update_scales(); |
| 63 | } |
| 64 | |
| 65 | update_data() { |
| 66 | // Update_data is typically overloaded in each mark |
nothing calls this directly
no test coverage detected