A chart item is type of report item which is represented in the final report as a chart. Consider this block of data:
Test Value High Low MorningCortisol
23.0
62.0
5.0
MiddayCortisol
148.0
40.0
3.0
EveningCortisol
14.0
12.0
1.0
MidnightCortisol
9.0
6.0
0.0
The result of defining a chart with the attributes above would be the following:
Editing a chart report item
- From the Report Items dialog, click the New Chart Item button
- Type a name for the report item
- Select Group Attributes for the X and Y axes.
Using Group Attributes
You need to use a group attribute for the X and the Y axis. The size of both group attributes has to match.
The order on which the attributes are defined in the group attribute is not important. Instead, the chart will use the order defined in the Attribute Editor.
For instance, consider a case with the following attributes:
Test Value MorningCortisol
23.0
MorningCortisolTime
08:00
MiddayCortisol
148.0
MiddayCortisolTime
12:15
EveningCortisol
14.0
EveningCortisolTime
17:25
MidnightCortisol
9.0
MidnightCortisolTime
23:45
Two Group Attributes are created:
X_Axis
MorningCortisolTime (08:00), MiddayCortisolTime (12:00), EveningCortisolTime (20:00) and
MidnightCortisolTime (23:55)Y_Axis
MorningCortisol (23.0), MiddayCortisol (148.0), EveningCortisol (14.0) and MidnightCortisol
(9.0)
Now you can use X_Axis and Y_Axis as data providers in the Chart Item:
See also: