# Change easy chart axis property in script

**URL:** <https://forum.inductiveautomation.com/t/change-easy-chart-axis-property-in-script/78462>\
**Category:** Ignition\
**Created:** [August 28, 2023, 5:25pm UTC](https://forum.inductiveautomation.com/t/change-easy-chart-axis-property-in-script/78462 "2023-08-28T17:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![filipg](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@filipg](https://forum.inductiveautomation.com/u/filipg)\
**Post date:** [March 10, 2024, 2:25am UTC](https://forum.inductiveautomation.com/t/change-easy-chart-axis-property-in-script/78462/4 "2024-03-10T02:25:29Z")

</div>

> [@zbinder](#):
>
> Cell Update binding on the Axes dataset

I created a memory tag "[client]UI/USERS/Sensors/ezchart\_auto\_range"

Under "Chart Configuration" for EZChart, I went to Axes and clicked on "Dataset Editor", copied to clipboard, and modified it (per [this posting](https://forum.inductiveautomation.com/t/indirectly-addressing-upper-bound-for-easy-chart-axes/33096)) to use my tag instead of a fixed value.

```auto
"#NAMES"
"NAME","LABEL","TYPE","LABEL_COLOR","TICK_LABEL_COLOR","TICK_MARK_COLOR","POSITION","INVERT","AUTO_RANGE","AUTO_RANGE_INCL_ZERO","AUTO_RANGE_MARGIN","LOWER_BOUND","UPPER_BOUND","AUTO_TICK_UNITS","TICK_UNIT","GRID_UNIT","NUMBER_FORMAT","LOG_LABEL_STYLE","SYMBOL_STRING","GRID_BANDS_VISIBLE","GRID_BAND_COLOR","GRID_BAND_ALTERNATE_COLOR"
"#TYPES"
"str","str","str","clr","clr","clr","I","B","B","B","D","D","D","B","D","D","str","str","str","B","clr","clr"
"#ROWS","1"
"MoirePSI","PSI","Numeric","color(0,0,0,255)","color(0,0,0,255)","color(0,0,0,255)","0","false","[client]UI/USERS/Sensors/ezchart_auto_range","false","0.05","-16.0","16.0","false","1.0","10.0","","normal","","false","color(232,234,232,128)","color(0,0,0,0)"

```

However, when I try to paste this back into Designer, I get following error:

```auto
ClassCastException: Error trying to coerce '[client]ui/users/sensors/ezchart_auto_range' to a number.

```

I tried boolean and integer types for my memory tag and {} around its reference in dataset editor, but error is always the same. I'm too tired (on daily basis) to try [doing much scripting](https://forum.inductiveautomation.com/t/cell-binding-using-indirect-tag-change-dataset-by-scripting/20115/5), so looking for simpler way.

I'm using Ignition v8.1.35 (b2023120517)

---

_[View the full topic](https://forum.inductiveautomation.com/t/change-easy-chart-axis-property-in-script/78462)._
