Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / LegendData Class / HorizontalLinesProps Property
Example


In This Topic
    HorizontalLinesProps Property
    In This Topic
    The line properties used to draw the horizontal legend grid lines.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The line properties used to draw the horizontal legend grid lines.")>
    Public Property HorizontalLinesProps As LineProperties
    'Usage
     
    Dim instance As LegendData
    Dim value As LineProperties
     
    instance.HorizontalLinesProps = value
     
    value = instance.HorizontalLinesProps
    [Category("General")]
    [Description("The line properties used to draw the horizontal legend grid lines.")]
    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