---
schema_version: "1"
id: 18eaa3d1863a5860f95bab5ce51231ba73aa30ce2cfbb9086fc90c3ac2767de9
title: ListViewChart
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_listviewchart.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_listviewchart.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2e3c87d40543c03bbdd60e195f7abbc4cd97f844648fe51d7b3eed654334dc19
description: Represents a graphical chart that’s displayed on Salesforce for Android, iOS, and mobile web list views. The chart aggregates data that is filtered based on the list view that’s currently displayed. This object is available in API version 33.0 and later and is accessible by portal users.
---
# ListViewChart

Represents a graphical chart that’s displayed on Salesforce for Android, iOS, and mobile web list views. The chart aggregates data that is filtered based on the list view that’s currently displayed. This object is available in API version 33.0 and later and is accessible by portal users.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Fields

| Name | Description |
| --- | --- |
| AggregateField | 
Type

picklist

Properties

Create, Filter, Group, Nillable, Query, Restricted picklist, Retrieve, Sort, Update

Description

The field that’s used for calculating data on each group. AggregateField can’t be the same as GroupingField.



 |
| AggregateType | 

Type

picklist

Properties

Create, Filter, Group, Query, Restricted picklist, Retrieve, Sort, Update

Description

The type of calculations to run on each group. The supported AggregateType values are Count, Sum, and Avg.



 |
| ChartType | 

Type

picklist

Properties

Create, Filter, Group, Query, Restricted picklist,Retrieve, Sort, Update

Description

The type of chart to create. The supported chart types are horizontal bar chart, vertical bar chart, and donut chart.



 |
| DeveloperName | 

Type

string

Properties

Create, Filter, Group, Query, Retrieve, Sort, Update

Description

The fully qualified developer name of the chart.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| GroupingField | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Query, Restricted picklist, Retrieve, Sort, Update

Description

The field that’s used to divide the data into collections. The field must be supported by SOQL GROUP BY functionality. GroupingField can’t be the same as AggregateField.



 |
| Language | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The language of the MasterLabel.



 |
| MasterLabel | 

Type

string

Properties

Create, Filter, Group, Query, Retrieve, Sort, Update

Description

The label for the chart.



 |
| OwnerId | 

Type

reference

Properties

Create, Filter, Group, Query, Retrieve, Sort, Update

Description

The ID of the user who owns the chart.

This is a relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

User



 |
| SobjectType | 

Type

picklist

Properties

Create, Filter, Group, Query, Restricted picklist, Retrieve, Sort

Description

The API name of the sObject for the chart.



 |