# Using a dataset to configure a chart

**URL:** <https://forum.inductiveautomation.com/t/using-a-dataset-to-configure-a-chart/7588>\
**Category:** Ignition\
**Created:** [November 19, 2013, 6:34pm UTC](https://forum.inductiveautomation.com/t/using-a-dataset-to-configure-a-chart/7588 "2013-11-19T18:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BSH](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BSH](https://forum.inductiveautomation.com/u/BSH)\
**Post date:** [November 19, 2013, 6:34pm UTC](https://forum.inductiveautomation.com/t/using-a-dataset-to-configure-a-chart/7588/1 "2013-11-19T18:34:45Z")

</div>

Hi,  
just wondering how I should approach this issue, I have a dataset coming out of a Rowselector with 4 columns. These should act as input to a chart component to show a barchart of 2 of the four columns and one of the other columns should dictate the color of the bar.

Is this possible and if so how should I approach the problem?

---

<div class="post-metadata">

**Author:** ![anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@anna](https://forum.inductiveautomation.com/u/anna)\
**Post date:** [November 20, 2013, 12:57am UTC](https://forum.inductiveautomation.com/t/using-a-dataset-to-configure-a-chart/7588/2 "2013-11-20T00:57:23Z")

</div>

Series color is not controlled by the “Data” dataset. What you would want to do is use scripting to set seriesColors property, which takes Colors[] as its datatype.
