Improve usage of external attribs in charts