Adapting the styles

private void ChangeChannelSettings(Channel channel)
{
    SeriesStyle style = channel.SubMember.OfType<ChannelStyle>().First().SubMember.OfType<SeriesStyle>().First();
    style.DisplayColor = Color.Blue;
    style.MarkColor = Color.DarkBlue;
    style.LineWidth = 2;
}

Each of the elements created has "Style" properties as a sub-member, containing all the properties that can also be seen in the corresponding properties window in Visual Studio. For example, color and line width can be assigned in the style classes of a channel.

Overview of the various style hierarchies. The subordinate classes are always located in the SubMember lists of the superordinate class.

Chart

AxisGroup

Axis

Channel