Charts



  • 0 comments   /   posted by   Ivan Dragoev  on  Jun 11, 2008 (1 month ago)

    While digging into templating and styling of Silverlight 2 Beta 2 controls, I came into a situation where the event for MouseLeftButtonDown was not triggered when I click on the control. I created a sample project and in the Page.xaml I added the following:

    <StackPanel Orientation="Vertical" 
    MouseLeftButtonDown="StackPanel_MouseLeftButtonDown">
    <
    TextBlock Text="Antonio Moreno" Height="22" FontSize="16" />
    <
    Grid>
    <
    Grid.ColumnDefinitions>
    <
    ColumnDefinition />
    <
    ColumnDefinition />
    </
    Grid.ColumnDefinitions>

    <
    TextBlock Text="AMoreno@hotmail.com" Grid.Column="0"/>
    <
    TextBlock Text="(5) 555-3932" Grid.Column="1"/>
    </
    Grid>
    </
    StackPanel>

     As you can see from the xaml, I have a StackPanel and an event handler for MouseLeftButtonDown event.



  • 1 comments   /   posted by   Denislav Savkov  on  Feb 12, 2008 (5 months ago)

    Overview


    Data represented visually is often easier to read. In this article we present a bar chart control, which presents content of a table. In the same way as in one of our previous examples the control loads its data from an Excel XML Spreadsheet. It looks traditional but there are just a few minor improvements added.

    Download soruce code(Silverlight control library, sample application) C#, VS2008 RTM
    View Live Demo

    In General

    There are three steps to create the control:

    • Load the data from a .XAML
    • Initialize the needed components
    • Set their properties so that they arrange according to the size of the control.
  • 2 comments   /   aggregated from   Adam Kinney, Silverlight Surfer  on  Feb 06, 2008 (5 months ago)   /   original article

    I've seen this request many times:

    How do I make a Chart in Silverlight?

    I'm going to show you that with some simple math and a little bit Silverlight knowledge, you too, can enjoy the clarity of a chart on your web page. 

    Technically, the goal is to build a simple reusable horizontal bar chart using Silverlight 1.0 and dynamic data.  The code will be written in XAML and JavaScript and I will be using Visual Studio 2008 as my editor.  How you get the data to the app is up to you, but to keep this simple, I will be using local JSON formatted data.

  • 1 comments   /   posted by   Emil Stoychev  on  Nov 28, 2007 (7 months ago)

    Overview

    In the previous part of this tutorial we showed you how to build a simple line chart which loads its data from an exported Excel XML Spreadsheet or from a serialized list of points (in XML format). In this part we will show how to load chart data from an Astoria service.

    Topics covered:
    • creating ADO.NET Entity Data Model
    • creating Astoria service
    • using Astoria service using the Astoria client for Silverlight

    What is Astoria anyway?

    Astoria is the code name of a new Microsoft technology that enables applications to expose data as a data service that can be consumed by web clients over HTTP.
  • 0 comments   /   posted by   Emil Stoychev  on  Nov 22, 2007 (8 months ago)

    A while ago SoftwareFX released cool Silvelverlight charts which show just how powerful Silverlight can be. Now they are sharing their experience and future plans with us.

      
    1.      What difficulties are you facing?
    Currently, Silverlight and its accompanying tools, like Microsoft Expression Blend, are difficult to work with from a third party perspective due to the infancy of the integration foundation. However, knowing Microsoft’s development practices this is natural and at some point integrating Silverlight components into Visual Studio 2008 and Microsoft Expression Blend will become seamless.
  • 15 comments   /   posted by   Emil Stoychev  on  Nov 20, 2007 (8 months ago)

    Overview

    As a new technology Silverlight 1.1 in its alpha version doesn’t allow to be used in real world applications, except for media players. We have a lot of examples demonstrating what is possible to be done in 1.1, but nothing really useful.
    We, at SilverlightShow.net, think that it will be nice to have something useful that will help solving common tasks. One of these tasks is to show a simple chart on a web page. This is the first of many articles explaining how this could be done in Silverlight 1.1.