Line Chart Report
A Line Chart shows trends over an ordered axis, usually time. Use it to show how a value changes across dates, numbers, or another ordered category.
Configuration
In addition to the basic report properties, configure the following:
| Property | Description |
|---|---|
| Report Type | Set to LineChart. |
| Show Title | Displays the chart title. |
| Chart Title | Sets the title text when Show Title is enabled. |
| Data Labels | Shows values for data points. |
| Legend | Controls the legend position or turns it off. |
Optional properties
- X-axis type: Use
Date,Number, orCategory. UseDatefor time series. - Line smoothing or interpolation options.
- Markers that show individual data points.
- Chart colors and tooltip formatting where supported.
Order of points
Points always follow the group order: the option sequence for a picklist, the lifecycle order for State, oldest first for Date, smallest first for Number, and alphabetical for Text. Sort By is not applied to Line charts. See Value Order and Sort By.
Example
reportDisplayType: "LineChart"
xAxisType: "Date"
dateSubGroup: "Month"
dataLabels: false
legend: "Right"
Tips
- Use a Date or DateTime grouping attribute for time series.
- Set
dateSubGroupto the required bucket, such as month or week. - Keep the axis consistently ordered so changes in the trend are easy to interpret.
- Use a Tabular or Bar Chart report when users need exact values or category comparisons.
Success criteria
The report displays a line chart when its data and configuration are present and reportDisplayType is LineChart.