Hi. How do I add permanent horizontal lines on a chart? For example, if I want a solid horizontal line where Y=3 and Y=-3, where the X-value doesn't have any bearing. The lines also would not have a separate legend from all the other series lines. How do I do this?
Thanks ahead.
Adding permanent/anchor horizontal lines on chart
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
Re: Adding permanent/anchor horizontal lines on chart
Add a ValueMarker to the range axis for each y-value you would like to draw a horizontal line.paololim wrote:How do I add permanent horizontal lines on a chart? For example, if I want a solid horizontal line where Y=3 and Y=-3, where the X-value doesn't have any bearing.
You will need to create a custom LegendItem for each and add it to the chart's LegendItemCollection.paololim wrote:The lines also would not have a separate legend from all the other series lines.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA