Add helper function to create proper label + hotkey strings for menu items

I actually just moved the helper function from chcanv to chart1, and used it globally.