--- title: "Scatter Chart" slug: "scatter-chart-widget" updated: 2026-04-17T07:35:36Z published: 2026-04-17T07:35:36Z canonical: "learn.servitly.com/scatter-chart-widget" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.servitly.com/llms.txt > Use this file to discover all available pages before exploring further. # Scatter Chart This widget displays a metrics values into a scatter chart. This widget displays XY points where X and Y are the values of the two input metrics and the value pairs are obtained by matching data points by timestamp. ![Scatter Chart](https://components-manager.servitly.com/components/ScatterChart_1/IMAGES/_screenshot?owner=AG_Servitly) You can also display lines between data points, and coloring the area between the line and the X or Y axis. Here is an example showing the progression of a drilling combining the Depth and RPM. ![](https://help.servitly.com/hc/article_attachments/12423767773212) ## Template Syntax Below you can find some examples of how to use the component within a template. ```xml                                                         ``` ## Component Reference Here is a comprehensive list of all the elements and properties that can be used to configure the component. #### Scatter Chart `<scatter-chart-widget>` | *Title* | The title displayed on the top part of the widget box. **Name**: title **Type**: STRING \| Optional `[title]="'Scatter Chart'"` | | --- | --- | | **Controls** | | *Export Enabled* | The boolean flag indicating whether the data export is enabled. **Name**: config.exportEnabled **Type**: BOOLEAN \| Optional **Default Value**: *false* `[config]="{exportEnabled: true}"` | | *Export File Type* | The export file type **Name**: config.exportFileType **Type**: ENUM \| Optional **Values**: *json*, *csv*, *xlsx* **Default Value**: *csv* `[config]="{exportFileType: 'json'}"` | | *Period Filter Enabled* | The boolean flag indicating whether the embedded period filter is available. **Name**: config.filterEnabled **Type**: BOOLEAN \| Optional **Default Value**: *false* `[config]="{filterEnabled: true}"` | | *Scrollbar Enabled* | The flag enabling the widget top scrollbar allowing the user to scroll and zoom data. **Name**: config.scrollbarEnabled **Type**: BOOLEAN \| Optional **Default Value**: *false* `[config]="{scrollbarEnabled: true}"` | | **Data** | | *Default Loading Period* | The default filtering period applied when entering the page. **Name**: config.defaultPeriodValue **Type**: PERIODS \| Optional **Default Value**: *LAST_7_DAYS* `[config]="{defaultPeriodValue: 'LAST_30_DAYS'}"` | | *Period Variable* | The id of the page's variable providing the date range filtering period, for instance the id of a . **Name**: inputs.period **Type**: STRING \| Optional `[inputs]="{period: 'period'}"` | | **Advanced** | | *Color* | The color used to display the bullets and lines. **Name**: config.color **Type**: STRING \| Optional **Default Value**: *#08B05B* `[config]="{color: '#007BFF'}"` | | *Show Bullets* | Indicates whether to display data point bullets. **Name**: config.showBullets **Type**: BOOLEAN \| Optional **Default Value**: *true* `[config]="{showBullets: false}"` | | *Show Timestamps* | Indicates whether to display the timestamps associated to data points. **Name**: config.showTimestamps **Type**: BOOLEAN \| Optional **Default Value**: *false* `[config]="{showTimestamps: true}"` | | **Rendering** | | *Availability* | Configure availability based on active features on Digital Plan on Add-ons **Name**: hasFeature **Type**: FEATURE (multiple) \| Optional `[hasFeature]="['feature_a', 'feature_b']"` | | *CSS Class* | The name(s) of the CSS class used to customize the widget layout. **Name**: class **Type**: STRING \| Optional `class="my-custom-class"` | | *Height* | The widget desired height (default 480px). **Name**: config.height **Type**: STRING \| Optional `[config]="{height: '250px'}"` | | *Visibility Condition* | The expression that allows you to reduce the visibility of the element. **Name**: *ngIf **Type**: STRING \| Optional `*ngIf="getUser().organizationId != null"` | | **Sub Elements** | | [*Metric*](/docs/scatter-chart-widget/#metric) | The X-axis (first) or Y-axis (second) metric whose values must be loaded by the widget. | #### Metric `<metric>` | *Filter* | The name of the filter used to transform and display values. **Name**: filter **Type**: FILTER \| Optional `filter="fooBarFilter"` | | --- | --- | | *Label* | The metric alternative label. **Name**: label **Type**: STRING \| Optional `label="Temperature"` | | *Name* | The metric whose value(s) must be loaded by the widget. **Name**: name **Type**: METRIC \| Required `name="Temperature"` | | *Unit* | The unit of measurement to be displayed along the value. **Name**: unit **Type**: STRING \| Optional `unit="&deg;C"` | | **Advanced** | | *Visibility Condition* | The expression that allows you to reduce the visibility of the element. **Name**: *ngIf **Type**: STRING \| Optional `*ngIf="getUser().organizationId != null"` | ## Full Syntax Example ```xml     ```