Skip to main content

Has anyone ever put a target line on a chart?  So if we have “average time to close opportunities” graphed out by month, we’d like a target line on there - say 14 days.  I’d be willing to hardcode the target value, but I just want it to show up all the way across the chart range.

Chandra,

You should be able to add lines to your chart with the ‘before render snippet.’

You’ll want to use yAxis.plotLines, like so: http://api.highcharts.com/highcharts#yAxis.plotLines

Also see: http://www.highcharts.com/stock/demo/yaxis-plotlines


There’s plenty in the community on how this looks in a skuid snippet. Here’s one sample: https://community.skuid.com/t/modify-number-formats-on-charts/1381