Description: 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
To Search:
File list (Check if you may need any files):
MyBarChartTest\MyBarChartTest\MyBarChart.cpp
..............\..............\MyBarChart.h
..............\..............\MyBarChartTest.aps
..............\..............\MyBarChartTest.cpp
..............\..............\MyBarChartTest.h
..............\..............\MyBarChartTest.rc
..............\..............\MyBarChartTest.vcxproj
..............\..............\MyBarChartTest.vcxproj.filters
..............\..............\MyBarChartTest.vcxproj.user
..............\..............\MyBarChartTestDlg.cpp
..............\..............\MyBarChartTestDlg.h
..............\..............\ReadMe.txt
..............\..............\res\MyBarChartTest.ico
..............\..............\...\MyBarChartTest.rc2
..............\..............\Resource.h
..............\..............\stdafx.cpp
..............\..............\stdafx.h
..............\..............\targetver.h
..............\MyBarChartTest.sln
..............\MyBarChartTest.suo
..............\..............\res
..............\MyBarChartTest
MyBarChartTest