Creating a line chart

In this activity, you will create a line chart to highlight changes in test outcomes over time.

Before proceeding:
Line charts are one of the best ways to visualize trends relating to quantitative data - that is, changes in numeric values over time. Hence, you will create a line chart that displays how the Passed, Failed, and Passed with Warnings/Errors results for the test modules of the Car Rental project have changed over time.

As before, you can work with the Test Results (unfiltered) data profile, which provides test results from all the historical Car Rental tests.

Create a new Dashboard panel with the following settings:
  • Type: Chart
  • Data Profile: Test Results (unfiltered)
  • Display Name: Car Rental Test Results Trend
  • Chart Type: Line
  • Category: Date of run
  • Caption (for Category): Date of run
  • Time Frame: Day
  • Series: Result
  • Caption (for Series): Occurrences
  • Data Labels: Value
  1. From the Global Setting icon of the Dashboard's tool bar, select Create Panel.
  2. In the Add New Panel dialog, enter the values as specified above, and click OK.

The resulting chart displays distinct, color-coded lines for each member of the set defined by the Series field. (In this case, that set is Result, which contains three members: Passed, Failed, and Passed with Warnings/Errors. Hence, there are three colored lines in this chart.) The items of the Category field (in this case, the run dates of the tests) are displayed in left-to-right ascending order along the horizontal x-axis. The y-axis values represent counts for each possible Result. Hence the height (y-axis value) of any given point on one of the lines represents the number of occurrences of that particular result (Passed, Failed, and Passed with Warnings/Errors) for the run date at that particular location on the x-axis.