Is there a way to increase the line thickness or the border width in the following example of a chart of a switch or contact? Short spikes are very poorly visible.
Quick hint: Your post’s code will always be easier for others to read if you use code fences:
```
Code here
```
The charts use apache eCharts so you can always check that documentation to try and find options. It’s very comprehensive and well laid out (though sometimes slightly opaque):
In this case, you need the lineStyle object to set the width so it should, I think, look something like this:
Thanks for the answer and the tip with the fences!
Unfortunately, lineStyle and width do not make any change. Is it possible that only the area is marked and the border (line) is not displayed at all? The Echarts docu did not help me.
Yep, you’re absolutely right. I completely missed that. Because the boolean type item automatically use a markarea, the data is not being drawn as a line. In the eCharts docs you’ll see there’s also a section of markArea and in this case you modify that using the itemStyle object. So, if you want to draw a border around your marked areas it would look like this: