| 118 | } |
| 119 | |
| 120 | double bars::cluster_width() { |
| 121 | // actual width of the cluster (clusters don't take all their space) |
| 122 | return range_for_cluster() * (ys_.size() == 1 ? 1.0 : cluster_width_); |
| 123 | } |
| 124 | |
| 125 | double bars::range_for_cluster() { |
| 126 | // double min_x_diff = x_minimum_difference(); |