- .NET 4.0 Generics
- David Lai Xavier Hacking
- 437字
- 2021-04-02 19:30:12
Using sparklines
Sparklines are typically small graphics, showing a horizontal line connecting several data points without labeling the values on its axes. The purpose of the sparkline is to show the movement of a trend over a certain period. Since its details are not available, the context of a sparkline must be clear to the dashboard user to interpret its meaning properly. This recipe will show you how to configure a sparkline.
Getting ready
Open a new Dashboard Design file and enter the data into the spreadsheet, as shown in the following screenshot:

How to do it...
- Drag a Sparkline Chart component into the canvas.
- Bind the By Range field to the spreadsheet range from A4 to M5.
- Bind the Chart field to cell A1 and bind the Subtitle field to cell A2.
- Go to the Behavior tab of the properties pane of the Sparkline Chart component. In the Normal Range Area section, select Normal Range Area.
- Enter the value 600 in the Normal Range Low field and enter 1000 in the Normal Range High field.
- Go to the Appearance tab and select the Text sub-tab.
- Select Show for the Start Value.
- Set the Position for this Start Value text to Left.
- Select Show for the End Value.
- Now go to the Color tab and select all Markers.
- Your dashboard should look like the following screenshot:
How it works...
The configuration of the General tab within the properties pane of a sparkline chart component looks like the configuration of a line chart component. But, a sparkline chart component has fewer options here: No axis and no category labels can be defined.
With the Normal Range Area in the Behavior tab, is it possible to illustrate that the values of this series should be between what boundaries. Also, the start, end, the highest, and the lowest values of the presented series can be emphasized.
There's more...
Header labels
Header labels can label two parts of the sparkline chart component: The series name(s) and the sparkline(s). To activate these labels follow the given steps:
- Bind the Header Labels field in the General tab to two spreadsheet cells.
- Enter the value for the series name(s) header in the first cell, and enter the sparkline(s) header value in the second cell.
- Now go to the Appearance tab and select the Text sub-tab.
- Select Header Labels. The labels will now appear in the component.
- ModelSim電子系統(tǒng)分析及仿真(第3版)
- AutoCAD 2022快速入門、進階與精通
- 中文版AutoCAD 2015實用教程
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)移動UI設(shè)計
- ASP.NET 3.5 Application Architecture and Design
- AI繪畫實戰(zhàn):Midjourney從新手到高手
- Photoshop影視動漫角色繪制技法精解
- 中文版Photoshop 2020完全自學(xué)教程
- NetLogo多主體建模入門
- 會聲會影視頻編輯實戰(zhàn)秘技250招
- After Effects影視動畫特效及欄目包裝案例實戰(zhàn)
- 巧學(xué)巧用Flash CS6制作動畫
- JBoss Tools 3 Developers Guide
- SVG動畫
- Mastering Redis