Uniformed API for smooth and stock line graphs