The maximum number of samples that can be returned in a chart request is 1200. If you need more samples than that you have to make several calls specifying different Mode and Time request parameter values.
More Resources
Help page - How can I get historical prices?