# How to use the EasyChartCustomizer class with a PMIEasyChart object?

**URL:** <https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801>\
**Category:** Module Development\
**Created:** [February 24, 2021, 8:56pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801 "2021-02-24T20:56:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![philipabangan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/philipabangan/32/19216_2.png) [@philipabangan](https://forum.inductiveautomation.com/u/philipabangan)\
**Post date:** [February 24, 2021, 8:56pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/1 "2021-02-24T20:56:57Z")

</div>

Hello,

I’m new to module development. I noticed that when building an Easy Chart off the PMIEasyChart Class, there are no Customizers when you right click on the component. Can someone please show me how you would go about adding a Customizer to the component.

Thank you in advance!

---

<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 24, 2021, 9:12pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/2 "2021-02-24T21:12:47Z")

</div>

While not precisely what you're asking, this topic has code I posted that includes a similar action on the Classic Chart:

> [@Adding Data & selectedRow Properties to Custom Module](http://forum.inductiveautomation.com/t/adding-data-selectedrow-properties-to-custom-module/38223):
>
> Hey all, I’m building a component that uses Ignition;s VisionAdvancedTable object. I’m trying to make properties for this component that allow the designer to access the dataset as well as the selectedRow like Ignition’s power table. I’ve done some digging through the SDK and found the VisionAdvancedTableBeanInfo object but don’t know how to use it. How would I go about adding these properties, any help is appreciated!

(I didn't want to make my own customizer...)

---

<div class="post-metadata">

**Author:** ![philipabangan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/philipabangan/32/19216_2.png) [@philipabangan](https://forum.inductiveautomation.com/u/philipabangan)\
**Post date:** [February 24, 2021, 9:31pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/3 "2021-02-24T21:31:40Z")

</div>

I thought the Customizer was already created by Inductive [here](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/index.html) and I just need to set it somewhere in the PMIEasyChart.

Never the less, that’s very helpful. Thank you!

---

<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:** [February 24, 2021, 10:08pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/4 "2021-02-24T22:08:07Z")

</div>

> [@philipabangan](#):
>
> Can someone please show me how you would go about adding a Customizer to the component.

In your `BeanInfo`, you should pass a `CustomizerDescriptor` in the super constructor, and optionally register it as the double click customizer:

```java
    public PMIEasyChartBeanInfo() {
        super(PMIEasyChart.class, EasyChartCustomizer.VALUE_DESCRIPTOR);

        getBeanDescriptor().setValue(DOUBLE_CLICK_CUSTOMIZER_KEY, EasyChartCustomizer.VALUE_NAME);
    }

```

---

<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 24, 2021, 10:23pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/5 "2021-02-24T22:23:18Z")

</div>

> [@paul-griffith](#):
>
> you should pass a `CustomizerDescriptor` in the super constructor

Just like the code I posted in the linked topic. |:

---

<div class="post-metadata">

**Author:** ![philipabangan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/philipabangan/32/19216_2.png) [@philipabangan](https://forum.inductiveautomation.com/u/philipabangan)\
**Post date:** [February 24, 2021, 10:31pm UTC](https://forum.inductiveautomation.com/t/how-to-use-the-easychartcustomizer-class-with-a-pmieasychart-object/43801/6 "2021-02-24T22:31:11Z")

</div>

Haha sorry, I was a bit overwhelmed with everything going on there! I actually still don’t have it working, but I’m guessing I’m overwriting it somewhere.
