Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl.Rdl2008 Namespace / ChartLegend Class
Properties Methods


In This Topic
    ChartLegend Class Members
    In This Topic

    The following tables list the members exposed by ChartLegend.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the ChartLegend class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether to NOT autosize text to fit in the legend area.

    Default: False.

     
    Public PropertyGets or sets the type of separator to use for the columns.

    Default: ChartLine.None.

     
    Public PropertyGets or sets the color to use for the column separator.

    Default: Black.

     
    Public PropertyGets or sets the spacing between columns as percentage of the font size.

    Default: 50.

     
    Public PropertyGets or sets the ChartElementPosition object defining a custom position for the legend. If null, automatic positioning will be used.  
    Public PropertyGets or sets a value indicating whether the title should be docked outside the chart area rather than inside the chart area. Ignored if DockToChartArea is not set.  
    Public PropertyGets or sets the name of the chart area on which to draw the legend. If omitted (or does not match any chart area name), the legend is drawn relative to the chart rather than a specific chart area.  
    Public PropertyGets or sets a value indicating whether legend items should be equally spaced.

    Default: False.

     
    Public PropertyGets or sets the type of separator to use for the legend header.

    Default: ChartLine.None.

     
    Public PropertyGets or sets the color to use for the legend header separator.

    Default: Black.

     
    Public PropertyGets or sets a value indicating whether the legend is hidden.  
    Public PropertyGets or sets a value indicating whether legend rows should use interlaced colors.  
    Public PropertyGets or sets the background color to use for interlaced legend rows.

    If null (default), the chart area background color will be used.

     
    Public PropertyGets or sets the arrangement of labels within the legend.

    Default: ChartLegendLayout.AutoTable.

     
    Public PropertyGets or sets the maximum size for the legend, as percentage of the chart size.

    Default: 50.

     
    Public PropertyGets or sets the minimum size for autosized legend text.

    Default: 7pt.

     
    Public PropertyGets or sets the unique name of the current object. If an item with the specified name already exists in the collection, an exception is thrown. (Inherited from C1.C1Preview.NamedCollectionItem)
    Public PropertyGets the C1.C1Preview.NamedCollection containing the current object. (Inherited from C1.C1Preview.NamedCollectionItem)
    Public PropertyGets or sets the position of the legend.

    Default: ChartElementAutoPosition.RightTop.

     
    Public PropertyGets or sets a value indicating that the direction of the legend should be reversed.

    Default: Auto.

     
    Public PropertyGets the Style object defining style properties for the legend.  
    Public PropertyGets or sets the number of characters after which to wrap the legend text.

    Default: 25

     
    Public PropertyGets the ChartLegendTitle object defining properties of the legend's title.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Copies properties from another ChartLegend to the current object.  
    Public MethodCreates a copy of the current C1.C1Preview.NamedCollectionItem object. Note that the C1.C1Preview.NamedCollectionItem.Owner property is not copied to the new object. (Inherited from C1.C1Preview.NamedCollectionItem)
    Top
    Protected Methods
     NameDescription
    Protected MethodSets the name of the current item. (Inherited from C1.C1Preview.NamedCollectionItem)
    Protected MethodFor internal use. (Inherited from C1.C1Preview.NamedCollectionItem)
    Top
    See Also