我需要有关c#图表的帮助 [英] i need a help about chart in c#

查看:94
本文介绍了我需要有关c#图表的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要一个关于如何在c#中使用图表的帮助,比如如何创建或添加新系列,方法是使用函数来查看图表上的数据,例如:我有一个2 dim数组,如array [x,2]数组的变量将从键盘输入,x也将从键盘输入,x将表示将在图表中显示的每个对象的行,因此系列的数量将创建为x ,,所以我需要一个功能,它在图表上显示我的不同颜色的objets



翻译[/ Yvar Birx]

大家好!



我需要有关如何在C#中创建图表的帮助。例如,使用函数创建和/或向图表添加新系列。让我们假设我有一个多维数组[x,y],并且该数组的变量将从键盘中添加。 (X)将代表图表的行。我需要一个函数,允许我将数组中的对象作为图表着色。



- 还是什么?

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?

推荐答案

你没有指定很多信息,特别是关于库(WinForms,WebControls),确切的问题...



我建议你从这里开始:搜索图表数组标记:C# [ ^ ]。



更多关于msdn:

使用图表控件 [ ^ ]

教程:创建基础图表 [ ^ ]



我认为开始是公平的;)
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 ;)


请注明需要



你喜欢在水晶报告中打印图表吗?

或者您需要在多维数组中显示值?



请清楚说明你需要什么。



指定输出格式
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


我需要显示多维值在点图上有不同颜色的数组,所以我需要创建一个带有函数的系列,因为在用户输入数量之前不知道对象的数量
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


这篇关于我需要有关c#图表的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆