ActiveReports 8
Constant Lines and Stripes
Show AllShow All
Hide AllHide All

The Chart control supports constant lines and stripes through the use of the WallRanges collection. It allows you to display horizontal or vertical lines or stripes in a chart to highlight certain areas. For example, you could draw a stripe in a chart to draw attention to a high level in the data or draw a line to show the average value of the data presented.

Note: The Chart control does not aggregate average values. Please aggregate the average values beforehand and then render the line.

Important properties

The following code demonstrates how to create wall ranges, set their properties, and assign them to a chart area at run time. The results are shown in the image above.

To write code in Visual Basic.NET

To write code in C#

See Also
Support Forum