How do I create a multi-series line graph showing values over time?
Comments
-
First, please check out our documentation on Multi Series charts: Multi Series Charts
What's important to remember when trying to set the date as the x-axis is that the x-axis field is the field that you group by on the report! In the following example, I will be grouping on field 1, which will be considered the date field.
To follow along with this example, please import the following project:
After importing, run the Generate Data Flow (only one time). From there, open the report. You should see three fields per item -- the date field, field3, and field3. Group by the date field, which will be the x-axis. Then, expand the results category and add a new subtotal:
We'll need to add 2 subtotals, one for field2, and one for field3 to show two different lines on the graph. Since there is only one item in each group (one data point for each date per series), you can set the aggregation type to either sum, average, minimum, maximum, or median, as they will be the same value with only one value.
Now, create a line graph as usual, then in the chart data properties, change the first series to one of the series you just created. Then, add a series and select the other series. You should now see the line graph as displayed below.
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 989 Flows
- 86 Rules
- 202 Administration
- 203 Portal
- 432 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 147 Datastructures
- 49 Repository
- 168 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 37 Settings
- 19 Active Directory
- 12 Version 7
- 34 Version 8