Linear and non-linear regression support for highcharts