# XYChart :: series visibility and dot instead of connected lines

**URL:** <https://forum.inductiveautomation.com/t/xychart-series-visibility-and-dot-instead-of-connected-lines/32853>\
**Category:** Ignition\
**Created:** [March 5, 2020, 8:01pm UTC](https://forum.inductiveautomation.com/t/xychart-series-visibility-and-dot-instead-of-connected-lines/32853 "2020-03-05T20:01:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beaudoin.stephane](https://avatars.discourse-cdn.com/v4/letter/b/8edcca/32.png) [@beaudoin.stephane](https://forum.inductiveautomation.com/u/beaudoin.stephane)\
**Post date:** [March 5, 2020, 8:01pm UTC](https://forum.inductiveautomation.com/t/xychart-series-visibility-and-dot-instead-of-connected-lines/32853/1 "2020-03-05T20:01:56Z")

</div>

Hi, I have 2 questions about the XYChart.  
First, I am trying to figure out how to hide/show series on a XYChart. I was tried to use the series[0].visible=true/false but no success.  
My second thing: I want to show only dots on a XYChart without showing connected lines. I want to make sure my settings correct:  
I put the param :  
series[0].defaultState.visible = false  
series[0].render:line  
series[0].line.appearance.bullets[0].enabled:true  
series[0].line.appearance.bullets[0].render:circle  
series[0].line.appearance.bullets[0].fill.color: (#hexcolor)  
series[0].line.appearance.bullets[0].stroke.width:0

Thanks

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [March 5, 2020, 10:29pm UTC](https://forum.inductiveautomation.com/t/xychart-series-visibility-and-dot-instead-of-connected-lines/32853/2 "2020-03-05T22:29:54Z")

</div>

The only issue with your settings is the path to the stroke width.  
Instead of :  
`series[0].line.appearance.bullets[0].stroke.width`  
It should be:  
`series[0].line.appearance.stroke.width`

As for the visible flag not working, that was found internally in 8.0.3 but looks like it is going to be fixed as part of 8.0.10.
