Line reports
Line reports plot individual data points to show how the value of one or more items changes over time.
This data visualization is supported on the mobile platform. For more information, see Time series reports for mobile and Mobile dashboard preview.
Create a line report
Create a line report to show the trend in the value changes of one or more items over time.
Avant de commencer
Role required: itil, report_user, report_group, report_global, report_admin, or admin. To create a meaningful report, you must have the right to access the data you want to report on.
For a line report use case, Time series data visualization example.
Procédure
Que faire ensuite
- Select the Report info icon (
) and add a description of the report.
- Select the sharing icon (
) to open the Sharing menu. On this menu, you can add the report to a dashboard, export the report to PDF, publish the report to the web, and set visibility and schedules.
Line report style options
Configure the look of your line report.
When you create or edit a report, click the Style tab for options to configure the look of your report. The options are organized under two or more of the following tabs: General, Title, Legend, and Axis. To see how the report looks with the changed settings, click Save.
| Field | Description |
|---|---|
| General | |
| Chart color | Source of colors used in the report. If you do not group or stack the report, Use one color is automatically selected. In this case, select a single, predefined system color. If you group or stack the
report, select one of the following options:
For more information about the differences between these options, see Predefined colors in reports. |
| Set color | Color used in the report. This field displays when you select Use one color from the Chart color list. Click the search icon ( |
| Set palette | Color palette used in the report. This field appears when you select Use color palette from the Chart color list. The palettes are defined in the Chart Color Scheme [pa_chart_color_schemes] table. |
| Colors | Colors used in the report. This field displays when you select Use
several colors from the Chart color list.
Enter a comma-separated list of hexadecimal color codes. These colors are
independent of the predefined system colors that color palettes and the chart
colors use. Remarque : It is not possible to use transparency hex
values. |
| Display data labels | Check box to show the value for each data point. |
| Do not plot nil as zero | Check box to specify whether to replace missing data points with values of zero. This field is available when creating or editing time series reports (area, spline, line, and step line
reports only) that include multiple datasets, and when creating or editing datasets within the applicable time series reports. This field is not available when data in the report is grouped, or is aggregated by
Count or Count Distinct. If selected, the report may show gaps where no data exists. Remarque : This property cannot be selected when the source is MetricBase. |
| Show marker | Check box to display a symbol at each data point. |
| Custom chart size | Enable the option to specify the width and height of the report in pixels. Remarque : The chart size is ignored when you export the report to PDF. In PDFs, the full page width is used to show the
chart. |
| Chart width | Width of the report in pixels. The default value is 600. This field is available when Custom chart size is selected. |
| Chart height | Height of the report in pixels. The default value is 450. This field appears when Custom chart size is selected. |
| Chart size | Chart size. This field is available when Custom chart
size is cleared. Options are Small,
Medium, and Large. Remarque : The chart
size is ignored when you export the report to PDF. In PDFs, the full page width
is used to show the chart. |
| Drilldown view | List view to show when a user selects a segment of a report for which no
drilldown report type is specified. This view is also used when the user reaches
the lowest drilldown level of a report. See Configure the list
layout
. If you specify a Report
drilldown, Drilldown view is
ignored. For more information, see Define a report drilldown. |
| Decimal precision | Number of decimal places to show. You can show
from zero to four decimal places. Default value: 2. To change the default value,
create the system property glide.chart.decimal.precision and specify the value.
Remarque :
Percentage labels do not change accordingly with the decimal precision
specified. |
| Title | |
| Show chart title | When the chart title is shown for the report.
|
| Chart title | The chart title has a maximum length of 40 characters. If no title is entered, the report name is used for the title. This field appears when Report only or Always is selected from the Show chart title list. |
| Size of the chart title | Size of the chart title in pixels. This field appears when Report only or Always is selected from the Show chart title list. |
| Chart title color | Color of the chart title. This field appears when Report only or Always is selected from the Show chart title list. |
| Custom chart title position | Check box to specify X and Y coordinates for the position of the chart title. This field appears when Report only or Always is selected from the Show chart title list. |
| Chart title X position | Number of pixels to adjust the chart title position right or left. By default
the title appears at the center top of the chart. To move the chart title to the
right, enter a positive value. To move the title to the left, enter a negative
value. This field appears only when Custom chart title position is selected. |
| Chart title Y position | Number of pixels to adjust the chart title position up or down. By default
the title appears at the center top of the chart. To move up the chart title,
enter a positive value. To move the chart title down, enter a negative
value. This field appears only when Custom chart title position is selected. |
| Title horizontal alignment | How the chart title is aligned horizontally. This field is available when the Custom chart title position option is cleared. |
| Title vertical alignment | How the chart title is aligned vertically. This field appears when Custom chart title position is cleared. |
| Legend | |
| Show legend | Enable this option to show a chart legend. This check box appears when a Group by field is selected on the report form. Legends are truncated by default. To adjust truncation lengths, configure the properties glide.chart.label.legend.truncate_to and glide.chart.label.legend.truncate_to.large. For more information, see Reporting properties. |
| Legend horizontal alignment | How the legend is aligned horizontally. This field appears when Show legend is selected. |
| Legend vertical alignment | How the legend is aligned vertically. This field appears when Show legend is selected. |
| Show legend border | Enable this option to show a border around the legend. This check box appears when Show legend is selected. |
| Left align legend text | Enable this option to left-align the legend text when the report is viewed in a browser. By default, the legend text is centered. When the report is exported to PDF, PNG, or JPG, the legend remains centered. This check box appears when Show legend is selected. |
| Axis | |
| Y axis and X axis | Axis to configure the titles, appearance, and labels for. |
| Title | Title for the axis. |
| Title size | Size of the axis title in pixels. Default value is 12. |
| Title bold | Enable this option to show the axis title in a bold typeface. |
| Opposite | On the X axis tab, enable this option to show the X-axis title on the right side of the report instead. On the Y axis tab, enable this option to show the Y-axis title on top of the report instead of across the bottom. |
| Display grid | On the X axis tab, enable this option to show horizontal grid lines on the report. On the Y axis tab, enable this option to show vertical grid lines on top the report. |
| Grid dotted | Enable this option to show dotted grid lines instead of solid lines. |
| From | Specify a minimum Y-axis value to limit the amount of information in the report. If you select an aggregation field that is not of the type Number, the From and To fields are not available. |
| To | Specify a maximum Y-axis value to limit the amount of information in the report. If you select an aggregation field that is not of the type Number, the From and To fields are not available. |
| X axis / Y axis label size | On the X axis tab, specify the size of the labels for the rows of the
report. On the Y axis tab, specify the size of the labels for the columns in the report. |
| Label bold | Enable this option to show the labels of the report in a bold typeface. |