|
-
April 12th, 2012, 03:01 AM
#1
How to Dynamically create a graph?
I am using Microsoft Visual Studio 2010.
my program dynamically finds names and their total in an entire list by satisfying some conditions.
Now, I want to display a graph of names v/s total(names).
The graph should change dynamically..
How do I create and display such a graph?
-
April 12th, 2012, 02:09 PM
#2
Re: How to Dynamically create a graph?
Check this site from MSDN for a very complete set of examples on how to use msChart.
What I would do is to have one msChart and add ChartAreas to it as you add new items. Or you could reuse them if you are going to have a large amount of items. You could then set the chartareas visibility to select the ones you want visible. Check the examples, there's a lot in there.
-
April 13th, 2012, 01:01 AM
#3
Re: How to Dynamically create a graph?
I have 2 arrays ne having data for x-axis and the other for y-axis.
I did go through that msdn site but I do not understand as to how to take the input from the arrays and plot the graph.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|