The properties of the legend item mark line.
The following examples adds a new item to the legend and changes the mark line
properties.
Dim legend As Legend = CType(NChartControl.Legends(0), Legend)
legend.Mode = LegendMode.Manual
Dim item As LegendDataItem = New LegendDataItem()
item.Text = "New item"
item.MarkShape = LegendMarkShape.None
item.LineProps.Width = 1
item.LineProps.Color = Color.Red
legend.Data.Array.Add(item)
Legend legend = (Legend)NChartControl.Legends[0];
legend.Mode = LegendMode.Manual;
LegendDataItem item = new LegendDataItem();
item.Text = "New item";
item.MarkShape = LegendMarkShape.None;
item.LineProps.Width = 1;
item.LineProps.Color = Color.Red;
legend.Data.Array.Add(item);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2