Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 29th, 2006, 06:20 AM
Registered User
 
Join Date: Apr 2006
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
 
Old November 29th, 2006, 04:56 PM
Friend of Wrox
 
Join Date: Nov 2004
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?
 
Old November 30th, 2006, 04:51 AM
Registered User
 
Join Date: Apr 2006
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.