Generate Different Charts using Silverlight Toolkit

Hey Friends,

In this article, I will be telling you all about the method using which you can generate the charts with the help of Silverlight Toolkit which is freely available for download from here.

Before starting the actual process, you must download the Silverlight 4 from here.

After installing the Silverlight 4 and the toolkit, Create a new project in Visual Studio 2010 of Silverlight and while creating a new project ensure that you check the enable WCF services option. ( This option is useful if you are using the WCF services for your project )

After creating a new project, add the following references to the project.

I am considering the sample data for the simple chart that we want to make. We create a new class as follows:

Now we have two variables CustName and Orders which are defined inside the MyClass Class. Our Chart will show the data about the Customer Name and Orders in the Line Chart. So using the following code sample,

Above code sample indicates which data will be represented in the chart. We have Created a MyClassObj object of the List of MyClass Class and then we are adding the Data of the five people inside the Chart to display.
Now, to call this we need an object of RoutedEventHandler, so
:)

Now we also have to change the MainPage.xaml file for the display purpose of the chart, refer the below code for the same:

We are generating the simple LineSeries Chart using the above code. If one wants to display a PieSeries, BubbleSeries, ScatterSeries, ColumnSeries or Series Like all the Stacked Series, then just change the LineSeries from the code and you are done for the respective series which are available in the Silverlight Toolkit. :)

After doing all this, just run the application and the following lineSeries will be generated :

Similarly, if you generate the other series then you will get the following charts:

Bubble Chart

Pie Chart

Area Chart

So, there you are ready with all the Charts using the Silverlight Toolkit and those look awesome for your dashboard, aren’t they? ;)

Enjoy :)

Build a Windows Phone 7 Application using Telerik Controls

Hi guys,

Telerik is running an awesome offer for user groups in conjunction with Microsoft and PreEmptive Solutions.

Build a Windows Phone 7 application and the first 500 submissions from user group members will get a onetime donation of 100 USD for their group !

Well, this offer is for the User Groups only.

If you want to participate, then there are 3 steps:

1.       Develop a Windows Phone 7 app using Telerik RadControls for Windows Phone 7 and PreEmptive Solutions Runtime Intelligence for Windows Phone

2.       Submit your application to WP7 marketplace.

3.       Ask your user group leader to notify Telerik (usergroupcompetition@telerik.com) of your published application and the user group will receive 100 USD to help in its annual expenditures.

Quick facts:

  • You keep the application!
  • Multiple members from a group can submit as many entries as they like, as long as they are within first 500
  • Contest ends June 2011
  • Submit questions & applications to usergroupcompetition@telerik.com.

Full details can be found here.

This is a really great opportunity to get some cash to your group, so please encourage your members by email or newsletter from now through June.

Enjoy :)

Play Herbal Holi, Be Safe!

When the Holi Days arrive, these Glitters, Sprays, Synthetic Colours are sold in the market in the huge quantity. But Its really hard to believe that people buy these glitter products and risk their lives which sometimes cause serious health problems. :(

Over the past couple of years and the “herbal” tag is prominently the safest packets of Holi colours being sold across the city.

I played Holi ( which is also called as Dhuliwadan in Marathi ) till I was in the 9th std. I used to play a lot :) But when I was in the 9th std, I got a serious reaction of colors. then I left playing Holi with those colors. :P

Almost 7 years passed, I havent played Holi. Friends do come for playing Holi but I have the strong decision myself “not to play”. I just let them apply somekinda “Gulal” on the face and thats it :)

Today is Holi and I didnt play it today also. I went to the friend’s house and we applied some Gulal, thats it :) You know what, I feel Holi should be played with these dry herbal colors all the time. Its awesome feeling when one plays with them and there is no chance of any reaction as such. Even one looks awesome with those colors :)

So I suggest all the readers to play Holi with herbal colors and play it safe and enjoy Holi to the fullest! :D \m/

Some of the today’s Simple Holi Pics ( Only Gulal, that too on the face when I came back home ) :

This slideshow requires JavaScript.

Microsoft DreamSpark Yatra 2011 – Nagpur Experience !!


Microsoft DreamSpark Yatra 2011 Nagpur was a very memorable experience in my life. Enjoyed a lot and really, it has changed my life altogether and I even made some really good friends. Well, Talking about the efforts “MSP team in Nagpur” had taken, they made this event a Grand Success. :) :)

The Event held in G.H. Raisoni College of Engineering on 17th Feb. Almost 7000+ Site Hits – 3000 SMS – 1300 Check in’s – More than 800 Phone Calls – 100 Mails – 50 Volunteers – 47 Colleges – 18 days – 10 MSP’s – 4 Cities, this is what speaks of the success of the complete event. :)

Everything was executed very well..!! I have given many seminars ( technical ) before this DreamSpark Yatra, but this experience was really different. We had organized two DreamSpark Yatra’s on a single day. Talking to the audience of 60-70 people is one thing and talking in front of the crowd of 750 people is totally different. I was a little nervous before the seminar. Hmm.. Well, I chose the topic of “Microsoft Kodu – The Ultimate Gaming Lab” for my session. ;)

It is freaking awesome if you have interest in the Gaming Side with no programming skills.
The Morning session was very good. I am not telling this myself ( Verified by the response I got after the session  ) . Everybody was so keen about the topic and looked very interested. :D

Many sessions were held under DreamSpark Yatra. Mr. Sachid Deshmukh from Microsoft came all the way from Hyderabad to take a session on Windows Phone 7. The session was good but frankly speaking, Participants were not showing much of the interest in the session as the it contained all the business standards, marketplaces and many things which the attendees didnt like. But overall, a great session :)

Many quiz questions were put forward to the attendees during the gaps between the sessions to give them a chance to win some cool exciting goodies and prizes. ( Goodies – Microsoft Software DVD’s and even some Microsoft T-shirts for a little harder questions  ) .

The second session also contained the same seminars as those in the first session.  It also went great. :)

Microsoft Kinect Demo was the most exciting part of the whole DreamSpark Yatra .Everybody was very keen to come and play the games on the Kinect and Crowd was also supporting them. It was really a great atmosphere there
I really enjoyed being a part of the organizing committee of DreamSpark Yatra, Nagpur. Before 2 days of DreamSpark Yatra I was feeling unwell and wasn’t really in a position to even attend the event. But yes, I attended it, took a session myself and felt awesome after that! :D

Talking about the funny things that happened during the DreamSpark Yatra,

  • Got an opportunity to talk and befriend many Girls.
  • Right now I am known as Kodubaba after taking the session on Microsoft Kodu .  lol!
  • After 5-6 days, I got a call at 11pm from one of the attendees. He was asked whether they can show their 4th sem project in Microsoft Kodu!!

I was shocked to listen to the question. ha ha ha !! But really nice to even receive compliments for what you taught!
The Best thing about the DreamSpark Yatra was that I found one *beautiful* girl in the crowd of the audience. But didnt get a chance to interact with her. I could feel her looking at me many times but since I got stuck up somewhere, I could not show my attention towards her. :P Dont know why? :| Still, I am sure, I will definitely find her sometime, somewhere. Dont know her name though but have her name in the list of the whole Attendees  *Need some extra efforts to find that name* hehe. Note: Always think positive  Well, even she can contact me in the future  haha! :D

So, it was one hell of an experience of my life and I will cherish each and every moment of it whether it was happy, emotional, unhealthy, healthy .  I can now say that this event was one of the Greatest Technical Event that has been organized in Nagpur *Yayness Feeling* :D

Well, if I continue talking about this, I will never stop  But I need to do some projects too. *Very Important* Really!! *sigh*

So, cutting short. This was the experience of the Microsoft DreamSpark Yatra 2011, Nagpur.
Keep checking for further updates and yes, after a long time I have written this post! Again Awesomeness feeling, Thanks to *someone*

You can check the pics of the Event as follows:

This slideshow requires JavaScript.