# How to change plot line colors using a Time Series Chart and Datasets for series

**URL:** <https://forum.inductiveautomation.com/t/how-to-change-plot-line-colors-using-a-time-series-chart-and-datasets-for-series/105837>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 2, 2025, 6:26pm UTC](https://forum.inductiveautomation.com/t/how-to-change-plot-line-colors-using-a-time-series-chart-and-datasets-for-series/105837 "2025-05-02T18:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan.l](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dan.l](https://forum.inductiveautomation.com/u/dan.l)\
**Post date:** [May 2, 2025, 6:26pm UTC](https://forum.inductiveautomation.com/t/how-to-change-plot-line-colors-using-a-time-series-chart-and-datasets-for-series/105837/1 "2025-05-02T18:26:05Z")

</div>

Hi all, I'm currently following the steps described in this post: [Perspective - Time Series Chart , how to change color of line chart? - #4 by nminchin](https://forum.inductiveautomation.com/t/perspective-time-series-chart-how-to-change-color-of-line-chart/39093/4) to troubleshoot my issue where I cannot find a way to change the individual colors of my plot lines when using Datasets. The reason I am using datasets as opposed to something static is so that I can display real time moving data.

 ![Datatsets](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/7/07d7054fa8601812247e6ce771892f363f0f77d1.png)

In the image, you can see how I am using Datasets for each entry, but doing this does not allow for customization of the line colors. Under columns[0]/colors it is changed to red but the line remains blue. I cannot use TemperatureData as a key for the column because when I do it does nothing.

Any thought? Thank you!

---

<div class="post-metadata">

**Author:** ![Simon\_Hathout\_Willar](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@Simon\_Hathout\_Willar](https://forum.inductiveautomation.com/u/Simon_Hathout_Willar)\
**Post date:** [May 2, 2025, 8:15pm UTC](https://forum.inductiveautomation.com/t/how-to-change-plot-line-colors-using-a-time-series-chart-and-datasets-for-series/105837/2 "2025-05-02T20:15:29Z")

</div>

Can you try setting the columns/0/key value for the trend 0 (the one with TemperatureData) to be the name of the column in the dataset with the values?  
Eg if your "TemperatireData" dataset has columns time\_stamp and measured\_value, set the column key to be "measured\_value"
