Tutorial
Tutorial 5: Reports 115
Summary
5
Click Save on the bar containing the tabs to save Sparkline for Report.
To add a column containing a sparkline to the table:
1
Return to editing Load Summary Table T5.
2
Add a column. Set its context selection to: <currentRow>/cpus/
percentUserTime, using the Renderer: Sparkline for Report from your User
module. Set its ID to CPU User Time.
3
Add the column to the CPU Utilization group.
4
Save your changes and test the result.
If you continue to add sparklines to the other groups, you may find that there are
alignment problems with the table. In this case the problem seems to be that the
Sparkline renderer may request too much space, causing problems for some other
columns. In most cases you can cure this type of layout issue by setting the width of
some variable-width columns.
To set the element width of the Sparkline For Report:
1
Return to editing Load Summary Table T5. Click its Configuration tab.
2
Ensure that Show Advanced Properties is checked.
3
Select the column with ID CPU User Time.
4
Expand the Width node.
5
Click the Edit icon ( ) on the Sizing row.
The Edit - Sizing dialog appears.
6
Choose Specified in the Width Sizing field.
7
Click the Edit icon ( ) on the Va lue row.
The Edit - Value dialog appears.
8
Change Integer Value to 70.
9
Click Save on the bar containing the tabs to save Load Summary Table T5.
10
Retest by generating a new report.
In other situations you may have to set the element widths of other variable-width
components, but making just these changes did produce a properly-formatted table
when it was tested during the construction of this tutorial.










