# Unexpected Conversion in series dashArray with XY Chart

**URL:** <https://forum.inductiveautomation.com/t/unexpected-conversion-in-series-dasharray-with-xy-chart/56743>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 2, 2022, 8:16pm UTC](https://forum.inductiveautomation.com/t/unexpected-conversion-in-series-dasharray-with-xy-chart/56743 "2022-03-02T20:16:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 2, 2022, 8:16pm UTC](https://forum.inductiveautomation.com/t/unexpected-conversion-in-series-dasharray-with-xy-chart/56743/1 "2022-03-02T20:16:19Z")

</div>

Ignition Version 8.1.14

When trying to set the dashArray property of a series and Input like 1,1 is interpreted as an integer, and you get a warning saying that an integer was found but a string was expected. Not so bad, except the comma is then removed and the value becomes 11.

The manual seems to indicate that you must use string literals, however, when you use string literals no dashes are rendered.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d82fae5e0b4436117b912e0115ac043dcabba1a3.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f7b8975cf6c10167defd6973440a11205518de13.png)

---

<div class="post-metadata">

**Author:** ![michael.howe](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@michael.howe](https://forum.inductiveautomation.com/u/michael.howe)\
**Post date:** [October 5, 2023, 6:24pm UTC](https://forum.inductiveautomation.com/t/unexpected-conversion-in-series-dasharray-with-xy-chart/56743/2 "2023-10-05T18:24:30Z")

</div>

Hi, I just found this thread trying to figure out the same issue. I tried out adding "px" to the number (e.g. dashArray: 20px) and that resolved the issue. I'm sure you've moved well on from there by now, but this might help the next person looking for an answer.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/d/2dc17023bf96cc2da17aa4f8fc7d4bc7871b257e.png)
