<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Lai&#039;s Business Intelligence Blog &#187; Workarounds</title>
	<atom:link href="http://davidlai101.com/blog/category/xcelsius/workarounds/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidlai101.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 23 Jul 2010 05:53:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building Scorecards in Xcelsius 2008 and the significance of Global Embedded Fonts</title>
		<link>http://davidlai101.com/blog/2008/10/21/building-scorecards-in-xcelsius-2008-and/</link>
		<comments>http://davidlai101.com/blog/2008/10/21/building-scorecards-in-xcelsius-2008-and/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 03:30:26 +0000</pubDate>
		<dc:creator>David Lai</dc:creator>
				<category><![CDATA[Workarounds]]></category>
		<category><![CDATA[Xcelsius]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[global embedded fonts]]></category>
		<category><![CDATA[label based menu]]></category>
		<category><![CDATA[scorecard]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
One of the very powerful new additions to Xcelsius 2008 is the ability to create scorecards easily.  If we wanted to create scorecards in Xcelsius 4.5 we would need to manually insert trending icons into each row in order to create a scorecard.
In Xcelsius 2008 however we can use a label based menu with [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" style="margin-left: 100px; margin-right: 100px;" src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/scorecard.jpg" alt="" width="362" height="239" /></p>
<p>One of the very powerful new additions to Xcelsius 2008 is the ability to create scorecards easily.  If we wanted to create scorecards in Xcelsius 4.5 we would need to manually insert trending icons into each row in order to create a scorecard.</p>
<p>In Xcelsius 2008 however we can use a <em>label based menu</em> with alerts.  The alerts will act as the trending icons and from there we only need one object to show our indicators.</p>
<p>Here are some simple instructions to create a scorecard.<br />
<span id="more-10"></span><br />
1. <strong>Create an Excel file</strong> with measures that you want to evaluate.  In this example I&#8217;ve created a revenue table that contains Net Income for years 2001 -&gt; 2007.  In our scorecard we will have indicators that show red for negative income, yellow for income 0 -&gt; $1000, and green for income $1000+</p>
<p><img style="margin-left: 125px; margin-right: 125px;" src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/excel.jpg" alt="" width="310" height="173" /></p>
<p>2. Import the Excel file you created in Xcelsius 2008 and <strong>insert a spreadsheet table object</strong> containing the data from the Excel file</p>
<p><img src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/scorecard_table.jpg" alt="" /></p>
<p>3. Now insert a <strong>label menu object</strong> and <em>align it vertically</em>.  Make sure that it lines up nicely with your table and that the object is layered underneath the table.  Now on the <strong>label menu properties</strong>, go to the <strong>alerts section</strong> and <strong>check Enable Alerts</strong>.  The alert values will be the values on the Net Income.  After that you can setup your alert thresholds accordingly.</p>
<p><img src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/label_menu.jpg" alt="" /></p>
<p>We now have a simple scorecard setup, however here&#8217;s a common problem that developers will run into when they mix tables with label menus.  <strong>The text on different objects will be rendered differently depending on the size of the swf you end up placing onto your page.</strong> This is a bug that the Xcelsius Developers are working on fixing hopefully for the next release.</p>
<p>I have shown 2 examples of the same swf but of different sizes.</p>
<p><img style="margin-left: 60px; margin-right: 60px;" src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/bad_alignment.jpg" alt="" width="410" height="529" /></p>
<p>The first swf you can see has incorrect alignment, whereas the second swf has the correct alignment.</p>
<p>There are 2 solutions on how to solve this problem.</p>
<p>1. Manually play with the swf size so that the displayed swf has everything aligned correctly.</p>
<p>2. <strong>Global Embedded Fonts</strong><br />
To set global embedded fonts, go to <strong>File -&gt; Document Properties and check Use Global Font, then select Use Embedded Fonts</strong>.</p>
<p><img style="margin-left: 25px; margin-right: 25px;" src="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/global_embedded_fonts.jpg" alt="" width="492" height="469" /></p>
<p>Using global embedded fonts has the following advantages from my experience.</p>
<p><strong>-Smoother fonts on display<br />
-Objects always render with consistent alignment no matter what size you set it to.</strong></p>
<p>The only thing you will have to note is that while developing, you will have incorrect alignment when building your scorecards, but after exporting things will look fine.</p>
<p>I recommend using global fonts because of the smooth font look and the consistent rendering of text after exporting to a swf.  You can download the scorecard example I used <a href="http://www.davidlai101.com/blog/media/blogs/bobj/scorecard/scorecard.zip" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidlai101.com/blog/2008/10/21/building-scorecards-in-xcelsius-2008-and/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
