# Setting Up Control Charts (QMS)

[QualityOne Vaults](/en/lr/78610/) allow users to view plotted graphs of inspection data for material assessment and quality control improvements. You can configure a _Control Chart_ section to display on _Material_ records, enabling users to apply filters and generate a [control chart](/en/lr/627669/) that visualizes related [Inspections](/en/lr/63414/) data.

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: Vaults using the legacy data model (prior to the 21R2 release) do not have access to Control Charts. Contact your Veeva Representative for more details.</p>
    </div>
  </div>
</div>



## Configuration Overview

Configuring your Vault to use Control Charts involves the following steps:

* [Add a _Control Chart_ section to the _Material_ object layout][3]
* [Configure user permissions][1]

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: Depending on your Vault’s creation date and which features are currently enabled and configured, some of the steps described in this article may be unavailable or already complete in your Vault.</p>
    </div>
  </div>
</div>



## Configuring the Control Chart Section {#cc-section}

To add the _Control Chart_ section to the _Material_ object layout:

1. In the _Material_ [object layout](/en/lr/26387/#how-to-access-page-layouts), click **Insert Section**.
2. Select **Control Chart**.
3. Optional: Enter a **Section Label**.
4. From the **Data Range** drop-down:
   * Select **Date Range** to let users select the range of dates to display based on the _Test Result Date_ field on relevant _Inspection Sample Test Result_ records. _Date Range_ is the default value of the _Data Range_ drop-down.
   * Select **Sample Count**  to let users specify the number of samples to display.
5. Click **Done**.
6. Click **Save**.

See [Viewing Control Charts](/en/lr/627669/#chart-filters) for information on control chart filters.

## Configuring User Permissions {#config-user}

You must ensure users have the appropriate read and create [permissions](/en/lr/22824/) to access the appropriate objects and object fields in addition to the permissions outlined below:

* To generate control charts, users must have _Read_ permission for the following objects:
  * _Characteristic_
  * _Facility_
  * _Inspection Plan_
  * _Inspection Sample Test Result_
  * _Material_
  * _Organization_

## Related Permissions {#permissions}

You can complete all the steps in this article with the standard _System Administrator_ or _Vault Owner_ security profile. If your Vault uses custom security profiles, your profile must grant the following [permissions](/en/lr/22824/):

<table>
  <tr>
    <th><strong>Type</strong></th>
    <th><strong>Permission</strong></th>
    <th><strong>Controls</strong></th>
  </tr>
  <tr>
    <td>Security Profile</td>
    <td>Application: Vault Owner Actions: All Object Records: All Object Record Read</td>
    <td>Ability to view Vault object records and control charts.</td>
  </tr>
</table>

[1]: #config-user
[2]: #permissions
[3]: #cc-section