[CHART] line_hit_test: Check properly range of data values to check.