使用来自MSFlexgrid的数据使用MSChart控件绘制线图 [英] Drawing line graph using MSChart control using data from MSFlexgrid

查看:83
本文介绍了使用来自MSFlexgrid的数据使用MSChart控件绘制线图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表格(MSFlexgrid1),表格(frmCalculate)包含2列深度和体积数据。我想通过使用MSChart控件以新形式(frmGraph)绘制Depth Vs Volume的折线图。我怎么能这样做?

I have a table (MSFlexgrid1) in a form (frmCalculate) containing 2 columns of Depth and Volume data. I want to draw a line graph of Depth Vs Volume in a new form (frmGraph) by using MSChart control. How can I do this?

推荐答案

它是:X =深度Y =体积?

Y |音量

|

|

|

| _________ X深度


反之亦然?
Is it: X= depth Y= volume ?
Y| volume
|
|
|
|_________X depth

or vice versa ?


Y =深度

X =音量
Y = Depth
X = Volume


当我在网上搜索此事时,我发现使用FusionChart绘制图形。我已经通过其文档下载了它,但是我无法通过使用来自MSFlexgrid的数据来绘制图形。使用FusionChart和MSChart控件绘制图形的不同之处是什么?哪一个更容易理解和使用?


TQ求助:)
While I search on web about this matter, I found about drawing graph using FusionChart. I have downloaded it an read through its documentation, but I couldn''t find on drawing graph by using data from MSFlexgrid. What is exactly the different of drawing the graph by using FusionChart and MSChart controls? Which one is easier to understand and use?

TQ for your help :)


这篇关于使用来自MSFlexgrid的数据使用MSChart控件绘制线图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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