the selection should be scoped to chart, rather than the document.