<?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>Visifire &#187; Creative Use of Visifire</title>
	<atom:link href="http://www.visifire.com/blog/category/creative/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visifire.com/blog</link>
	<description>Fire up your imagination</description>
	<lastBuildDate>Wed, 25 Jan 2012 13:13:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Silverlight and WPF Enterprise Dashboard</title>
		<link>http://www.visifire.com/blog/2011/04/08/silverlight-and-wpf-enterprise-dashboard/</link>
		<comments>http://www.visifire.com/blog/2011/04/08/silverlight-and-wpf-enterprise-dashboard/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 15:29:55 +0000</pubDate>
		<dc:creator>somnath</dc:creator>
				<category><![CDATA[Creative Use of Visifire]]></category>
		<category><![CDATA[Tutorials and Samples]]></category>

		<guid isPermaLink="false">http://www.visifire.com/blog/?p=1760</guid>
		<description><![CDATA[Enterprise dashboards provide rich data visualization for analyzing data. A dashboard &#8211; for eg. sales dashboard is a vital tool for C-level executives, business managers and sales persons. This sales dashboard is a demo application using rich set of Visifire controls to analyze product wise monthly revenue of a fictitious company. It also shows sales conversion ratio [...]]]></description>
			<content:encoded><![CDATA[<p>Enterprise dashboards provide rich data visualization for analyzing data. A dashboard &#8211; for eg. sales dashboard is a vital tool for C-level executives, business managers and sales persons. This sales dashboard is a demo application using rich set of Visifire controls to analyze product wise monthly revenue of a fictitious company. It also shows sales conversion ratio showing how successful the sales team is in converting the leads to sales. Based on several parameters shown in the dashboard the decision makers can make informed decisions. </p>
<p><a href="http://visifire.com/samples/SalesDashboard/silverlight_samples_sales_dashboard.html"><img class="size-full wp-image-1810 alignnone" title="visifire_sales_dashboard" src="http://www.visifire.com/blog/wp-content/uploads/2011/04/visifire_sales_dashboard11.jpg" alt="" width="679" height="449" /></a></p>
<p style="text-align: justify;">This dashboard application is built based on MVVM pattern and best practices. MVVM follows three basic blocks called Model, View and ViewModel. The figure below shows basic blocks of the dashboard application.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1771" title="mvvm_visifire_sales_dashboard" src="http://www.visifire.com/blog/wp-content/uploads/2011/04/mvvm_visifire_sales_dashboard.jpg" alt="" width="660" height="400" /></p>
<p><strong>Model:</strong> The Model is also called DataModel which contains business objects and model classes. It is independent of the View(UI).</p>
<p><strong>View:</strong> The View contains visual elements displayed to the user and allows the user to interact with it.</p>
<p><strong>ViewModel</strong>: The ViewModel represents the “Model of the View” which is also a mediator between View and the Model. It exposes the model’s data that is needed by the View.</p>
<p style="text-align: justify;">In this Sales dashboard, the model represents business objects which include Model classes (Order and SalesConversion classes). View mainly represents user interface (XAML) and handles user interaction. “ProductWiseSalesView” contains chart controls to display product wise monthly revenue distribution, sales in volumes like sales conversion ratio, number of licenses sold with or without support and new licenses vs upgrades. The “ProductWiseSalesView” also contains two Gauge controls which displays annual revenue for a particular product. User interacts with the View. Content of the View is handled in the ViewModel through binding. The binding between View and ViewModel is done by setting ViewModel as the DataContext of the View. The ViewModel is derived from ModelBase class which in turn implements INotifyPropertyChanged interface to support DataBinding. Hence when ViewModel properties are changed, new changes are automatically reflected in the View.</p>
<p>Click <a href="http://www.visifire.com/samples/SalesDashboard/silverlight_samples_sales_dashboard.html">here</a> to view the dashboard.</p>
<p>You can download the source code from <a href="http://visifire.com/silverlight_examples_details.php?id=22">here</a>.</p>
<p>Cheers,<br />
Team Visifire</p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share" class="twitter-share-button" data-text="Silverlight and WPF Enterprise Dashboard" data-via="visifire" data-url="http://www.visifire.com/blog/2011/04/08/silverlight-and-wpf-enterprise-dashboard/" data-count="none" data-via="visifire" data-related=":">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.visifire.com/blog/2011/04/08/silverlight-and-wpf-enterprise-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sparkline Charts using Visifire</title>
		<link>http://www.visifire.com/blog/2008/06/16/sparkline-charts-using-visifire/</link>
		<comments>http://www.visifire.com/blog/2008/06/16/sparkline-charts-using-visifire/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:43:37 +0000</pubDate>
		<dc:creator>karthik</dc:creator>
				<category><![CDATA[Creative Use of Visifire]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Tutorials and Samples]]></category>

		<guid isPermaLink="false">http://www.visifire.com/blog/2008/06/16/sparkline-charts-using-visifire/</guid>
		<description><![CDATA[In this blog I&#8217;ll show how to create Sparkline Charts using Line charts from Visifire. Let me start by showing a sample of the sparkline chart: The following XML is a bare bone XML required to create sparkline charts: &#60;vc:Chart xmlns:vc="clr-namespace:Visifire.Charts;assembly=Visifire.Charts" AnimationEnabled="False" Padding="1" BorderThickness="0" Watermark="False"&#62; &#60;vc:AxisX Enabled="False"/&#62; &#60;vc:AxisY Enabled="False" StartFromZero="False"/&#62; &#60;vc:DataSeries RenderAs="Line" LabelEnabled="False" MarkerEnabled="False" &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>In this blog I&#8217;ll show how to create Sparkline Charts using Line charts from Visifire.</p>
<p>Let me start by showing a sample of the sparkline chart: <a href="http://visifire.com/blog/wp-content/post_images/SparklinechartsusingVisifire_DDFF/image.png"><img border="0" width="186" src="http://visifire.com/blog/wp-content/post_images/SparklinechartsusingVisifire_DDFF/image_thumb.png" alt="image" height="23" /></a></p>
<p>The following XML is a bare bone XML required to create sparkline charts:</p>
<pre>&lt;vc:Chart xmlns:vc="clr-namespace:Visifire.Charts;assembly=Visifire.Charts"
AnimationEnabled="False" Padding="1" BorderThickness="0" Watermark="False"&gt; 

  &lt;vc:AxisX Enabled="False"/&gt;
  &lt;vc:AxisY Enabled="False" StartFromZero="False"/&gt; 

  &lt;vc:DataSeries RenderAs="Line" LabelEnabled="False" MarkerEnabled="False" &gt;
    .
    .
    .
  &lt;/vc:DataSeries&gt; 

&lt;/vc:Chart&gt;</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Highlighting of the various points has to be done by selecting the color for the marker.</p>
<p>To highlight any point you have to enable the marker for the point and set the color. If color is not selected then default color will be applied. Also set the marker size as per requirement. Have a look at the example below, it shows how to highlight the start and end points.</p>
<pre>&lt;vc:Chart xmlns:vc="clr-namespace:Visifire.Charts;assembly=Visifire.Charts" Theme="Theme1"
          AnimationEnabled="False" Padding="1" BorderThickness="0" Watermark="False"&gt; 

  &lt;vc:AxisX Enabled="False"/&gt;
  &lt;vc:AxisY Enabled="False" StartFromZero="False"/&gt; 

  &lt;vc:DataSeries RenderAs="Line" LabelEnabled="False" MarkerEnabled="False"
                 MarkerSize="5" LineThickness="0.5" Color="Black"&gt;
    &lt;vc:DataPoint YValue="44.01" MarkerEnabled="True" Color="Blue" /&gt;
    .
    .
    .
    &lt;vc:DataPoint YValue="44.5" MarkerEnabled="True" Color="Blue" /&gt;
  &lt;/vc:DataSeries&gt; 

&lt;/vc:Chart&gt;</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Any point can be highlighted to show its importance</p>
<p>The screen shot below shows a HTML table containing Visifire sparkline charts, click on the image below to see silverlight example:</p>
<p> <a href="http://www.visifire.com/downloads/samples/embedded/sparkline_sample_16062008/demo/SparkLine.htm"><img border="0" width="367" src="http://visifire.com/blog/wp-content/post_images/SparklinechartsusingVisifire_DDFF/image1.png" alt="image" height="156" /></a></p>
<p>The code for this example can be downloaded from the <a href="http://www.visifire.com/downloads/samples/embedded/sparkline_sample_16062008/sparkline_sample_16062008.zip">here</a>.</p>
<p>Visifire sparkline charts support all events that are supported by line charts and hence can be easily used for creating drill down charts.</p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share" class="twitter-share-button" data-text="Sparkline Charts using Visifire" data-via="visifire" data-url="http://www.visifire.com/blog/2008/06/16/sparkline-charts-using-visifire/" data-count="none" data-via="visifire" data-related=":">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.visifire.com/blog/2008/06/16/sparkline-charts-using-visifire/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Real-time Charts using Visifire</title>
		<link>http://www.visifire.com/blog/2008/06/16/real-time-charts-using-visifire/</link>
		<comments>http://www.visifire.com/blog/2008/06/16/real-time-charts-using-visifire/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:22:22 +0000</pubDate>
		<dc:creator>karthik</dc:creator>
				<category><![CDATA[Creative Use of Visifire]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Tutorials and Samples]]></category>

		<guid isPermaLink="false">http://www.visifire.com/blog/2008/06/16/real-time-charts-using-visifire/</guid>
		<description><![CDATA[With the latest version of Visifire you can re-render the charts from JavaScript. I&#8217;ll show how to use this feature to create a real time chart. To create real-time charts from JavaScript follow these steps: Create a chart. Call a function to get updated XML. Call render function to display the chart. Repeat from step [...]]]></description>
			<content:encoded><![CDATA[<p>With the latest version of Visifire you can re-render the charts from JavaScript. I&#8217;ll show how to use this feature to create a real time chart.</p>
<p>To create real-time charts from JavaScript follow these steps:</p>
<ol>
<li>Create a chart.</li>
<li>Call a function to get updated XML.</li>
<li>Call render function to display the chart.</li>
<li>Repeat from step 2.</li>
</ol>
<p>It&#8217;s that simple, see the JavaScript code below:</p>
<p><a href="http://11011.net/software/vspaste"></a></p>
<pre>&lt;div id="Div1"&gt;
    &lt;script type="text/javascript"&gt;  

        //Create new chart
        var vChart1 = new Visifire('ClientBin/Visifire.xap',500,300); 

        //An array to store data
        var data = new Array(50); 

        //Initialize array with default values
        data = initializeData(data); 

        function update()
        {
            //Update array with latest data
            data = updateData(data); 

            //Generate chart XML using latest data
            var chartXML = updateChartXML(data); 

            //Set the XML for the chart
            vChart1.setDataXml(chartXML); 

            //Call render to display the chart
            vChart1.render("Div1"); 

            //Repeat after every second
            setTimeout(update,1000);
        } 

        //update the chart
        update(); 

    &lt;/script&gt;
&lt;/div&gt;</pre>
<p>The following image is the screen shot of real-time chart example. Click on the image see it in action:</p>
<p><a href="http://www.visifire.com/downloads/samples/embedded/realtime_sample_16062008/demo/realtime.htm"><img border="0" width="275" src="http://visifire.com/blog/wp-content/post_images/RealTimeChartsusingVisifire_A5EB/image_3.png" alt="image" height="125" /></a></p>
<p>You can download the source for this example <a href="http://www.visifire.com/downloads/samples/embedded/realtime_sample_16062008/realtime_sample_16062008.zip">here</a>.</p>
<p>The re-rendering process can also be used if the updated XML is stored in files, by using the <strong>chart.setDataUri</strong> function.</p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share" class="twitter-share-button" data-text="Real-time Charts using Visifire" data-via="visifire" data-url="http://www.visifire.com/blog/2008/06/16/real-time-charts-using-visifire/" data-count="none" data-via="visifire" data-related=":">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.visifire.com/blog/2008/06/16/real-time-charts-using-visifire/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

