Creating Dashboards With Xcelsius Sample
Creating Dashboards With Xcelsius Sample
www.sap-press.com
Bonn Boston
5771 Book.indb 3
8/6/10 11:01:51 AM
Contents at a Glance
1
17
31
77
91
www.sap-press.com
5771 Book.indb 5
8/6/10 11:01:51 AM
Contents
Acknowledgments ......................................................................................
15
1.2
1.3
1.4
1.5
17
18
19
19
19
20
26
27
27
28
29
Menu ..........................................................................................
2.1.1 File .................................................................................
2.1.2 Edit .................................................................................
2.1.3 View ...............................................................................
2.1.4 Format ............................................................................
2.1.5 Data . ..............................................................................
2.1.6 Help . ..............................................................................
2.2 Toolbar ........................................................................................
2.2.1 Standard .........................................................................
2.2.2 Export .............................................................................
2.2.3 Themes ...........................................................................
2.2.4 Format ............................................................................
2.2.5 Quick Start . ...................................................................
2.2.6 Summary . .......................................................................
2.3 Components Browser . .................................................................
2.3.1 Category .........................................................................
2.3.2 Tree ................................................................................
www.sap-press.com
5771 Book.indb 7
31
31
50
51
56
59
62
64
64
65
65
66
66
66
68
68
69
8/6/10 11:01:51 AM
Contents
2.4
2.5
2.6
2.7
2.8
70
71
71
72
74
75
77
78
79
80
82
84
85
85
88
89
5771 Book.indb 8
92
92
110
128
136
137
141
144
147
147
147
153
157
158
158
www.sap-press.com
8/6/10 11:01:51 AM
Contents
4.3
4.4
4.5
4.6
160
165
166
166
167
171
172
176
176
177
180
180
181
184
www.sap-press.com
5771 Book.indb 9
185
186
189
189
191
202
203
206
208
210
210
217
219
225
228
229
230
231
233
235
235
8/6/10 11:01:51 AM
Contents
5.5
5.6
5.7
5.8
5.9
239
243
246
246
248
252
253
253
262
262
264
268
271
273
273
275
277
279
282
283
284
287
292
6.3
6.4
6.5
10
5771 Book.indb 10
294
295
298
298
298
299
301
304
305
314
322
322
323
www.sap-press.com
8/6/10 11:01:52 AM
Contents
326
327
328
330
7.2
7.3
7.4
7.5
7.6
7.7
7.8
www.sap-press.com
5771 Book.indb 11
331
333
334
339
340
342
343
348
351
352
352
359
362
364
364
368
369
369
372
375
376
376
378
382
384
384
387
11
8/6/10 11:01:52 AM
Contents
7.9
8.2
8.3
8.4
8.5
8.6
Drill-Down ..................................................................................
8.1.1 When to Use Drill-Down ................................................
8.1.2 How to Use Drill-Down . .................................................
8.1.3 Drill Down from One Chart to Another ...........................
8.1.4 Drill-Down on the Same Chart ........................................
Make Smart Use of Dynamic Visibility . ........................................
8.2.1 When to Use Dynamic Visibility ......................................
8.2.2 How to Use Dynamic Visibility ........................................
8.2.3 Practice ...........................................................................
Alerts . .........................................................................................
8.3.1 How to Use Alerts ...........................................................
8.3.2 Practice ...........................................................................
Export .........................................................................................
8.4.1 How to Use the Export Functionality ...............................
Themes and Colors ......................................................................
8.5.1 How to Use Themes and Color ........................................
Summary .....................................................................................
393
394
395
396
399
405
406
408
411
416
417
418
424
425
430
430
438
12
5771 Book.indb 12
441
441
442
443
444
445
445
447
450
450
451
455
www.sap-press.com
8/6/10 11:01:52 AM
Contents
456
456
458
459
460
461
462
463
464
468
471
473
475
476
479
480
480
480
490
491
491
500
503
www.sap-press.com
5771 Book.indb 13
505
505
508
509
510
13
8/6/10 11:01:52 AM
Contents
510
510
513
513
524
526
527
528
534
540
543
543
544
14
5771 Book.indb 14
www.sap-press.com
8/6/10 11:01:52 AM
This chapter provides a general introduction to Xcelsius 2008, including what it is,
what you can do with it, and how it is positioned in the SAP BusinessObjects
portfolio. After reading this chapter you should have a basic understanding of
Xcelsius 2008 and know whether its the right tool for your analytic and dashboard
requirement.
1.1
Whats Xcelsius?
www.sap-press.com
5771 Book.indb 17
17
8/6/10 11:01:52 AM
EE
Enterprise users
Enterprise users, typically the business user and IT department in a large company, can use it to create reliable, visually stunning and accurate dashboards to
access timely and relevant business data.
EE
Common users
Common users, such as students, can use it to create fantastic dashboards about
anything theyre interested in and share it with friends or colleagues.
EE
Developers
The developers or programmers can develop plug-ins or new components using
Xcelsius Component SDK for their specific use scenarios. They can then either
share the new plug-in with others for free or sell them at some marketplace.
Xcelsius bridges the gap between data analysis and data presentation, empowering
anyone who can point and click a mouse to create a professional and compelling
dashboard. Its the most powerful data visualization tool in the world, with plenty
of users. Both enterprise users and individuals can use it to present data in a clearer
style so that information can be delivered in a more effective way. Everyone is a
data analyst to some extent.
1.1.1
Installation
Xcelsius can only be installed on Windows systems from Windows XP, Vista,
to Windows 7, either 32-bit or 64-bit edition. However, its output, a Flash file
(.swf) or something else containing the Flash file such as HTML and Adobe PDF
(Portable Document Format), is supported by all platforms including Mac OS,
Linux, and so on. You can run it as a stand-alone application using Adobe Flash
Player or Adobe AIR or through a web browser such as Internet Explorer or
Firefox. To run the flash files, you need have Adobe Flash Player 9.0.151.0 or
above installed.
Xcelsius is a multilingual product, supporting more than 10 languages including
English, French, German, Spanish, Chinese, Russian, and Korea. It provides an
intuitive integrated development environment (IDE) with which you can easily
design the dashboard you want by simply dragging and dropping user interface
(UI) elements. The user doesnt need to have any programming skill to create a
powerful dashboard, thus saving much time for users to get hands-on. Throughout this book you will see exactly what you can do with Xcelsius to present your
data, and how.
18
5771 Book.indb 18
www.sap-press.com
8/6/10 11:01:52 AM
1.1.2
1.2
Xcelsius has much to do with Excel, as you may have guessed from its name. In
fact, Xcelsius treats Microsoft Excel as its one and only direct data source. It was
originally designed to turn Excel spreadsheet data into dashboards.
Now Xcelsius is used for creating straightforward and engaging dashboards to
convey information in the best way. Some business users may have used Excel
spreadsheets to do this, to represent data with tables and graphs. Compared to
Excel, Xcelsius provides a better look and feel, is more powerful, and is easier to
use. In the meantime, users can benefit from their experience with Excel, because
Xcelsius uses Excel as its direct data source, where Excel experts can write Excel
formulas (for example, HLookup) to make a powerful visualization.
1.1.3
History
Xcelsius was originally developed by Infommersion, which was founded by Santiago Becerra, Sr., a Harvard MBA and former Booz Allen & Hamilton management
consultant, in 2002. In 2005, Infommersion was acquired by BusinessObjects, and
in 2006, BusinessObjects released Xcelsius version 4.5, named Crystal Xcelsius.
Then in 2008, with SAPs acquisition of BusinessObjects, Xcelsius became a product of SAP. Now the latest version is Xcelsius 2008, which SAP released in 2008,
with Service Pack 3 released in December 2009.
With Xcelsius, you can realize the slogan Your business, visualized.
1.2
You can use Xcelsius to create dashboards to visualize information for others or
for yourself. The dashboard can be attractive, interactive, and powerful, with rich
intuitive information that the consumer can act upon immediately. This can help
executives and business users to better understand their business situations and
then make wiser decisions. It applies to both enterprise and individual uses of
data visualization. For example, a sales manager can use Xcelsius to create a dashboard illustrating the sales info in each region and/or for each product so that the
general manager can see the sales info at one glance, and an individual can use
Xcelsius to show the monthly expenses and consumption distribution for himself
or his family.
www.sap-press.com
5771 Book.indb 19
19
8/6/10 11:01:52 AM
Under certain circumstances, the functionalities of Xcelsius 2008 may have some
limitation in satisfying your needs. To solve such problems, Xcelsius 2008 provides Flex-based software development kit (SDK), which you can use to create
Xcelsius add-ons for your specific requirements. To do this, you need be familiar
with Adobe Flex programming language.
In a word, Xcelsius is used to help you create interactive dashboards to present
your data in a fancy way. You can design your dashboard with UI elements connect to your live data with some kinds of data connectivity, and distribute it to
others by either exporting it to a local file and sending it to others or hosting the
output in a web application server so that the information consumer can access it
with a web browser.
Briefly, with the help of Xcelsius 2008, you can:
EE
EE
Connect dashboards to your real and live data, using many kinds of data connectivity provided by Xcelsius such as web service connections and XML data
EE
EE
Develop an Xcelsius add-on component using the Xcelsius SDK when the existing features have limitations for your specific requirement
In the three sections below, well talk more about each of Xcelsius capabilities of
UI components, data connectivity, and distribution.
1.2.1
The traditional way to represent data is in tables, including vertical tables, horizontal tables, and cross-tables. When theres too much data, its difficult to understand
and hard to remember. By visualizing data, the consumer can easily and quickly
understand the data and even the information behind the data (such as the relative
difference between two items) and have an intuitive impression of the visualization, and thus can remember the data easily.
Data visualization transforms data into a form that is comprehensible to the eye,
allowing you to analyze data through the sense of sight. An Xcelsius visualization
provides insight into complex data and delivers confidence to those who will use
it to make decisions. Xcelsius 2008 provides several types of UI elements such as
20
5771 Book.indb 20
www.sap-press.com
8/6/10 11:01:52 AM
1.2
charts, gauges, and maps for data visualization. Each type of UI element may again
contain several kinds to satisfy different situations. For example, the elements of
type chart include pie chart, stacked column chart, and bubble chart. You can use
them to convert data from plain sheets or tables to attractive dashboards.
Most charts support drill-down ability, which means that you can drill from summary level to more detailed level. This is very important and helpful in data analysis. By using drill-down, the user can drill from the top level to the more detailed
level to find the de facto cause of a problem.
As described in Figure 1.1, using Xcelsius, you can convert data presentation from
a static and difficult-to-understand Excel worksheet to a dynamic, visualized, and
easy-to-understand presentation.
www.sap-press.com
5771 Book.indb 21
21
8/6/10 11:01:53 AM
Percentage
Sometimes you may want to see the percentage or contribution of each item to
get a rough idea about whos doing well and whos doing badly at a glance. For
example, you can use a pie chart to show the contribution of each region to the
companys total sales revenue. Xcelsius 2008 provides pie charts and radar charts
for this situation. Figure 1.2 and Figure 1.3 are examples of these two kinds of
charts.
These figures are just two examples. Note that the title, subtitle, color, legend,
and so on can all be customized according to your real data. For more information
about these charts and how to use them, please refer to Chapter 4.
22
5771 Book.indb 22
www.sap-press.com
8/6/10 11:01:54 AM
1.2
Comparison
You use comparison charts when you want to show the differences among several
items instead of the contribution of each item.
Xcelsius 2008 provides several charts for comparison such as column charts, bar
charts, and stacked bar charts. For example, you can use a column chart to show
the sales amounts of all regions or to see the difference between region 1 and
region 2. Figure 1.4 and Figure 1.5 show a column chart and a stacked bar chart,
respectively.
Xcelsius 2008 also provides bubble charts and XY charts for multidimensional
comparison and analysis. For example, you can use a bubble chart to compare a
www.sap-press.com
5771 Book.indb 23
23
8/6/10 11:01:54 AM
group or series of items based on three different parameters. It has an X-axis and
Y-axis to represent the item location over the chart area, and a Z value to represent
the item size. For example, you can use this chart to represent market composition,
with the X-axis representing the return on investment (ROI) by industry type, the
Y-axis representing the cash flow, and the Z-axis representing the market value.
Note that the bigger the bubble is, the higher the Z-value is. Figure 1.6 shows a
simple bubble chart.
Interactivity
Xcelsius 2008 provides several UI elements to make your dashboard interactive,
including combo boxes, sliders, gauges, maps, fisheye picture menus, and calendars, which are like parameters or filters. The user can see information fit to him
by setting corresponding values for these elements. Essentially, such UI components all act as selectors.
For example, you can create a dashboard with a combo box of regions, as shown in
Figure 1.7. The end user can then see the information for a specific region instead
of all of it by selecting one region from that combo box.
24
5771 Book.indb 24
www.sap-press.com
8/6/10 11:01:55 AM
1.2
Xcelsius 2008 provides maps of many countries as selectors. With these maps,
the user can select what region he is interested in in a quite obvious way. Imagine
that you need to select a region or city without a map; you have to select from a
large list, either a combo box or a radio box. Figure 1.8 shows an example of a
U.S. map.
www.sap-press.com
5771 Book.indb 25
25
8/6/10 11:01:55 AM
1.2.2
In the section above we have seen that we can create robust dashboards with Xcelsius 2008 using its rich and attractive UI elements. However, it is not enough to
create a dashboard with only static UI elements, which is just a beautiful picture
but far from an interactive dashboard. To make it really useful and meaningful,
you need to bind the UI elements to your real and live data source. In this way,
you enable the dashboard to reflect the real status and convey the accurate, up-tothe-minute information.
Data connectivity is a part of Xcelsius 2008 to solve such a problem. Xcelsius provides several kinds of data connectivity for your specific data sources. In this way
you can provide everyone in your organization with live data and manage multiple
data sources by controlling all data connections from one central interface.
Generally, there are two ways to reflect real data in your dashboard: Put data in the
embedded Excel spreadsheet at design time, or connect to the external data source
using one or more kinds of data connectivity.
An Excel spreadsheet is embedded into Xcelsius as the direct data source for UI
elements. You can write your data in an Excel spreadsheet file and then import it
into Xcelsius, put the data directly into the built-in Excel in Xcelsius workspace,
or connect to dynamic data through data connectivity but map the returned data
into the built-in Excel spreadsheet. Remember, Excel is the one and only direct
data source for all UI components. You can bind UI elements to a single cell or a
range of cells in the embedded spreadsheet.
You can write the data that you know at the time you create the dashboard (design
time), such as the metadata of the dashboard like the titles, directly in the built-in
Excel spreadsheet and bind it to UI elements. This is usually the case for one-time
visualization, when you know the data in advance.
However, in most of the cases, the data will not be available until runtime. Sometimes the data must be processed by some server before being consumed in your
dashboard. Sometimes the data resides in another data source such as an XML file.
To connect to such data, you need to use data connectivity.
A wide range of data connectivity methods are available to satisfy different environments, such as Web service connections and XML data. You can use the data
connectivity to connect to your real data source. For example, lets say youre creating a dashboard to show the sales info for each region in each quarter. The data
resides in the database and a Web service hosted in a Web application server at
26
5771 Book.indb 26
www.sap-press.com
8/6/10 11:01:55 AM
1.3
your company is providing the data you require. In this case, you can create a Web
service connection to that Web service to request data.
1.2.3
Distribution
You can export the dashboard to Macromedia Flash, Adobe AIR, or HTML so
that it can be viewed stand-alone or from a web browser.
EE
You can also export it to PDF or Microsoft Office documents including Word,
Outlook, and PowerPoint so that you can send your dashboard via email or
present your dashboard during a speech. In this way you can leverage the large
installation base of Microsoft Office.
EE
If you are an SAP BusinessObjects Enterprise user, you can also export it to the
SAP BusinessObjects platform. By doing so you can make use of the security
settings provided by SAP BusinessObjects Enterprise, so that only people you
permit have the right to access your dashboard, and the data they see will
depend on their roles.
1.3
So far, you have gotten some idea about what amazing dashboards you can create
with Xcelsius 2008 with its rich UI elements and data connectivity. In the following chapters you will see more detailed information about what you can do with
Xcelsius 2008 and how. Before that, lets check some reasons to choose Xcelsius
as your dashboarding tool.
EE
Its powerful.
By using cutting-edge technology, Xcelsius provides the best visualization effect
and user experience. With several kinds of data connectivity, such as Web services and XML data, you can connect to almost any kind of data source.
EE
www.sap-press.com
5771 Book.indb 27
27
8/6/10 11:01:56 AM
1.4
5771 Book.indb 28
www.sap-press.com
8/6/10 11:01:56 AM
Summary
1.5
Xcelsius can be exported to an SAP BusinessObjects Enterprise system, thus distributing the dashboards to other users in the organization and making use of SAP
BusinessObjects Enterprise security mechanisms to control users access. Other
SAP BusinessObjects Enterprise users can access then the dashboard through a
browser from the BI portal, if they are permitted to.
1.5
Summary
www.sap-press.com
5771 Book.indb 29
29
8/6/10 11:01:56 AM
Index
A
About Xcelsius, 63
Accordion Menu, 210
ActionScript 3, 462, 465
Add-On Manager, 544
Ad-Hoc Query Designer, 28
Adjust the Appearance, 459
Adobe AIR runtime, 462
Adobe Flash, 17
Adobes Flex, 461
Adobe LifeCycle Data Service, 391
Advanced Charts, 185
Advanced Component Features, 513
Advanced Custom Add-On Component
Features , 505, 472
Advanced Data Connectivity, 331
Advanced Selectors, 210
Advanced Single-Value Components, 228
Alerts, 416
Alert Thresholds, 126
Align, 56
Appearance, 102
Area Chart, 144
Auto Play, 220
B
Backgrounds, 180
Bar Chart, 136
Behavior, 99, 114
Bindable Chart Data, 527
Bindable Selected Data, 528
Bindable Selected Tooltip, 528
Bindable Series Color, 527
Bind Data, 79
Binding Directions , 471
Binding Directions and Data Flow, 476
BindingID, 490
Binding Types, 477
Bubble Chart, 141
BubbleChartBase.mxml, 540
By Range, 111
C
Calendar, 225
Candlestick Chart, 202
Canvas, 71, 420, 468
Canvas and Spreadsheet, 54
Canvas Sizing, 38, 54
Cell, 81
Chain, 490
chartSeriesData, 506
Checkbox, 157
Column Chart, 110, 442
Combination Chart, 189
Common users, 18
Communicating with External Data
Services, 505
Comparison, 23
Component Browser, 68
Component Code, 521
Components., 91
Components Browser, 31
Connections, 61
Connect to External Data, 458
Containers, 176, 410
Copy and Paste, 297
Copy/Paste/Cut/Delete/Select All, 51
Crystal Reports, 28
CSV files, 463
Currency, 107
Custom add-on component, 527
Custom Component Property Values,
510
www.sap-press.com
583
8/6/10 11:05:55 AM
Index
D
Data binding, 31, 53
Data Connectivity Basics, 293
Data Connectivity Capabilities, 26
Data Consumer Connection, 352
Data menu, 33
Data meters, 469
Data Point, 105
Data Visualization Capabilities, 20
Default Selection, 99
Description, 39
Developers, 18
Developing Basic Add-On Components,
480
Device Fonts, 40
Dial and Gauge, 172
Displaying Data in a Table, 235
Distribute the Output, 88
Distribution, 27
Divisions, 119
Document Properties, 38
Drill Down, 82, 83, 96, 393
Dual Slider, 229
Dynamic Visibility, 100, 405
E
Embedded Excel Spreadsheet, 71, 294
Enable Data Animation, 101
Encrypted data repositories, 463
Enterprise users, 18
Entry Effect, 101
Excel , 19, 31
Excel formulas, 54
Excel Options, 44
Excel XML Map, 326
584
F
File, 31
Filled Radar Chart, 206
Filter, 153
Flash, 49
Flash Variables, 358
Flex applications , 462
Flex Builder , 462
Flex Component and Property Sheet
Project, 528
Flex framework, 462
Flex Property Sheet, 534
Flex Test Container, 543
Font, 39
Format, 56, 66
Formatting, 85
FS Command, 368
Fundamental SDK import statements,
482
G
Gannt Charts, 464
Gauge, 442
Generating Reusable Property Sheet
Patterns, 505
Get Bound Property Display Names, 486
Grid, 51
Grid Lines and Cartesian Chart, 499
www.sap-press.com
8/6/10 11:05:55 AM
Index
I
Icon, 217
IDE, 463
Image Component, 246
Implementing Advanced Custom
Add-On Component Features , 505
Import, 59
Import Data from an Excel File, 298
Initialize Values, 484
Initiating End-User Interaction Binding
Operations, 486
InputBindings, 478
InputMap, 491
Installation, 18
integrated development environment
(IDE), 31
Interaction Options, 99
Interactivity, 24
Manage Add-Ons, 49
Manual (Y) Axis, 117
Map, 442
MDX querying capabilities, 470
Menu, 31
Metadata, 411
Microsoft SQL Server, Access and
Analysis Server, 332
Mouse Tracking, 173
Multi-dial Gauges, 468
Multi-Select , 409
MXML, 462
MXML Markup, 499
MySQL, 332
My workspace, 54
N
New command , 32
L
Languages, 43
LCDS Connection, 382
Legend, 104
License Manager, 63
Line Chart, 128, 442
www.sap-press.com
585
8/6/10 11:05:55 AM
Index
Quick Views, 52
Q
Query as a Web Service, 331
Quick Start, 62
586
R
Radar Chart, 203
Reading values from the spreadsheet,
476
Resize, 297
Retrieving Custom Component Property
Values, 505
Retrieving Property Sheet Values, 507
Reusable Property Sheet Patterns, 510
Row/Column, 98
Run Locally, 300
Run on a Web Server, 300
S
Samples, 36
SAP BusinessObjects, 17
SAP BusinessObjects Enterprise, 34, 331
SAP BusinessObjects Live Office, 28
SAP BusinessObjects Portfolio, 28
SAP BusinessObjects Universe Designer,
28
SAP BusinessObjects Web Intelligence,
28
SAP NetWeaver BW (Business
Warehouse), 332
Scale, 116
Security Issues Related to Accessing
External Data, 299
Security Restriction, 340
Selectors, 147
Set Appearance, 135
Setting Custom Component Property
Values, 505
Shapes, 248
Single Cell, 81
Slider, 167
Snapshot, 48
Space Evenly, 56
www.sap-press.com
8/6/10 11:05:55 AM
Index
Spinner, 230
Spreadsheet, 81
Spreadsheet Table, 239
Stacked Column Chart, 186
Standard, 64
Status List, 97
Sub Element Array Tricks, 514
Sub-element binding, 505
Sub Element Binding , 514
Supporting SDK functions, 484
.swc file, 461
Undo/Redo, 50
Use Current Excel Data, 48
User Interface, 475
Using Art, 246
U
UI Components, 78, 393
UI controls, 20
UI elements, 20
V
Value, 97
X
Xcelsius, 17, 461
Xcelsius Column Chart , 506
Xcelsius SDK, 461
Xcelsius Workspace, 32
.xlf, 34
.xls, 32
.xlsx, 32
XML-based syntax, 462
XML, 462
XML Data, 301
XML File, 304
XML layout and controls, 539
XY Chart, 137
Y
(Y) Axis Scale, 118
www.sap-press.com
587
8/6/10 11:05:55 AM