restore line.y function in platform analysis visualization func.