# Bar Chart Report Script dynamic markers

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-report-script-dynamic-markers/44767>\
**Category:** Ignition\
**Created:** [March 23, 2021, 1:08am UTC](https://forum.inductiveautomation.com/t/bar-chart-report-script-dynamic-markers/44767 "2021-03-23T01:08:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dojeda](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dojeda](https://forum.inductiveautomation.com/u/dojeda)\
**Post date:** [March 23, 2021, 1:08am UTC](https://forum.inductiveautomation.com/t/bar-chart-report-script-dynamic-markers/44767/1 "2021-03-23T01:08:57Z")

</div>

Hello There,  
I’m trying this script to add a marker in a Bar Chart on a Report:

```
from org.jfree.chart.plot import ValueMarker
marker = ValueMarker(2500) #point on range axis to label
marker.setLabel("Some Marker")
chart.getPlot().addRangeMarker(marker)

```

Working all good, but what if I want to Have a dynamic Value marker that changes depending a result from a Query or Value from a Tag? Is that posible in the report scripting? Thanks!
