* Turn off optional control elements within the root element. * @see BaseMixin#turnOnControls turnOnControls * @returns {BaseMixin}
()
| 641 | * @returns {BaseMixin} |
| 642 | */ |
| 643 | turnOffControls () { |
| 644 | if (this._root) { |
| 645 | const attribute = this.controlsUseVisibility() ? 'visibility' : 'display'; |
| 646 | const value = this.controlsUseVisibility() ? 'hidden' : 'none'; |
| 647 | this.selectAll('.reset').style(attribute, value); |
| 648 | this.selectAll('.filter').style(attribute, value).text(this.filter()); |
| 649 | } |
| 650 | return this; |
| 651 | } |
| 652 | |
| 653 | /** |
| 654 | * Set or get the animation transition duration (in milliseconds) for this chart instance. |
no test coverage detected