fn legend_btn(color: Color, label: &str) -> ButtonBuilder<'_, '_>