Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 29th, 2006, 06:20 AM
Registered User
 
Join Date: Apr 2006
Location: Melbourne, Victoria, Australia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chart

I've created a pie chart control on a form and the data that will be dispayed on the chart will be taken from a text box or numeric updown (also on the form) that have values. Unfortunately the chart is not taking these values or data. The strange part is that I cannot find any book that address this issue of charting or explain how to do it even though I find it an imoprtant topic; I don't know why? Can anyone please help on this or advice if there is a book that address it.

Thanks
Khalil
Reply With Quote
  #2 (permalink)  
Old November 29th, 2006, 04:56 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

What method are you using (or trying to use) to make a 'connection' between the up/dn ctrls & the chart?
Reply With Quote
  #3 (permalink)  
Old November 30th, 2006, 04:51 AM
Registered User
 
Join Date: Apr 2006
Location: Melbourne, Victoria, Australia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure what do you mean by connection?

I have this code:

Private Sub AxMSChart2_ChartSelected(ByVal sender As System.Object, ByVal e As AxMSChart20Lib._DMSChartEvents_ChartSelectedEvent) Handles chtLoan.ChartSelected
        Dim Result(,) As Object = New Object(,) _
        {{"Principal", "Interest"}, {Principal.ToString, TotalInt.ToString}}
        chtLoan.ChartData = Result

    End Sub

Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart Visibility baaul Reporting Services 1 September 28th, 2006 03:53 PM
Help on Pie Chart DudeBori82 Classic ASP Professional 9 May 3rd, 2005 04:24 PM
Chart and XML macromotion Flash (all versions) 0 December 11th, 2004 12:42 PM
Using Customized chart for Pivot Chart kliu9 Excel VBA 3 October 13th, 2004 09:37 AM
Drill Down from Bar Chart to another chart snowbird Crystal Reports 0 July 11th, 2003 01:53 PM



All times are GMT -4. The time now is 01:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.