Implement class for creating price vs. time diagram.