Xceed Chart for WinForms v4.4 Documentation
HorizontalLinesProps Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendData Class : HorizontalLinesProps Property
The line properties used to draw the horizontal legend grid lines.
Syntax
'Declaration
 
<DescriptionAttribute("The line properties used to draw the horizontal legend grid lines.")>
<CategoryAttribute("General")>
Public Property HorizontalLinesProps As LineProperties
'Usage
 
Dim instance As LegendData
Dim value As LineProperties
 
instance.HorizontalLinesProps = value
 
value = instance.HorizontalLinesProps
[Description("The line properties used to draw the horizontal legend grid lines.")]
[Category("General")]
public LineProperties HorizontalLinesProps {get; set;}
Remarks
By default the horizontal grid lines are solid black with width 1.
Example
The following example disables the horizontal grid lines.
Dim legend As Legend = CType(NChartControl.Legends(0), Legend)
legend.Data.HorizontalLinesProps.Width = 0
Legend legend = (Legend)NChartControl.Legends[0];
legend.Data.HorizontalLinesProps.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