aspose.cells

Class PivotShowValuesSetting

Represents the settings about showing values as when the ShowDataAs calculation is in use.

Property Getters/Setters Summary
functiongetBaseFieldIndex()
function
           Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
functiongetBaseItemIndex()
function
           Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields.
functiongetBaseItemPositionType()
function
           Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute. The value of the property is PivotItemPositionType integer constant.
functiongetCalculationType()
function
           Represents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFormat integer constant.
 

    • Property Getters/Setters Detail

      • getCalculationType/setCalculationType : Number 

        function getCalculationType() / function setCalculationType(value)
        
        Represents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFormat integer constant.PivotFieldDataDisplayFormat
      • getBaseFieldIndex/setBaseFieldIndex : Number 

        function getBaseFieldIndex() / function setBaseFieldIndex(value)
        
        Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
      • getBaseItemPositionType/setBaseItemPositionType : Number 

        function getBaseItemPositionType() / function setBaseItemPositionType(value)
        
        Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute. The value of the property is PivotItemPositionType integer constant.PivotItemPositionType
      • getBaseItemIndex/setBaseItemIndex : Number 

        function getBaseItemIndex() / function setBaseItemIndex(value)
        
        Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields.