API methods for returning chart data.
Refactor to use chart methods.