在饼图中需要帮助 [英] need help in pie chart

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

问题描述

我开发了一个会计软件,在这里我制作了一些图表

这个我使用的是MSChart。

只要图表有关它的工作正常图表显示了所需的结果。问题只出现在饼图中


好​​吧,当我使用图表类型时

i had developed an accouting software and in this i made some chart
for this i used MSChart .
As long as charting is concerned it is working fine all the chart is showing the desired results. the problem only arise in pie chart


well , when i use the chart type as

展开 | 选择 | Wrap | 行号

推荐答案



图表通过代表显示数据(表示销售六个月)根据每个月销售的六个圆圈大小

现在我希望图表看起来就像Excel中的饼图一样,为期六个月的销售它必须向我显示每个销售的一个圆圈月将显示为同一圈中的一部分e。


我想这会清楚你真正想要的东西。

有没有其他控件可用于绘制图表?

the chart show the data (let says sale of six month) by representing six circles size according to each month sales
now i want the chart to be look like just as pie chart in Excel that is for six months sale it has to show me only one circle the the sale of each month will shown as portion in the same circle.

I think this will clear to you what i actually want.
Is there any other control is available to draw charts or not?



我没有太多使用此类图表的经验,但我会说这是因为变量位于数组的错误维度。即


让我们说应用程序将绘制列,你的信息是这样的:


______________________________________________

|第1个月|第2个月|第3个月|第4个月|第5个月|第6个月|

--------------------------------------- -----------------------------------


你需要它喜欢这个


_______

|第1个月|

-----------

|第2个月|

-----------

|第3个月|

--- --------

|第4个月|

-----------


我会说换位你的阵列,或者只是添加第二维就可以了,即


如果你有

arr(1)=第1个月

arr(2)=第2个月

arr(3)=第3个月

arr(4)=第4个月>
尝试使用

arr(1,1)=第1个月

arr(2,1)=第2个月

arr (3,1)=第3个月

arr(4,1)=第4个月

或者

arr(1,1)=第1个月

arr(1,2)=第2个月

arr(1,3)=第3个月

arr(1,4) =月4

HTH

I have not much experience using this type of charts, but i''ll say it''s because the variables are in the wrong dimension of the array. i.e.

Lets say the application will plot the columns, and your info is like this:

______________________________________________
| Month1 | Month 2 | Month 3 | Month 4 | Month 5 | Month 6 |
--------------------------------------------------------------------------

you need it like this

_______
|Month 1|
-----------
|Month 2|
-----------
|Month 3|
-----------
|Month 4|
-----------

I''ll say that transposing your array, or simply adding it a second dimension will do, i.e.

If you have
arr(1) = month 1
arr(2) = month 2
arr(3) = month 3
arr(4) = month 4
try with
arr(1,1) = month 1
arr(2,1) = month 2
arr(3,1) = month 3
arr(4,1) = month 4
or with
arr(1,1) = month 1
arr(1,2) = month 2
arr(1,3) = month 3
arr(1,4) = month 4

HTH


只是小费,kadghar。如果你使用CODE标签,一切都会更好地排队。 :)
Just a tip, kadghar. If you use a CODE tag, everything will line up better. :)


告诉我如何在这里上传图片的消息我想我会在图片的帮助下更有效地描述我的问题


i不明白你们两个都在说什么。

i我从sqlserver获取数据,

我的问题不是数据,而是图片显示的图片

i只是想要一个饼图,只显示一个圆圈,并通过着色不同颜色的相同圆圈显示该圆圈中的销售量。

目前如果我想要显示它给我的销售(如果我采取的话)六个蛾数据)

六个不同的圆圈,每个圆圈和那个月的销售量一样大


有什么东西我在吵架因为线图和条形图以及区域图等所有其他图形都显示正确的图片。
tell me how upload pictures here in message i think i will describe my problem more effiently with the help of picture

i did not understand what you both are saying.
i am taking data from sqlserver ,
my problem is not of data but the pictures that graphes shows
i just want a pie chart which shows only one circle and the show the amount of sales in that circle by colouring the same circle in differenc colours.
currently if i want to disply the sales it shoes me (if i take six moth data)
six different circles each circle is as big as the amout of sales as on that month

is there any thing which i am dioing wroing becuase all the other graphs like linegraph and bar graph and area graph are showing correct pictures.


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

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