0

I have Chart Control that received real data and i want to add this horizontal line in order to calculate average value.

user3271698
  • 145
  • 3
  • 9
  • 19
  • 3
    you need to improve this question, include a lot more detail about what char control, wpf, winforms, asp.net, etc etc. And what you have already tried – Keith Nicholas Feb 21 '14 at 00:15
  • How does a horizontal line calculate an average? Please improve your question. – Derek W Feb 21 '14 at 00:32
  • User @ Derek W: The Straight line will calculate the average traffic according number of point currently in the chart – user3271698 Feb 21 '14 at 04:49
  • Possible duplicate of [Add horizontal line to chart in C#](https://stackoverflow.com/questions/21990022/add-horizontal-line-to-chart-in-c-sharp) – Zorgarath Jun 08 '17 at 19:59

1 Answers1

1

If you just want a constant horizontal line, you can add a Stripline. If you have DevExpress controls they make this simple with the ConstantLine object.

bd33
  • 502
  • 1
  • 15
  • 30