Target line on chart

  • 1
  • Question
  • Updated 3 years ago
  • Answered
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.
Photo of Chandra V

Chandra V, Champion

  • 7,558 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,986 Points 20k badge 2x thumb

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

You'll want to use yAxis.plotLines, like so:

Also see:

There's plenty in the community on how this looks in a skuid snippet. Here's one sample: