Article Options
Recently Viewed
Premium Sponsor
Premium Sponsor

 »  Home  »  .NET Newbie  »  Chart Success: Second Helpings of Pie. Part 3  »  Summary
 »  Home  »  Windows Development  »  Graphics  »  Chart Success: Second Helpings of Pie. Part 3  »  Summary
Chart Success: Second Helpings of Pie. Part 3
by Ged Mead | Published  03/23/2005 | .NET Newbie Graphics | Rating:
Ged Mead

Ged Mead (XTab) is a Microsoft Visual Basic MVP who has been working on computer software and design for more than 25 years. His journey has taken him through many different facets of IT. These include training as a Systems Analyst, working in a mainframe software development environment, creating financial management systems and a short time spent on military laptop systems in the days when it took two strong men to carry a 'mobile' system.

Based in an idyllic lochside location in the West of Scotland, he is currently involved in an ever-widening range of VB.NET, WPF and Silverlight development projects. Now working in a consultancy environment, his passion however still remains helping students and professional developers to take advantage of the ever increasing range of sophisticated tools available to them.

Ged is a regular contributor to forums on vbCity and authors articles for DevCity. He is a moderator on VBCity and the MSDN Tech Forums and spends a lot of time answering technical questions there and in several other VB forum sites. Senior Editor for DevCity.NET, vbCity Developer Community Leader and Admin, and DevCity.NET Newsletter Editor. He has written and continues to tutor a number of free online courses for VB.NET developers.

 

View all articles by Ged Mead...
Summary

 

 

In this article the original Pie Chart creation code moved closer to a real world scenario, one where the user inputs the data at run time.

     The Invalidate method was introduced and we saw how this forces a repaint of the control on which it is called.   

   A  HatchBrush was used to fill the pie segments with patterns selected from the HatchStyle enumeration.

 In summary, this article included coverage of the following :

 

  •  ArrayList
  •  Brush
  •  ColorDialog
  •  Dispose
  •  DrawPie
  •  DrawRectangle
  •  DrawString
  •  FillPie
  •  FillRectangle
  •  Font object
  •  HatchBrush
  •  HatchStyle
  •  Invalidate
  •  Pen
  •  StartAngle
  •  Structure
  •  SweepAngle
  •  System.Enum.GetNames
  •  System.Enum.Parse

If you have read all three articles in this series so far, I hope you will now be feeling very comfortable with several of the key basic Graphics Class methods, properties and techniques.   And I also hope that you will be looking forward to charting some new territory in Part 4 where we return to create a better bar chart.

How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Tell us why you rated this way (optional):

Article Rating
The average rating is: No-one else has rated this article yet.

Article rating:3.67647058823529 out of 5
 34 people have rated this page
Article Score35793
Article Series
Related Articles
Attachments
Comments    Submit Comment

Comment #1  (Posted by an unknown user on 03/25/2005)
Rating
The good is getting even better. Cool job, Ged.
 
Comment #2  (Posted by an unknown user on 04/19/2005)
Rating
an amazing series of articles! It difficult to explain in such a simple way has you did. Thanks
 
Comment #3  (Posted by Ronan on 04/13/2006)
Rating
Hi i have read these tutorials and am looking your help.
I am trying to develop a pie chart interface in Visual Studio 2003 for a PDA (Smart Device Application) and tried your code. however it is not compatible as it does not recognise the drawPie and FillPie commands, etc. Do you have an example i could use to help me for this?
Thank you, Ronan
 
Comment #4  (Posted by PeteB on 05/22/2006)
Rating
reall useful.
 
Comment #5  (Posted by an unknown user on 12/08/2006)
Rating
Very Educative
 
Comment #6  (Posted by an unknown user on 08/27/2007)
Rating
clear / simple
 
Comment #7  (Posted by Lorin on 01/12/2012)
Rating
Stellar work there everynoe. I'll keep on reading.
 
Comment #8  (Posted by buy cheap oem software on 02/10/2012)
Rating
kVPQom A unique note..!!
 
Comment #9  (Posted by cheap oem software on 02/12/2012)
Rating
rFRyun I am amazed with the abundance of interesting articles on your site! The author - good luck and wish you the new interesting posts..!!
 
Comment #10  (Posted by esalerugs promo code on 02/13/2012)
Rating
The text is promising, will place the site to my favorites..!!
 
Comment #11  (Posted by cheapoair on 02/13/2012)
Rating
Hooray! the one who wrote is a cool guy..!!
 
Comment #12  (Posted by how to get twitter followers free on 02/13/2012)
Rating
I decided to help and sent a post to the social bookmarks. I hope to raise it in popularity!!....
 
Comment #13  (Posted by viagra on 02/13/2012)
Rating
Yeah !... life is like riding a bicycle. You will not fall unless you stop pedaling!!....
 
Comment #14  (Posted by Voorhees NJ personal trainer on 02/13/2012)
Rating
I subscribed to RSS, but for some reason, the messages are written in the form of some hieroglyph (How can it be corrected?!....
 
Comment #15  (Posted by Microsoft OEM Software on 03/07/2012)
Rating
d7oyEn Thanks so much for the blog post.Really looking forward to read more. Want more.
 
Comment #16  (Posted by Discount OEM Software on 03/07/2012)
Rating
eIpZY5 I loved your blog post. Really Great.
 
Comment #17  (Posted by Discount OEM Software on 03/07/2012)
Rating
I1qenc I value the post.Much thanks again. Keep writing.
 
Comment #18  (Posted by Microsoft OEM Software on 03/08/2012)
Rating
oolcyS Im obliged for the article.Much thanks again. Really Great.
 
Comment #19  (Posted by Microsoft OEM Software on 03/08/2012)
Rating
LgovCc Thanks for the blog article. Awesome.
 
Comment #20  (Posted by Discount OEM Software on 03/08/2012)
Rating
criBPy Really appreciate you sharing this article post.Really looking forward to read more. Really Cool.
 
Comment #21  (Posted by wholesale men clothing on 03/20/2012)
Rating
Im obliged for the post.Really looking forward to read more. Cool.
 
Comment #22  (Posted by Bristol Airport Hotels on 04/18/2012)
Rating
EwQlc3 Say, you got a nice blog post.Really looking forward to read more. Want more.
 
Comment #23  (Posted by Bristol Airport Hotels on 04/18/2012)
Rating
FjJ9X0 Hey, thanks for the blog article.Really thank you! Want more.
 
Comment #24  (Posted by Bristol Airport Hotels on 04/18/2012)
Rating
YtiUi6 wow, awesome blog post.Thanks Again. Really Cool.
 
Sponsored Links