Working perfectly on line charts