Patent ID: 8214370

Claim:
A computer-implemented method for displaying a visual representation of data on a screen, comprising: receiving a set of data, each data associated with a timestamp; assigning indices to the set of data ordered according to the timestamp; receiving a request to retrieve a subset of the data associated with the timestamps within a time range; determining the number of data within the time range responsive to receiving the request, comprising: searching for a first datum having a first timestamp after a starting time of the time range; searching for a last datum having a second time stamp before an ending time of the time range; determining a first index corresponding to the first datum; determining a last index corresponding to the last datum; and obtaining a difference between the first index and the last index; computing indices corresponding to data for retrieval within the time range responsive to the number of data within the time range exceeding a predetermined number, comprising: determining a count value corresponding to a difference between the first index and the last index; determining an increment value for indices based on the count value divided by the predetermined number; and creating an array of indices for retrieval of the first data by adding multiples of the increment value to the first index; retrieving first data corresponding to the computed indices; and displaying a visual representation of the set of data on the screen based on the first data.