Added inline warning for missing legend container