
## PivotFieldTop10AutoShowSettings class

Represents the Top 10 AutoShow settings for a pivot field.

```javascript
class PivotFieldTop10AutoShowSettings;
```

### Remarks
In xls : Implementing top 10 filters in Xls through Top 10 AutoShow In ooxml files: The underlying ooxml file format supports Top10 AutoShow, but Excel 2007 and later user interface only provides access via Top10 filter. If XLS compatibility is not required, it is recommended to use Top10 filter instead.

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [isAutoShow](#isAutoShow--)| boolean | Indicates whether an "Top 10 AutoShow" filter is applied to this field. |
| [isTop](#isTop--)| boolean | Indicates whether the specified PivotTable field is autoshown ascending. |
| [autoShowCount](#autoShowCount--)| number | Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. |
| [rankBy](#rankBy--)| number | Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. |

## Methods

| Method | Description |
| --- | --- |
| [isAutoShow()](#isAutoShow--)| <b>@deprecated.</b> Please use the 'isAutoShow' property instead. Indicates whether an "Top 10 AutoShow" filter is applied to this field. |
| [setIsAutoShow(boolean)](#setIsAutoShow-boolean-)| <b>@deprecated.</b> Please use the 'isAutoShow' property instead. Indicates whether an "Top 10 AutoShow" filter is applied to this field. |
| [isTop()](#isTop--)| <b>@deprecated.</b> Please use the 'isTop' property instead. Indicates whether the specified PivotTable field is autoshown ascending. |
| [setIsTop(boolean)](#setIsTop-boolean-)| <b>@deprecated.</b> Please use the 'isTop' property instead. Indicates whether the specified PivotTable field is autoshown ascending. |
| [getAutoShowCount()](#getAutoShowCount--)| <b>@deprecated.</b> Please use the 'autoShowCount' property instead. Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. |
| [setAutoShowCount(number)](#setAutoShowCount-number-)| <b>@deprecated.</b> Please use the 'autoShowCount' property instead. Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. |
| [getRankBy()](#getRankBy--)| <b>@deprecated.</b> Please use the 'rankBy' property instead. Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. |
| [setRankBy(number)](#setRankBy-number-)| <b>@deprecated.</b> Please use the 'rankBy' property instead. Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |


### isAutoShow {#isAutoShow--}

Indicates whether an "Top 10 AutoShow" filter is applied to this field.

```javascript
isAutoShow : boolean;
```


### isTop {#isTop--}

Indicates whether the specified PivotTable field is autoshown ascending.

```javascript
isTop : boolean;
```


### autoShowCount {#autoShowCount--}

Represent the number of top or bottom items that are automatically shown in the specified PivotTable field.

```javascript
autoShowCount : number;
```


### rankBy {#rankBy--}

Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields.

```javascript
rankBy : number;
```


### isAutoShow() {#isAutoShow--}

<b>@deprecated.</b> Please use the 'isAutoShow' property instead. Indicates whether an "Top 10 AutoShow" filter is applied to this field.

```javascript
isAutoShow() : boolean;
```


### setIsAutoShow(boolean) {#setIsAutoShow-boolean-}

<b>@deprecated.</b> Please use the 'isAutoShow' property instead. Indicates whether an "Top 10 AutoShow" filter is applied to this field.

```javascript
setIsAutoShow(value: boolean) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | The value to set. |

### isTop() {#isTop--}

<b>@deprecated.</b> Please use the 'isTop' property instead. Indicates whether the specified PivotTable field is autoshown ascending.

```javascript
isTop() : boolean;
```


### setIsTop(boolean) {#setIsTop-boolean-}

<b>@deprecated.</b> Please use the 'isTop' property instead. Indicates whether the specified PivotTable field is autoshown ascending.

```javascript
setIsTop(value: boolean) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | The value to set. |

### getAutoShowCount() {#getAutoShowCount--}

<b>@deprecated.</b> Please use the 'autoShowCount' property instead. Represent the number of top or bottom items that are automatically shown in the specified PivotTable field.

```javascript
getAutoShowCount() : number;
```


### setAutoShowCount(number) {#setAutoShowCount-number-}

<b>@deprecated.</b> Please use the 'autoShowCount' property instead. Represent the number of top or bottom items that are automatically shown in the specified PivotTable field.

```javascript
setAutoShowCount(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### getRankBy() {#getRankBy--}

<b>@deprecated.</b> Please use the 'rankBy' property instead. Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields.

```javascript
getRankBy() : number;
```


### setRankBy(number) {#setRankBy-number-}

<b>@deprecated.</b> Please use the 'rankBy' property instead. Specifies the index of data field for AutoShow ranking. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields.

```javascript
setRankBy(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



