In the following, a way is presented to numerically find a thickness for the tactile bars such that all groups fit on the available chart area. To use as much of the given area as possible and to minimize big gaps, the software will try to find the maximum possible thickness within the user defined limits `minThickness`, `maxThickness`.
The layout of the bars is as described in the conceptual design:
* There are `g` groups of an arbitrary number of bars `b[i]` in each group `i`, resulting in `b` total bars
* The groups are separated by a padding `gpad`, counted in full cells
* The bars inside a group are separated by a padding `bpad`, also counted in full cells
* All bars are of equal `tickness`
* There are enclosing paddings: Between the axis and its closest bar & between the bar furthest from the axis and the end of the cart area, each 1 exactly 1 cell.
* The paddings contain the bar borders
A sketch for a layout with horizontal bars:
...
For a given value of `thickness`, the full required size of the chart area can be calculated in the following way: