ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc.Olap Namespace / PivotChart Class / ShowLegend Property






In This Topic
    ShowLegend Property (PivotChart)
    In This Topic
    Gets or sets a value that determines whether the chart should include a legend.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property ShowLegend As LegendVisibility
    'Usage
     
    
    Dim instance As PivotChart
    Dim value As LegendVisibility
     
    instance.ShowLegend = value
     
    value = instance.ShowLegend
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public LegendVisibility ShowLegend {get; set;}
    public read-write property ShowLegend: LegendVisibility; 
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    public function get,set ShowLegend : LegendVisibility
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public: __property LegendVisibility get_ShowLegend();
    public: __property void set_ShowLegend( 
       LegendVisibility value
    );
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public:
    property LegendVisibility ShowLegend {
       LegendVisibility get();
       void set (    LegendVisibility value);
    }
    See Also