Added clamp functionality (x & y axis) for lineChart