VC TeeChart动态创建series时 怎么设置为折现图,柱状图,饼图等等

lx993978632 2016-02-10 08:09:52
就是不在窗体中添加控件,然后打开一个一个编辑,直接使用代码动态生成。
TeeChart默认第一个series是折现图,然后之后的柱状图。。。请问怎么设置成自己想要的
...全文
669 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
wuji2906 2016-12-09
  • 打赏
  • 举报
回复
引用 1 楼 u011001084 的回复:
看看官方提供的api。很好读的。现在网上没有什么现成的。
怎么看??官方我找到的只有很简单的documents?
赵4老师 2016-12-09
  • 打赏
  • 举报
回复
官方连可用的例子代码都没有? 那还能叫官方吗?
liquanhai 2016-05-31
  • 打赏
  • 举报
回复
引用 4 楼 zhao4zhong1 的回复:
ESeriesClass

type ESeriesClass = (scLine, scBar, scHorizBar, scArea, scPoint, scPie, scFastLine, scShape, scGantt, scBubble, scArrow, scCandle, scPolar, scSurface, scVolume, scErrorBar, scBezier, scContour, scError, scPoint3D, scRadar, scClock, scWindRose, scBar3D, scImageBar, scDonut, scTriSurface, scBox, scHorizBox, scHistogram, scColorGrid, scBarJoin, scHighLow, scWaterfall, scSmith, scPyramid, scMap, scHorizLine, scFunnel, scCalendar, scHorizArea, scPointFigure, scGauge, scVector3D, scTower, scPolarBar, scBubble3D, scHorizHistogram, scVolumePipe, scIsoSurface, scDarvas, scHighLowLine, scPolarGrid, scDeltaPoint, scImagePoint, scOrganizational, scWorld, scTagCloud, scKagi, scRenko);

Type Library
TeeChartX

Description
ESeriesClass is used when adding new Series to a TChart. See TChart.AddSeries.


See note on use of Enum constants in differing development environments.

Values are

scLine = 0;
scBar = 1;
scHorizBar = 2;
scArea = 3;
scPoint = 4;
scPie = 5;
scFastLine = 6;
scShape = 7;
scGantt = 8;
scBubble = 9;
scArrow = 10;
scCandle = 11;
scPolar = 12;
scSurface = 13;
scVolume = 14;
scErrorBar = 15;
scBezier = 16;
scContour = 17;
scError = 18;
scPoint3D = 19;
scRadar = 20;
scClock = 21;
scWindRose = 22;
scBar3D = 23;
scImageBar = 24;



TeeChart Pro ActiveX Control Documentation. Copyright 1997-2007 Steema Software SL.
谢谢赵老师提供的方法,在teechart的帮助文件中找找就可以了
向立天 2016-03-30
  • 打赏
  • 举报
回复
您好 我是本版版主 此帖已多日无人关注 请您及时结帖 如您认为问题没有解决可按无满意结帖处理 另外本版设置了疑难问题汇总帖 并已在版面置顶 相关规定其帖子中有说明 您可以根据规定提交您帖子的链接 如您目前不想结帖只需回帖说明 我们会删除此结帖通知 见此回复多日内无回应 我们将强制结帖 相关规定详见界面界面版关于版主结帖工作的具体办法
赵4老师 2016-02-16
  • 打赏
  • 举报
回复
ESeriesClass

type ESeriesClass = (scLine, scBar, scHorizBar, scArea, scPoint, scPie, scFastLine, scShape, scGantt, scBubble, scArrow, scCandle, scPolar, scSurface, scVolume, scErrorBar, scBezier, scContour, scError, scPoint3D, scRadar, scClock, scWindRose, scBar3D, scImageBar, scDonut, scTriSurface, scBox, scHorizBox, scHistogram, scColorGrid, scBarJoin, scHighLow, scWaterfall, scSmith, scPyramid, scMap, scHorizLine, scFunnel, scCalendar, scHorizArea, scPointFigure, scGauge, scVector3D, scTower, scPolarBar, scBubble3D, scHorizHistogram, scVolumePipe, scIsoSurface, scDarvas, scHighLowLine, scPolarGrid, scDeltaPoint, scImagePoint, scOrganizational, scWorld, scTagCloud, scKagi, scRenko);

Type Library
TeeChartX

Description
ESeriesClass is used when adding new Series to a TChart. See TChart.AddSeries.


See note on use of Enum constants in differing development environments.

Values are

scLine = 0;
scBar = 1;
scHorizBar = 2;
scArea = 3;
scPoint = 4;
scPie = 5;
scFastLine = 6;
scShape = 7;
scGantt = 8;
scBubble = 9;
scArrow = 10;
scCandle = 11;
scPolar = 12;
scSurface = 13;
scVolume = 14;
scErrorBar = 15;
scBezier = 16;
scContour = 17;
scError = 18;
scPoint3D = 19;
scRadar = 20;
scClock = 21;
scWindRose = 22;
scBar3D = 23;
scImageBar = 24;



TeeChart Pro ActiveX Control Documentation. Copyright 1997-2007 Steema Software SL.
赵4老师 2016-02-16
  • 打赏
  • 举报
回复
ITChart.AddSeries ITChart function AddSeries(SeriesClass: ESeriesClass): Integer; Type Library TeeChartX Description The AddSeries method adds a new Series class to the Chart. Example [Visual Basic]: TChart1.AddSeries(scLine) TeeChart Pro ActiveX Control Documentation. Copyright 1997-2007 Steema Software SL.
paschen 2016-02-15
  • 打赏
  • 举报
回复
每个版本TeeChart都还不太一样,去看说明文档,另外安装目录下是有官方给的例子的!
ArthurKingYs 2016-02-15
  • 打赏
  • 举报
回复
看看官方提供的api。很好读的。现在网上没有什么现成的。

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧