# How to add a target line to an Ignition 7.9 Bar Graph

**URL:** <https://forum.inductiveautomation.com/t/how-to-add-a-target-line-to-an-ignition-7-9-bar-graph/93860>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [July 29, 2024, 6:45pm UTC](https://forum.inductiveautomation.com/t/how-to-add-a-target-line-to-an-ignition-7-9-bar-graph/93860 "2024-07-29T18:45:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 29, 2024, 6:55pm UTC](https://forum.inductiveautomation.com/t/how-to-add-a-target-line-to-an-ignition-7-9-bar-graph/93860/2 "2024-07-29T18:55:13Z")

</div>

Yes; the term to search for on the forums is `ValueMarker`. See this post for one example:

> [@Setting up bound value on chart](https://forum.inductiveautomation.com/t/setting-up-bound-value-on-chart/17372/6):
>
> You can also add range markers. This example is from the configureChart extension method. def configureChart(self, chart): from org.jfree.chart.plot import ValueMarker from java.awt import Color, BasicStroke plot = chart.getPlot() stroke = BasicStroke(1.0) # Draws a horizontal red line through 12.4 plot.addRangeMarker(ValueMarker(12.4, Color.RED, stroke)) # Draws a horizontal blue line through 12.225 plot.addRangeMarker(ValueMarker(12.225, Color.BLUE, stroke)) EDIT: Changed t…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-add-a-target-line-to-an-ignition-7-9-bar-graph/93860)._
