(values?: D[])
| 132 | */ |
| 133 | public domain(values: D[]): this; |
| 134 | public domain(values?: D[]): any { |
| 135 | if (values == null) { |
| 136 | return this._getDomain(); |
| 137 | } else { |
| 138 | this._autoDomainAutomatically = false; |
| 139 | this._setDomain(values); |
| 140 | return this; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | protected _getDomain(): D[] { |
| 145 | throw new Error("Subclasses should override _getDomain"); |
no test coverage detected