(baseFontSize: number)
| 19 | * Calculates the font size for axis titles (larger than regular tick labels). |
| 20 | */ |
| 21 | export function getAxisTitleFontSize(baseFontSize: number): number { |
| 22 | return Math.max( |
| 23 | baseFontSize + 1, |
| 24 | Math.round(baseFontSize * 1.15) |
| 25 | ); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Applies consistent styling to an axis label span element. |
no outgoing calls
no test coverage detected