# Changing color of a time series chart based on setpoints in perspective

**URL:** <https://forum.inductiveautomation.com/t/changing-color-of-a-time-series-chart-based-on-setpoints-in-perspective/67776>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 19, 2022, 9:53am UTC](https://forum.inductiveautomation.com/t/changing-color-of-a-time-series-chart-based-on-setpoints-in-perspective/67776 "2022-12-19T09:53:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SARAVANAN\_G](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@SARAVANAN\_G](https://forum.inductiveautomation.com/u/SARAVANAN_G)\
**Post date:** [December 19, 2022, 9:53am UTC](https://forum.inductiveautomation.com/t/changing-color-of-a-time-series-chart-based-on-setpoints-in-perspective/67776/1 "2022-12-19T09:53:06Z")

</div>

Hi team,  
I need to develop a chart based on below image.  
I have a requirement of displaying a chart by the range to be colored on green and out of zone in red line. Kindly help me in this part in perspective.

 ![XYchart](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/8/08b94b8b63d7ab473bda09852a99f22d0730abeb.png)

---

<div class="post-metadata">

**Author:** ![Patrick\_Chanthilack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/patrick_chanthilack/32/42479_2.png) [@Patrick\_Chanthilack](https://forum.inductiveautomation.com/u/Patrick_Chanthilack)\
**Post date:** [January 11, 2023, 11:07pm UTC](https://forum.inductiveautomation.com/t/changing-color-of-a-time-series-chart-based-on-setpoints-in-perspective/67776/2 "2023-01-11T23:07:41Z")

</div>

Hello SARAVANAN\_G,

The lines that show on the time series chart are based on defined based on data points provided to the component (bindings, scripts, etc). The component does not allow you to currently set static setpoints that are shown in your screenshot at 150 and 250. This feature could be submitted as a feature request which you can send by clicking on the link below.

> **[Ignition Features and Ideas | Inductive Automation](https://inductiveautomation.canny.io/ignition-features-and-ideas)**
>
> How can we improve Ignition?
