Added functionality to show pixel positions in the chart