adding support for a trend line