I built a line chart that gets some json data from a web service. It queries the service every 5 seconds, reads the entire data and applies it to the chart. Data changes on the server side quite fast, but it doesn't change entirely. New values are appended to the existing ones.

I would like to optimize this on the client side, too. Is it possible to have the line chart just append the new data and not read and apply the entire set of data on each request?