Skip to content

Example of Strip Line Recurrence in ASP.NET MVC Charts Control

This example repeats a strip line at a fixed distance, to mark the weekends of a daily chart.

A strip line with RepeatEvery is drawn again at a fixed distance: here a band of two days every seven days (the weekends), and a line at every 10,000 on the Y axis. RepeatUntil stops the repeats; without it they run to the axis' Maximum.