Chart.HasPivotFields Property
Gets or sets a value that indicates whether the PivotChart controls are displayed on the specified PivotChart report.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property HasPivotFields As Boolean
Get
Set
bool HasPivotFields { get; set; }
Property Value
Type: System.Boolean
true if the PivotChart controls are displayed on the specified PivotChart report; otherwise, false. The default value is true. For a regular chart, this property always returns false and cannot be set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.