Calculate optimal legend dimensions using actual text system measurements KISS: Based on measured text content, not estimates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | labels(:) | |||
real(kind=wp), | intent(in) | :: | data_width | |||
real(kind=wp), | intent(in) | :: | data_height | |||
real(kind=wp), | intent(out) | :: | max_text_width | |||
real(kind=wp), | intent(out) | :: | total_text_width | |||
type(legend_box_t), | intent(inout) | :: | box |