Visma Net
Add a bar chart
You can add to a dashboard a bar chart widget based on any inquiry window of Visma Net.
Open the Add widget dialog box:
- On the dashboard title bar, click Design to switch to design mode.
- In one of the place holders in the widgets area, click Add a new widget to open the Add widget dialog box.
- In the list of widgets, click Chart, and then click Next to open the Widget properties dialog box.
For a detailed description of the Widget properties dialog box for charts, see: Add widget dialog box for chart widgets.
Specify the settings that are common for all chart types as follows
- In the Inquiry screen field, select the inquiry window that should provide the source data for the widget.
- Optional: Click Inquiry parameters to change the default parameters for the selected inquiry.
- Optional: In the Shared filter to apply field, select the
shared filter that should be used to filter the data shown in the widget.
- Optional: In the Caption field, type the name of the widget to be displayed on the dashboard.
- Click Configure to open the Chart settings dialog box.
- In the Chart type field, select Bar.
- Optional: In the Legend position field, change the location of the legend on the widget.
In the Categories section, do the following:
- In the Value field, select a column from the source window to be displayed on the horizontal axis and used as a source for the data area.
- In the Aggregation field, select the aggregate function to be applied to the field selected in the Value field.
- In the Format field, specify the format of the numeric and date fields if it should differ from the original format.
- Click OK to save your changes and close the Chart settings dialog box.
- In the Widget properties dialog box, click Finish to add the chart to the dashboard.
- In the Legend field, select a column from the source window to provide the values for the vertical axis.
- Define the sorting of the values. In the Sort by fields, select the sequence to be sorted and the sorting order.
- 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.)
- 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.
- 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.
- 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:
- 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.
- Define the sorting of the values. In the Sort by fields, select the sequence to be sorted and the sorting order.
- 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.)
- 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.
- 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.
- In the Format field, specify the format of the numeric and date fields if it should differ from the original format.
- 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:
- In the Value field, select the column from the source window to provide the values for the categories.
- In the Aggregation field, select the aggregate function to be applied to the field selected in the Value field.
- In the Format field, specify the format of the numeric and date fields if it should differ from the original format.
- Click OK to save your changes and close the Chart settings dialog box.
- In the Widget properties dialog box, click Finish to add the chart to the dashboard.