use getChart method to retrieve charts

fix for https://jira.zenoss.com/browse/ZEN-12294

Needed for