How to make double line chart not rounded in the end (how to change cap style)?

When I create a line chart in Excel and change line style to double, I can see something similar to the image below:

enter image description here

As you can see the beggining and ending are rounded. I want to get rid of that, so it looks like this:

enter image description here

It can be done by changing line "cap type". I have tried exploring Series.Format.Line methods and properties but all I can do is modify beggining/ending arrows, there is no property/method for cap. I have also tried to use excel macro recorder to try and somehow expose this property/method but I have not been successful. I have also tried to search through various Excel/VBA forums but nothing helped.

Anyone able to help with my issue? I am looking for solution in VBA and VB.NET.



from Recent Questions - Stack Overflow https://ift.tt/3pFPlxV
https://ift.tt/3mbA7OX

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)