# Dynamic Series Properties in Status Chart

**URL:** <https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [July 20, 2017, 4:39pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843 "2017-07-20T16:39:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfallon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wfallon/32/3773_2.png) [@wfallon](https://forum.inductiveautomation.com/u/wfallon)\
**Post date:** [July 20, 2017, 4:39pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/1 "2017-07-20T16:39:07Z")

</div>

Hi,

I am trying to load a custom dataset into the Status Chart component. I binded a tag to the Series Properties Data property, but it seems the component is not updating .

Thanks,

Will

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [July 20, 2017, 10:00pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/2 "2017-07-20T22:00:30Z")

</div>

I’m assuming you used just a tag binding, so is the Data Type on the tag set to **dataset**? If so, then the chart should update when the dataset on the tag changes.

Are you seeing any errors in the console, or error message boxes hiding anywhere?

---

<div class="post-metadata">

**Author:** ![wfallon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wfallon/32/3773_2.png) [@wfallon](https://forum.inductiveautomation.com/u/wfallon)\
**Post date:** [July 21, 2017, 11:42am UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/3 "2017-07-21T11:42:38Z")

</div>

The tag is definitely a dataset, I think the issue is that the default dataset on the status chart says the third column is of the type color, and I can’t generate a column of that type.

---

<div class="post-metadata">

**Author:** ![wfallon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wfallon/32/3773_2.png) [@wfallon](https://forum.inductiveautomation.com/u/wfallon)\
**Post date:** [July 21, 2017, 2:13pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/4 "2017-07-21T14:13:43Z")

</div>

Okay, I worked on it a little, and now I’m getting this: `can't put element of type color in dataset.`

Is this just a limitation in Ignition? I would rather make the style dynamic.

---

<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:** [July 21, 2017, 3:28pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/5 "2017-07-21T15:28:52Z")

</div>

Set the third column to a string, then pass in a string in this format:  
`color(R, G, B, A)`  
Where R, G, B, A are integer values from 0 - 255.

The sample dataset would look like this, copied out of the dataset editor:

```auto
"#NAMES"
"SeriesName","Value","Color"
"#TYPES"
"str","I","str"
"#ROWS","9"
"Series1","0","color(255,0,0,255)"
"Series1","1","color(0,255,0,255)"
"Series1","2","color(255,255,0,255)"
"Series2","0","color(255,0,0,255)"
"Series2","1","color(0,255,0,255)"
"Series2","2","color(255,255,0,255)"
"Series3","0","color(255,255,255,255)"
"Series3","1","color(0,255,0,255)"
"Series3","2","color(255,255,0,255)"

```

---

<div class="post-metadata">

**Author:** ![wfallon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wfallon/32/3773_2.png) [@wfallon](https://forum.inductiveautomation.com/u/wfallon)\
**Post date:** [July 21, 2017, 3:54pm UTC](https://forum.inductiveautomation.com/t/dynamic-series-properties-in-status-chart/14843/6 "2017-07-21T15:54:38Z")

</div>

Thank you so much. I had gotten that far but I was only doing RGB, not RGBA.
