()
| 148 | } |
| 149 | |
| 150 | private computeBarWidth() { |
| 151 | const xScale = this.scales.sample; |
| 152 | let width = |
| 153 | (xScale.scale(this.model.maxX) - xScale.scale(this.model.minX)) / |
| 154 | this.model.bins; |
| 155 | |
| 156 | if (width >= 10) { |
| 157 | width -= 2; |
| 158 | } |
| 159 | |
| 160 | return width; |
| 161 | } |
| 162 | |
| 163 | relayout() { |
| 164 | this.set_ranges(); |
no outgoing calls
no test coverage detected