Skip to main content

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:

PropertyDescription
Report TypeSet to LineChart.
Show TitleDisplays the chart title.
Chart TitleSets the title text when Show Title is enabled.
Data LabelsShows values for data points.
LegendControls the legend position or turns it off.

Optional properties​

  • X-axis type: Use Date, Number, or Category. Use Date for 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 dateSubGroup to 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.