Xceed Chart for WinForms v4.4 Documentation
VerticalLinesProps Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendData Class : VerticalLinesProps Property
The line properties used to draw the vertical legend grid lines.
Syntax
'Declaration
 
<CategoryAttribute("General")>

<DescriptionAttribute("The line properties used to draw the vertical legend grid lines.")>

Public Property VerticalLinesProps As LineProperties
'Usage
 
Dim instance As LegendData

Dim value As LineProperties

 

instance.VerticalLinesProps = value

 

value = instance.VerticalLinesProps
[Category("General")]

[Description("The line properties used to draw the vertical legend grid lines.")]

public LineProperties VerticalLinesProps {get; set;}
Remarks
By default the vertical grid lines are solid black with width 1.
Example
The following example disables the vertical grid lines.
Dim legend As Legend = CType(NChartControl.Legends(0), Legend)

legend.Data.VerticalLinesProps.Width = 0
Legend legend = (Legend)NChartControl.Legends[0];

legend.Data.VerticalLinesProps.Width = 0;
Requirements

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

See Also

Reference

LegendData Class
LegendData Members