Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Interface and Graphics > VB6 MSChart


Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2012, 08:29 AM
mathprof mathprof is offline
Regular
 
Join Date: May 2003
Posts: 91
Default VB6 MSChart


Is it possible/ How Can I ?
#1 explode a piece of a pie chart
#2 Write inside a piece of a pie chart

Thanks.
Reply With Quote
  #2  
Old 02-26-2012, 07:35 PM
surfR2911 surfR2911 is offline
Contributor
 
Join Date: Oct 2009
Posts: 719
Default Creating pie charts with exploding slices

Quote:
Is it possible?
Of course it is possible
You probably mean something like this.

Such things are normally done with Excel VBA, not VB6
You should probably post in the "VBA / Office Integration > Excel"
section of the forum to get the appropriate vba code.

I can give you a hint before you head over there...
Code:
ChartType = 70 'xl3dPieExploded from here.
(ChartType = 69 'xlPieExploded)
Quote:
How can I explode a piece of a pie chart and
write inside a piece of a pie chart?
For others who may want answers to these questions and need a
a sample "of drawing a pie chart with selectable exploding slice"
appropriate to this
"Legacy Visual Basic (VB 4/5/6) > Interface and Graphics" forum,
I have attached a demo with screenshot below.

If you want a 3D like pie chart an/or allow it to be tilt-able
as well as rotate-able you should check out the code here.

Last edited by surfR2911; 02-26-2012 at 07:43 PM.
Reply With Quote
  #3  
Old 02-26-2012, 08:00 PM
mathprof mathprof is offline
Regular
 
Join Date: May 2003
Posts: 91
Default

Wow! Elegant. Thank you.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->