# Looking for a Chart Feature

**URL:** <https://forum.inductiveautomation.com/t/looking-for-a-chart-feature/79121>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [September 13, 2023, 10:22pm UTC](https://forum.inductiveautomation.com/t/looking-for-a-chart-feature/79121 "2023-09-13T22:22:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roger\_Denison](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@Roger\_Denison](https://forum.inductiveautomation.com/u/Roger_Denison)\
**Post date:** [September 13, 2023, 10:22pm UTC](https://forum.inductiveautomation.com/t/looking-for-a-chart-feature/79121/1 "2023-09-13T22:22:14Z")

</div>

I have a Labview project that I am trying to emulate in Ignition Vision. It includes a chart graph that mimics the pushing and pulling on a load cell. The graph looks like this:

 ![IMG_0252](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/c/8c2d7e93ff03e300bcf5e7b43165630a1fcd7a28.jpeg)  
They start with a yellow band at the top (and then the bottom) and the band turns green when the push-pull test is successful.  

[https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/f/8f2d06066d3367d34740325bf10070e40391c823.mp4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/f/8f2d06066d3367d34740325bf10070e40391c823.mp4)
  
The white marker is tied to the load force tag value from the PLC.

Anyone do this before? Have suggestions?

---

<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:** [September 13, 2023, 10:26pm UTC](https://forum.inductiveautomation.com/t/looking-for-a-chart-feature/79121/2 "2023-09-13T22:26:41Z")

</div>

Should be pretty easy to accomplish with an IntervalMarker from JFreeChart, via the `configureChart` extension function:

> [@Change background color of vision chart](https://forum.inductiveautomation.com/t/change-background-color-of-vision-chart/73322/2):
>
> I believe you will want to set your plot background to white, and then, simply add some interval markers to your configureChart extension function. Example: #def configureChart(self, chart): from org.jfree.chart.plot import IntervalMarker chart.plot.addRangeMarker(IntervalMarker(0, 15, system.gui.color(255, 182, 193, 155))) chart.plot.addRangeMarker(IntervalMarker(25, 75, system.gui.color(144, 238, 144, 155))) chart.plot.addRangeMarker(IntervalMarker(85, 100, system.gui.color(255, 182, 193…
