# Bar chart Custom Properties Scripting

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-custom-properties-scripting/22470>\
**Category:** Ignition\
**Created:** [February 11, 2019, 4:08pm UTC](https://forum.inductiveautomation.com/t/bar-chart-custom-properties-scripting/22470 "2019-02-11T16:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturo.galvan](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@arturo.galvan](https://forum.inductiveautomation.com/u/arturo.galvan)\
**Post date:** [February 11, 2019, 4:08pm UTC](https://forum.inductiveautomation.com/t/bar-chart-custom-properties-scripting/22470/1 "2019-02-11T16:08:00Z")

</div>

I created some custom properties in a bar chart. I want to use them in the bar chart scripting,but i don’t know how to access them. Does someone know how can I do that?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 11, 2019, 4:10pm UTC](https://forum.inductiveautomation.com/t/bar-chart-custom-properties-scripting/22470/2 "2019-02-11T16:10:05Z")

</div>

In an event script, the component itself is `event.source`, so your props would be `event.source.propName`. In extension methods and similar, you are given a `self` reference to the component, so the props would be `self.propName`.
