A sparkline is a small
line graph that presents a single trend over time. A sparkline is about the size of one or two
words, so it fits in a single cell and repeats for
each row in a column. A sparkline does not have axes or labels. They are frequently
used to present
stock trends or production rates over time. A sparkline is intended to be both succinct
and noteworthy.
In the designer, you can add sparklines to a column in a list table. The data source
for the list table must include a date, datetime, or time data item before you can
add a sparkline.
In the example, both the
time series plot and the sparkline are using
Profit for the measure. The time
series plot has more detail than the sparkline because in the
time series plot, the data is grouped at a more granular level. The sparkline shows the same overall
line as the time series plot, but has less detail.
The sparkline does not display the trend at the most granular date, datetime, or time
level. Instead,
the sparkline summarizes the trend depending on the unit of time that is used in the
report object. For example, the sparkline might be summarized for the month, quarter,
or year, depending on the data. The report designer cannot change the level of summary
in the sparkline.
To add a sparkline:
-
If it is not already
selected, select the list table in the canvas that you want to update.
-
Right-click the list
table, and then select Add Sparkline. The Add
Sparkline window is displayed.
-
-
For Time
Axis, select a date, datetime, or time data item in the current data source.
-
-
(Optional) Select the Set
baseline check box. Enter a Value,
and select a Fill type. Your choices are Gradient or Solid.
The
Set
baseline option draws a horizontal line through the graph at the point on the
Y axis where the
baseline value resides. Everything above or below the baseline is filled in with either a
solid or
gradient color.
-
Click OK. The sparkline is added to the last column in the list table. You can move the sparkline
to another
location in the table.
To edit a sparkline,
right-click in the sparkline column in the list table, and then select
Edit
Sparkline. The
Edit Sparkline window
is displayed. Update the information, and then click
OK to
save your changes.
To delete a sparkline, right-click in the sparkline column in the list table, and
then select Remove
Sparkline.