# Info on Chart components

**URL:** <https://forum.inductiveautomation.com/t/info-on-chart-components/20235>\
**Category:** Ignition\
**Created:** [October 17, 2018, 3:39pm UTC](https://forum.inductiveautomation.com/t/info-on-chart-components/20235 "2018-10-17T15:39:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [October 17, 2018, 3:39pm UTC](https://forum.inductiveautomation.com/t/info-on-chart-components/20235/1 "2018-10-17T15:39:27Z")

</div>

Hi All,

I have a few questions about the Chart component.  
Is there a way to enable / disable a Chart’s Dataset by scripting?  
Is there a way to set the X axis and Y axis for a Chart’s Dataset by scripting?

Cheers,

---

<div class="post-metadata">

**Author:** ![Mau89](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mau89/32/20680_2.png) [@Mau89](https://forum.inductiveautomation.com/u/Mau89)\
**Post date:** [October 17, 2018, 3:59pm UTC](https://forum.inductiveautomation.com/t/info-on-chart-components/20235/2 "2018-10-17T15:59:55Z")

</div>

Yes, there is, you can see JFreeChart library.

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [October 17, 2018, 4:14pm UTC](https://forum.inductiveautomation.com/t/info-on-chart-components/20235/3 "2018-10-17T16:14:00Z")

</div>

As Mau89 states, the Vision chart component uses the JFreeChart library. You can learn a lot about how to access different chart elements by searching the forums here for “jfreechart” to see what other users have done. The JFreeChart [api docs](http://www.jfree.org/jfreechart/api/javadoc/index.html) should be helpful in navigating the chart objects in scripts.
