# Zooming out of a chart resets the configuration

**URL:** <https://forum.inductiveautomation.com/t/zooming-out-of-a-chart-resets-the-configuration/14957>\
**Category:** Ignition\
**Tags:** ignition78\
**Created:** [August 1, 2017, 10:00pm UTC](https://forum.inductiveautomation.com/t/zooming-out-of-a-chart-resets-the-configuration/14957 "2017-08-01T22:00:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![masa.maeda](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@masa.maeda](https://forum.inductiveautomation.com/u/masa.maeda)\
**Post date:** [August 1, 2017, 10:00pm UTC](https://forum.inductiveautomation.com/t/zooming-out-of-a-chart-resets-the-configuration/14957/1 "2017-08-01T22:00:35Z")

</div>

I’ve been having an issue with my chart configuration being reset every time the user zooms into then out of the chart. My charts are configured with configureChart.

I’m wondering if there is any way around this

Before Zoom:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b07b5fc55505959631972286710a44b2aeb98616.PNG)

I would post both pictures but “new users can only post one picture”

---

<div class="post-metadata">

**Author:** ![masa.maeda](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@masa.maeda](https://forum.inductiveautomation.com/u/masa.maeda)\
**Post date:** [August 1, 2017, 10:01pm UTC](https://forum.inductiveautomation.com/t/zooming-out-of-a-chart-resets-the-configuration/14957/2 "2017-08-01T22:01:06Z")

</div>

After Zoom:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3cc8525d40cfcee5180ad9eb761890c634b86381.PNG)

As you can see my line renderer and my legend configuration got reset to defaults.

---

<div class="post-metadata">

**Author:** ![masa.maeda](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@masa.maeda](https://forum.inductiveautomation.com/u/masa.maeda)\
**Post date:** [August 1, 2017, 10:23pm UTC](https://forum.inductiveautomation.com/t/zooming-out-of-a-chart-resets-the-configuration/14957/3 "2017-08-01T22:23:40Z")

</div>

I managed to hack together a solution, by having the function called on mouse events. Not ideal, but it works.
