# XY Chart dashed line error warning and extending a line across the whole chart

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-dashed-line-error-warning-and-extending-a-line-across-the-whole-chart/70605>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 3, 2023, 8:01pm UTC](https://forum.inductiveautomation.com/t/xy-chart-dashed-line-error-warning-and-extending-a-line-across-the-whole-chart/70605 "2023-03-03T20:01:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [March 3, 2023, 8:01pm UTC](https://forum.inductiveautomation.com/t/xy-chart-dashed-line-error-warning-and-extending-a-line-across-the-whole-chart/70605/1 "2023-03-03T20:01:26Z")

</div>

**First issue**  
I added a horizontal line to my stacked bar graph I got from here:

> [@Stacked Bar Chart in Perspective - Detailed Steps](https://forum.inductiveautomation.com/t/stacked-bar-chart-in-perspective-detailed-steps/47107/6):
>
> Thanks for putting this all together. One other solution that I have found works well is to use the Time Series Chart but instead of setting it to a stacked Bar Chart to set it to a stacked Area Chart. I really like this because then I can still utilize items like the Zoom feature if I end up having a lot of data where my bars are going to be tiny even in an XY Chart.

However, if I put in a number like 10 for the `series[4].Line.Appearance.dashedarray` then I get an error, but the line is dashed.

If I put in the string, then a solid line appear instead of the line.

~~\*\*Second issue\*\* Also, for some reason, the line stops at half way through the final bar in my stacked bar chart.~~

~~I generated my line as a column with values 65%. It is set as a series.  
Here is an image of the line stopping too soon across the graph at the end. ~~  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/a/5aa7a6b15a55d79809a622f147fefc7fb9d984df.png)

**Third issue**  
Seems that my lines between are the same color as the bottom bar in my stacked bar graph.  
I kind of want that to be black.

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [March 8, 2023, 3:01pm UTC](https://forum.inductiveautomation.com/t/xy-chart-dashed-line-error-warning-and-extending-a-line-across-the-whole-chart/70605/2 "2023-03-08T15:01:47Z")

</div>

Ignition 8.1.19
