Creating a Silverlight Application - Opening a new project in Microsoft Expression Blend

You will see that project is created: Silverlight 3D Charts with MainPage.xaml as a startup page.

Understanding the concept

First we will create a chart with the column data series. By default, Silverlight have a style of 2D chart style. We will edit the ColumnDataPoint style of the column series to make it look like 3-Dimensional.

Creating static Chart using XAML coding

First we will create a simple chart. Go to the assets tab and drag and drop the chart item from it on the MainPage.xaml

It will create a chart with the Column Series, as shown in the figure.

You can edit the chart properties like title, width, height etc from the xaml view.

Change the properties of the Chart to following values to make the chart viewable.

Title="3D Chart" Margin="0,0,0,0" Width="600" Height="400"

Changing Style of Columnseries

Now Right Click on the columnseries in the design view go to Edit Additional Templates > Edit Data Point Style > Edit a Copy

It will open a “Create Style Resource” dialog box, give the name (Key) as 3DColumnDataPointStyle and click on Ok.

Now as shown in the figure below Column Data Point style is available for editing. It will generate the style in the xaml under the

Output

Click on the banners at the top of article or in the right panel to visit my blog's sponsors. They are all hand-picked and are selected based on providing great products and services to the SharePoint community.

I’d be very grateful if you’d help it spread by Sharing. Below, you should find links to sharing this article on your favorite social media sites.

Click on the banners at the top of article or in the right panel to visit my blog's sponsors. They are all hand-picked and are selected based on providing great products and services to the SharePoint community.

I’d be very grateful if you’d help it spread by Sharing. Below, you should find links to sharing this article on your favorite social media sites.