---
title: "Add a line chart"
description: "You can add to a dashboard a line chart widget based on any inquiry window of Visma Net."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/customisation/manage-dashboard-pages/configure-dashboards/open-a-dashboard/add-a-line-chart/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/customisation/manage-dashboard-pages/configure-dashboards/open-a-dashboard/llms.txt


# Add a line chart

Last modified February 19, 2026

> You can add to a dashboard a line chart widget based on any inquiry window of Visma Net.


You can add to a dashboard a line chart widget based on any inquiry
window of Visma Net.
Once you have added and configured the line chart, you can zoom in on a region
of it.

## Open the Add widget dialog box

1. On the dashboard title bar, click **Design** to switch to design mode.
1. In one of the place holders in the widgets area, click **Add a new widget** to open the **Add widget** dialog box.
1. In the list of widgets, click **Chart**, and then click **Next** to open the **Widget properties** dialog box.


## Specify the settings that are common for all chart types as follows

1. In the **Inquiry screen** field, select the inquiry window that should provide the source data for the widget.
1. Optional: Click **Inquiry parameters** to change the default parameters for the selected inquiry.
1. Optional: In the **Shared filter to apply** field, select the shared filter that should be used to filter the data shown in the widget.
1. Optional: In the **Caption** field, type the name of the widget to be displayed on the dashboard.
1. Click **Configure** to open the **Chart settings** dialog box.


1. In the **Chart type** field, select **Line**.
1. Optional: In the **Legend position** field, change the location of the legend on the widget.

## In the Categories section, do the following

1. In the **Legend** field, select the column from the source window to provide the values for the horizontal axis.

1. Define the sorting of the values. In the **Sort by** fields, select the sequence to be sorted and the sorting order.
1. If you want to change the default maximum number of values (10) to be individually shown on the chart, specify the maximum number of values in the **Maximum number of values shown** field. (The system selects the largest values first.)
1. If you want to display the sum of the remaining values as a single element on the chart, select the **Show sum of other entries** check box.
1. Optional: If you have selected a date field in the **Legend** field, in the **Date rounding** field, select the part of the date field that will be shown on the widget.
1. In the **Format** field, specify the format of the numeric and date fields if it should differ from the original format.


## Optional: In the Series section, do the following

1. In the **Legend** field, select the column from the source window whose values will be displayed as separate lines in the data area of the chart.
1. Define the sorting of the values. In the **Sort by** fields, select the sequence to be sorted and the sorting order.
1. If you want to change the default maximum number of values (10) to be individually shown on the chart, specify the maximum number of values in the **Maximum number of values shown** field. (The system selects the largest values first.)
1. If you want to display the sum of the remaining values as a single element on the chart, select the **Show sum of other entries** check box.
1. Optional: If you have selected a date field in the **Legend** field, in the **Date rounding** field, select the part of the date field that will be shown on the widget.
1. In the **Format** field, specify the format of the numeric and date fields if it should differ from the original format.
1. Optional: In the **Colour** field, specify the custom colours of chart elements for values defined in the **Series** section. Use expressions to specify a colour depending on a value. For example: To make a chart element red if a field value is **USD** and blue if a field value is **EUR**, specify the following expression: `=Switch(Value = 'USD', '#FF0000', Value = 'EUR', '#0A26FF')`.

## In the Values section, do the following

1. In the **Value** field, select the column from the source window to provide the values for the categories.
1. In the **Aggregation** field, select the aggregate function to be applied to the field selected in the **Value** field.
1. In the **Format** field, specify the format of the numeric and date fields if it should differ from the original format.
1. Click **OK** to save your changes and close the **Chart settings** dialog box.
1. In the **Widget properties** dialog box, click **Finish** to add the chart to the dashboard.

## Parent topic


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/customisation/manage-dashboard-pages/configure-dashboards/open-a-dashboard/add-a-line-chart/)
