Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys , i need a help about how to use chart in c# like how to create or add new series by using a function to spots data on chart for ex: i have an 2 dim array like array[x,2] and variables of array will be entered from keyboard , and also x will be entered from keyboard,, x will represent to row of the each object which will be showed in the chart so amount of series will be created as x,, so i need a function for it to show my objets with different color on the chart

Translation[/Yvar Birx]
Hello everyone!

I need help on how to create a chart in C#. For instance, creating and or adding new series to the chart by using a function. Let's assume I have a multi-dimensional array [x,y], and the variables of that array will be added from the keyboard. The (X) will represent the row of the chart. I need a function that will allow me to color the objects in the array as a chart.

-- Still, what?
Posted
Updated 30-Apr-13 12:16pm
v2
Comments
Yvar Birx 30-Apr-13 18:13pm    
What?

You do not specify to many information, especially about library (WinForms, WebControls), exact problem ...

I suggest you to start here: Search for chart array tag:C#[^].

More on msdn:
Using chart controls[^]
Tutorial: Creating a Basic chart[^]

I think it's fair enough for start ;)
 
Share this answer
 
please specify the need

Do you like to print chart as in crystal report?
or you need to display the values in the multidimensional array?

please specify clearly what you need.

specify the output format
 
Share this answer
 
i need to display values of multidimensional array with different color on the spot chart , so i need to create series with a function because amount of object is not know till user enter the amount
 
Share this answer
 
shortly i need to create a series array for the chart
 
Share this answer
 
ok guys ,, i solved the problem ,, thnx for help :))
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900