# APEX CHART reset position in python cript

**URL:** <https://forum.inductiveautomation.com/t/apex-chart-reset-position-in-python-cript/98122>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 4, 2024, 2:38pm UTC](https://forum.inductiveautomation.com/t/apex-chart-reset-position-in-python-cript/98122 "2024-11-04T14:38:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavien](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@flavien](https://forum.inductiveautomation.com/u/flavien)\
**Post date:** [November 4, 2024, 2:38pm UTC](https://forum.inductiveautomation.com/t/apex-chart-reset-position-in-python-cript/98122/1 "2024-11-04T14:38:12Z")

</div>

Hi,

I would like to reset chart position (like home button in toolbar) but in a python script which get data form database.  
Is it possible ?

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [November 4, 2024, 2:54pm UTC](https://forum.inductiveautomation.com/t/apex-chart-reset-position-in-python-cript/98122/2 "2024-11-04T14:54:32Z")

</div>

To confirm, it seems you're asking if on the open source [Apex Charts Module](https://github.com/Kyvis-Labs/ignition-apexcharts-module/tree/master) there is a way to call a method against the component to reset the zoom level? Something like a `self.resetZoom()`?

Short answer, no. I do not see one in the module.

Long answer: A PR could be written to merge the functionality in, it wouldn't be a ton of work.

---

<div class="post-metadata">

**Author:** ![flavien](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@flavien](https://forum.inductiveautomation.com/u/flavien)\
**Post date:** [November 4, 2024, 3:47pm UTC](https://forum.inductiveautomation.com/t/apex-chart-reset-position-in-python-cript/98122/3 "2024-11-04T15:47:18Z")

</div>

Yes. A resetZoom() would be perfect 😔
