# Creating a Graph from Python Script

**URL:** <https://forum.inductiveautomation.com/t/creating-a-graph-from-python-script/26518>\
**Category:** Ignition\
**Created:** [July 12, 2019, 4:52pm UTC](https://forum.inductiveautomation.com/t/creating-a-graph-from-python-script/26518 "2019-07-12T16:52:25Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [July 17, 2019, 3:29pm UTC](https://forum.inductiveautomation.com/t/creating-a-graph-from-python-script/26518/8 "2019-07-17T15:29:55Z")

</div>

Yes the Chart component is very flexible. It can do what you are looking to achieve.

By default the Chart component has a Data property holding time-series data. The first column in this dataset is the time (x-coordinate) value for each of the values in the other columns. Each column after this then represents the values (y-coordinate) for a line on the graph. Adding more columns will add more graphed lines.

You can use the chart customizer to modify the x and y-axis, add additional axis, add additional datasets, and change how the data is rendered.

If you dig in really deep you can go so far as changing the color of individual points and more.

See this post for an example:

[http://forum.inductiveautomation.com/t/change-color-of-one-point-in-a-xychart/24745](http://forum.inductiveautomation.com/t/change-color-of-one-point-in-a-xychart/24745)

If you need help with something specific, don’t hesitate to ask.

---

_[View the full topic](https://forum.inductiveautomation.com/t/creating-a-graph-from-python-script/26518)._
