Skip to content

Commit a13960a

Browse files
authored
Merge pull request MicrosoftDocs#3178 from MicrosoftDocs/matp-1922613
Adding new topic per 1922613
2 parents d44f384 + aeb5ef1 commit a13960a

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,8 @@
10781078
href: ./model-driven-apps/optimize-form-performance.md
10791079
- name: How to work with sections in a form
10801080
href: ./model-driven-apps/section-properties-legacy.md
1081+
- name: How to add a chart to a form
1082+
href: ./model-driven-apps/add-chart-to-form.md
10811083
- name: How to configure Bing maps in a form
10821084
href: ./model-driven-apps/configure-bing-maps-legacy.md
10831085
- name: How to assign form order
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Add a chart to a model-driven app main form in Power Apps | MicrosoftDocs
3+
description: Learn how to add a chart to a main form
4+
Keywords:
5+
author: Mattp123
6+
applies_to:
7+
- "Dynamics 365 (online)"
8+
- "Dynamics 365 Version 9.x"
9+
- "powerapps"
10+
ms.author: sumli
11+
manager: kvivek
12+
ms.reviewer: matp
13+
ms.date: 07/27/2020
14+
ms.service: powerapps
15+
ms.topic: article
16+
ms.assetid:
17+
search.audienceType:
18+
- maker
19+
search.app:
20+
- PowerApps
21+
- D365CE
22+
---
23+
# Add a chart to a form
24+
25+
You can add a chart to a form or change an existing list to a chart. For example, you can change the Child Accounts filtered sub-grid to display a chart instead of a list on the account main form.
26+
27+
> [!div class="mx-imgBorder"]
28+
> ![Account main form child accounts grid](media/main-form-child-accts-chart.png)
29+
30+
1. Sign into Power Apps, select **Solutions**, open the solution with the entity you want, and then select the **Forms** tab.
31+
2. Open the form where you want to add a chart or change a list to a chart, on the form designer command bar, and then select **Switch to classic**.
32+
3. Add a sub-grid to the form, or to change an existing list in a sub-grid, double-click a sub-grid on the form.
33+
4. On the **Set Properties** page for the sub-grid, select the **Show Chart Only** option. When enabled, this option displays the view in a chart format.
34+
> [!div class="mx-imgBorder"]
35+
> ![Show chart only](media/form-show-chart-only.png)
36+
37+
5. On the **Set Properties** page for the sub-grid, consider from the following options that affect how the chart is displayed, and then select **OK**. For more information about these properties, see [Set properties for a model-driven app chart or list included in a dashboard](set-properties-chart-list-included-dashboard.md).
38+
- **Records**:
39+
- **Only Related Records**: Shows the records based on the selected view, but only with records related to the entity record.
40+
- **All Record Types**: Shows all the records based on the selected view.
41+
- **View Selector**: When enabled, users can change to a different view, which displays the chart with different data and filtering that are associated with the view:
42+
- **Off**. Don’t display the view selector. You or other users won’t be able to change views at runtime.
43+
- **Show All Views**. Provide a full list of views associated with the value set in the **Entity** property.
44+
- **Show Selected Views**. Select this setting to limit the list of views available at runtime. To select the specific views to be displayed, hold down the Ctrl key and tap or select each view you want to include.
45+
- **Display Chart Selection**: When enabled, users can change the type of chart (column, bar, pie, etc.) on the form. If the user changes the type of chart, the settings aren’t saved. The chart type reverts to the **Default Chart** setting when the form is closed.
46+
47+
5. Publish your customization. More information: [Publish changes](../common-data-service/create-solution.md#publish-changes)
48+
49+
### See also
50+
[Create a model-driven app system chart](create-edit-system-chart.md)
Loading
Loading

0 commit comments

Comments
 (0)