# Easy Chart Maximize

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-maximize/7805>\
**Category:** Ignition\
**Created:** [January 9, 2014, 1:51am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805 "2014-01-09T01:51:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![howarddpsg](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@howarddpsg](https://forum.inductiveautomation.com/u/howarddpsg)\
**Post date:** [January 9, 2014, 1:51am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/1 "2014-01-09T01:51:08Z")

</div>

can we bind say a radio button’s visibility to the maximize state of the easy chart?

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [January 9, 2014, 7:37pm UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/2 "2014-01-09T19:37:41Z")

</div>

I just ran into a situation where the ability to bind to an Easy Chart’s maximize state would be helpful too. Is there some way of accessing this property via scripting (it does not show in the properties editor)?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 10, 2014, 12:39am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/3 "2014-01-10T00:39:56Z")

</div>

The chart has a toggleMaximized() function that you can use. Try this in a button to test it out.`chart = event.source.parent.getComponent('Easy Chart')
chart.toggleMaximized()`Enjoy, but note that this is an internal function of the Easy Chart and could change at any new version without warning.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [January 10, 2014, 12:42am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/4 "2014-01-10T00:42:06Z")

</div>

Thanks Robert. I’ll likely find that helpful in the future. However, what I–and I think the OP–was looking for was a way to check the state (not change it).

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 10, 2014, 12:57am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/5 "2014-01-10T00:57:03Z")

</div>

Unfortunately I don’t know that one. There might not be a function for that.

---

<div class="post-metadata">

**Author:** ![howarddpsg](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@howarddpsg](https://forum.inductiveautomation.com/u/howarddpsg)\
**Post date:** [January 13, 2014, 4:03am UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/6 "2014-01-13T04:03:24Z")

</div>

yes what I am looking for is not to change the state of the chart but to use that state change to hide other buttons /text fields I have on the same screen.  
basically, when a client maximizes the chart, my buttons overlay and looks like a jumbled mess.  
If i could hide these, would look a lot cleaner.

---

<div class="post-metadata">

**Author:** ![adamaustin](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@adamaustin](https://forum.inductiveautomation.com/u/adamaustin)\
**Post date:** [January 13, 2014, 4:03pm UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/7 "2014-01-13T16:03:10Z")

</div>

You could use the undocumented toggleMaximized() function in your own custom button that would hide your controls and then maximize the chart. And likewise for its inverse operation.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [January 15, 2014, 8:05pm UTC](https://forum.inductiveautomation.com/t/easy-chart-maximize/7805/8 "2014-01-15T20:05:03Z")

</div>

That would do it; thanks adamaustin!
