# Bar chart (report) static line

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-report-static-line/18445>\
**Category:** Ignition\
**Created:** [June 13, 2018, 2:02pm UTC](https://forum.inductiveautomation.com/t/bar-chart-report-static-line/18445 "2018-06-13T14:02:15Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![ajrowe](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@ajrowe](https://forum.inductiveautomation.com/u/ajrowe)\
**Post date:** [January 29, 2020, 6:31pm UTC](https://forum.inductiveautomation.com/t/bar-chart-report-static-line/18445/14 "2020-01-29T18:31:19Z")

</div>

This is working well in my dashboards. On the reports, which is where I first got it working, the reference line shows up in the preview in the report module, but not in the PDF when the report is emailed. Everything else renders in the PDF as expected.

Any ideas what’s preventing the line from rendering in the PDF?

The code is:  
from java.awt import BasicStroke   
from org.jfree.chart.plot import ValueMarker  
goal = 0.5

```
s = BasicStroke(
	4.0, #width
	BasicStroke.CAP_ROUND, #cap 
	BasicStroke.JOIN_ROUND, #join
	1.0) #, #miterLimit
	#[2, 4, 8, 16, 32], #dash pattern
	#0.0) #dash_phase_offset

m = ValueMarker(goal, system.gui.color(255, 10, 10), s)
#m.setLabel("Target Over")
chart.getPlot().addRangeMarker(m)
```

---

_[View the full topic](https://forum.inductiveautomation.com/t/bar-chart-report-static-line/18445)._
