Extracted the history retrival process for charts out of DefaultChartProvider to allow reusage in other chart provider implementations.