support slope in line chart