文件名称:MyBarChartTest
-
所属分类:
- 标签属性:
- 上传时间:2014-04-18
-
文件大小:133.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行
控件内柱子所在位置 大小 可根据控件大小自适应调整大小及位置
每根柱子高度为相邻柱子之间间隙 设控件总宽度为W 柱子个数为N 那么间隙宽度 X W 3 N + 1 柱子高度为 Y 2 X 2 W 3 N + 1
使用步骤:
1 申明对象 CMyBarChart m conBarChart
2 创建控件 m conBarChart Create CRect 10 10 400 400 this 1000 " Barchart Test"
3 添加 删除数据 m conBarChart AddData 1 234 “AAA” RGB 0 0 0 true m conBarChart DelLastData
4 刷新柱状图 m conBarChart Refresh ">基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 -Histogram Histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project to run
Location within the control column size can be adjusted according to the size and location of the adaptive control size
The height of each pillar was a gap is provided between adjacent pillars controls overall width W is N then the column number of the gap width XW 3 N+ 1 pillar height of Y 2 X 2 W 3 N+ 1
Use these steps:
A declaration object CMyBarChart m conBarChart
2 Create controls m conBarChart Create CRect 10 10 400 400 this 1000 "Barchart Test"
3 add and delete data m conBarChart AddData 1 234 "AAA" RGB 0 0 0 true m conBarChart DelLastData
4 Refresh histogram m conBarChart Refresh "> histogram histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project
控件内柱子所在位置 大小 可根据控件大小自适应调整大小及位置
每根柱子高度为相邻柱子之间间隙 设控件总宽度为W 柱子个数为N 那么间隙宽度 X W 3 N + 1 柱子高度为 Y 2 X 2 W 3 N + 1
使用步骤:
1 申明对象 CMyBarChart m conBarChart
2 创建控件 m conBarChart Create CRect 10 10 400 400 this 1000 " Barchart Test"
3 添加 删除数据 m conBarChart AddData 1 234 “AAA” RGB 0 0 0 true m conBarChart DelLastData
4 刷新柱状图 m conBarChart Refresh ">基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 -Histogram Histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project to run
Location within the control column size can be adjusted according to the size and location of the adaptive control size
The height of each pillar was a gap is provided between adjacent pillars controls overall width W is N then the column number of the gap width XW 3 N+ 1 pillar height of Y 2 X 2 W 3 N+ 1
Use these steps:
A declaration object CMyBarChart m conBarChart
2 Create controls m conBarChart Create CRect 10 10 400 400 this 1000 "Barchart Test"
3 add and delete data m conBarChart AddData 1 234 "AAA" RGB 0 0 0 true m conBarChart DelLastData
4 Refresh histogram m conBarChart Refresh "> histogram histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyBarChartTest/MyBarChartTest/MyBarChart.cpp
MyBarChartTest/MyBarChartTest/MyBarChart.h
MyBarChartTest/MyBarChartTest/MyBarChartTest.aps
MyBarChartTest/MyBarChartTest/MyBarChartTest.cpp
MyBarChartTest/MyBarChartTest/MyBarChartTest.h
MyBarChartTest/MyBarChartTest/MyBarChartTest.rc
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj.filters
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj.user
MyBarChartTest/MyBarChartTest/MyBarChartTestDlg.cpp
MyBarChartTest/MyBarChartTest/MyBarChartTestDlg.h
MyBarChartTest/MyBarChartTest/ReadMe.txt
MyBarChartTest/MyBarChartTest/res/MyBarChartTest.ico
MyBarChartTest/MyBarChartTest/res/MyBarChartTest.rc2
MyBarChartTest/MyBarChartTest/Resource.h
MyBarChartTest/MyBarChartTest/stdafx.cpp
MyBarChartTest/MyBarChartTest/stdafx.h
MyBarChartTest/MyBarChartTest/targetver.h
MyBarChartTest/MyBarChartTest.sln
MyBarChartTest/MyBarChartTest.suo
MyBarChartTest/MyBarChartTest/res
MyBarChartTest/MyBarChartTest
MyBarChartTest
MyBarChartTest/MyBarChartTest/MyBarChart.h
MyBarChartTest/MyBarChartTest/MyBarChartTest.aps
MyBarChartTest/MyBarChartTest/MyBarChartTest.cpp
MyBarChartTest/MyBarChartTest/MyBarChartTest.h
MyBarChartTest/MyBarChartTest/MyBarChartTest.rc
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj.filters
MyBarChartTest/MyBarChartTest/MyBarChartTest.vcxproj.user
MyBarChartTest/MyBarChartTest/MyBarChartTestDlg.cpp
MyBarChartTest/MyBarChartTest/MyBarChartTestDlg.h
MyBarChartTest/MyBarChartTest/ReadMe.txt
MyBarChartTest/MyBarChartTest/res/MyBarChartTest.ico
MyBarChartTest/MyBarChartTest/res/MyBarChartTest.rc2
MyBarChartTest/MyBarChartTest/Resource.h
MyBarChartTest/MyBarChartTest/stdafx.cpp
MyBarChartTest/MyBarChartTest/stdafx.h
MyBarChartTest/MyBarChartTest/targetver.h
MyBarChartTest/MyBarChartTest.sln
MyBarChartTest/MyBarChartTest.suo
MyBarChartTest/MyBarChartTest/res
MyBarChartTest/MyBarChartTest
MyBarChartTest
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.