diff --git a/docs/customize-pages-dashboards-and-plugins/dashboards/custom-widgets.md b/docs/customize-pages-dashboards-and-plugins/dashboards/custom-widgets.md index 796ac87674..78496cc27a 100644 --- a/docs/customize-pages-dashboards-and-plugins/dashboards/custom-widgets.md +++ b/docs/customize-pages-dashboards-and-plugins/dashboards/custom-widgets.md @@ -313,3 +313,5 @@ The following table lists the identifiers for each custom widget type: | Action card | `action-card-widget` | | Action history | `action-runs-table-widget` | | Markdown | `markdown` | +| AI Agent | `ai-agent` | +| Links | `links-widget` | \ No newline at end of file diff --git a/docs/customize-pages-dashboards-and-plugins/dashboards/data-widgets.md b/docs/customize-pages-dashboards-and-plugins/dashboards/data-widgets.md index 8a3e4c717c..a53ae345be 100644 --- a/docs/customize-pages-dashboards-and-plugins/dashboards/data-widgets.md +++ b/docs/customize-pages-dashboards-and-plugins/dashboards/data-widgets.md @@ -22,7 +22,7 @@ You can choose one of these chart types: You can also filter entities so the aggregation number chart will only apply to a limited set of entities with Port's [Search Rules](/search-and-query/search-and-query.md#rules) ::: -### Time filtering in number charts vs. line charts +
-### Number chart properties
+### Properties
| Field | Type | Description | Default | Required |
| ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | -------- |
@@ -187,12 +187,43 @@ Bar charts illustrate data from entities in your software catalog divided by cat
## Line chart
-Line charts visualize trends over time, either by tracking `number` properties of entities or by tracking the entities themselves.
+:::info New line chart capabilities
+Starting [PLACEHOLDER], the line chart has been enhanced with new capabilities. Existing line charts remain fully functional, backward compatible, and can still be edited through the UI and API.
-Port offers three types of line charts:
-1. [Property history (single entity)](#1-property-history-single-entity) - displays the values of one or more properties of a single entity.
-2. [Aggregate property (all entities)](#2-aggregate-property-all-entities) - displays the aggregated values of one or more properties across all entities of a specific blueprint.
-3. [Count entities (all entities)](#3-count-entities-all-entities) - displays either the total count of entities or the average number of entities from a specific blueprint over time.
+The new line chart offers greater flexibility by letting you combine multiple line chart types in a single widget. If you want to use these enhanced capabilities, you should create a new line chart. Note that in the API, the new line chart is named `multi-line-chart`.
+:::
+
+Line charts visualize trends over time, either by tracking `number` properties of entities or by tracking the entities themselves.
+A single line chart widget can display multiple lines, allowing you to compare different metrics side by side.
+
+Port offers three types of lines:
+1. [Property history (single entity)](#property-history-single-entity) - displays the values of one or more properties of a single entity.
+2. [Aggregate property (all entities)](#aggregate-property-all-entities) - displays the aggregated values of one or more properties across all entities of a specific blueprint.
+3. [Count entities (all entities)](#count-entities-all-entities) - displays either the total count of entities or the average number of entities from a specific blueprint over time.
+
+
@@ -303,40 +316,28 @@ If you choose to break down the chart by a property, each line will represent a
This chart type reflects the **current state** of the catalog and recalculate when data changes.
-When creating this type of line chart:
+When creating this line type:
-1. Choose the **blueprint** you want to visualize.
+1. Give the line a **title**.
-2. Under the `Y axis` section:
- - Give the axis a title.
+2. Choose the **chart type**: `Count entities`.
- - Choose one of the following functions:
- - `count`: Counts the number of entities in each time interval.
- - `average`: Calculates the average number of entities in each time interval.
+3. Choose the **blueprint** you want to visualize.
- - Optionally, break down the chart by a specific blueprint `breakdown property`, generating a separate line for each distinct value of that property.
-
- - Optionally, define [additional filters](#chart-filters) in order to include/exclude specific entities from the chart.
- For example, filter the entities by a specific property value, or by a specific time range.
+4. Choose one of the following functions:
+ - `count`: Counts the number of entities in each time interval.
+ - `average`: Calculates the average number of entities in each time interval.
-3. Under the `X axis` section:
- - Give the axis a title.
-
- - Choose one of the blueprint's `datetime` properties by which to **measure the time** of the chart data.
- This can be the entity's creation time, last update time, or any other `datetime` property.
+ The selected time interval determines how the function is calculated.
+ For example, if the time interval is a week:
+ - The `count` function will count the total entities that week.
+ - The `average` function will count the total entities that week and divide it by 7.
- - Choose a **time interval**, which is the amount of time between each data point in the chart.
- The selected interval also determines how the function is calculated:
+ The same logic applies to all time intervals: `Hour`, `Day`, `Week`, and `Month` - when using the `average` function, the total entity count will be divided by 60, 24, 7, and 30 respectively.
- For example, if the time interval is a week, each data point will be calculated in the following manner:
- - The `count` function will count the total entities that week.
- - The `average` function will count the total entities that week and divide it by 7.
-
- The same logic applies to all time intervals: `Hour`, `Day`, `Week`, and `Month` -
- when using the `average` function, the total entity count will be divided by: 60, 24, 7, and 30 respectively.
-
- - Choose a **time range** for the chart, which is how far back in time the chart will display data (the maximum is 1 year).
- Note that the available time ranges differ according to the selected time interval.
+5. Optionally, break down the chart by a specific **breakdown property**, generating a separate line for each distinct value of that property.
+
+6. Optionally, define [additional filters](#chart-filters) to include/exclude specific entities from the chart.
For example, here is a line chart displaying the average deployment rate over the span of a month, in weekly intervals, broken down by the `status` property (Success and Fail).
@@ -506,5 +507,7 @@ The following table lists the identifiers for each data widget type:
| ----------- | ---------- |
| Number chart | `entities-number-chart` |
| Pie chart | `entities-pie-chart` |
+| Bar chart | `bar-chart` |
| Line chart | `line-chart` |
+| New line chart | `multi-line-chart` |
| Table | `table-entities-explorer` |
\ No newline at end of file