Click here to Skip to main content
15,884,836 members
Articles / Desktop Programming / MFC

High-speed Charting Control

Rate me:
Please Sign up or sign in to vote.
4.95/5 (327 votes)
13 Jul 2010CPOL35 min read 4.2M   100.5K   787  
A flexible charting control to display 2D data
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CChartDemoDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "chartdemo.h"
LastPage=0

ClassCount=7
Class1=CChartCtrl
Class2=CChartDemoApp
Class3=CAboutDlg
Class4=CChartDemoDlg
Class5=CColourPicker
Class6=CColourPopup
Class7=CSeriesPropDlg

ResourceCount=3
Resource1=IDD_CHARTDEMO_DIALOG
Resource2=IDD_ABOUTBOX
Resource3=IDD_SERIESPROP_DLG

[CLS:CChartCtrl]
Type=0
BaseClass=CWnd
HeaderFile=ChartCtrl.h
ImplementationFile=ChartCtrl.cpp
Filter=W
VirtualFilter=WC
LastObject=CChartCtrl

[CLS:CChartDemoApp]
Type=0
BaseClass=CWinApp
HeaderFile=ChartDemo.h
ImplementationFile=ChartDemo.cpp

[CLS:CAboutDlg]
Type=0
BaseClass=CDialog
HeaderFile=ChartDemoDlg.cpp
ImplementationFile=ChartDemoDlg.cpp
LastObject=CAboutDlg

[CLS:CChartDemoDlg]
Type=0
BaseClass=CDialog
HeaderFile=ChartDemoDlg.h
ImplementationFile=ChartDemoDlg.cpp
Filter=D
VirtualFilter=dWC
LastObject=IDC_ZOOM_CHECK

[CLS:CColourPicker]
Type=0
BaseClass=CButton
HeaderFile=ColourPicker.h
ImplementationFile=ColourPicker.cpp

[CLS:CColourPopup]
Type=0
BaseClass=CWnd
HeaderFile=ColourPopup.h
ImplementationFile=ColourPopup.cpp

[CLS:CSeriesPropDlg]
Type=0
BaseClass=CDialog
HeaderFile=SeriesPropDlg.h
ImplementationFile=SeriesPropDlg.cpp

[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_CHARTDEMO_DIALOG]
Type=1
Class=CChartDemoDlg
ControlCount=29
Control1=IDC_CHARTCTRL,ChartCtrl,1342242816
Control2=IDC_SERIES_GROUP,button,1342177287
Control3=IDC_SERIES_LIST,listbox,1352728833
Control4=IDC_ADDSERIES,button,1342242816
Control5=IDC_DELETESERIES,button,1342242816
Control6=IDC_GENERAL_GROUP,button,1342177287
Control7=IDC_STATIC,static,1342308352
Control8=IDC_BKGND_COLBTN,button,1342242816
Control9=IDC_LEGENDVIS_CHECK,button,1342242819
Control10=IDC_STATIC,static,1342308352
Control11=IDC_TITLE_EDIT,edit,1350635653
Control12=IDC_AXIS_GROUP,button,1342177287
Control13=IDC_LEFTAXIS_RADIO,button,1342177289
Control14=IDC_BOTTOMAXIS_RADIO,button,1342177289
Control15=IDC_RIGHTAXIS_RADIO,button,1342177289
Control16=IDC_TOPAXIS_RADIO,button,1342177289
Control17=IDC_AXISVISIBLE_CHECK,button,1342242819
Control18=IDC_AXISLOGARITHMIC_CHECK,button,1342242819
Control19=IDC_AXISINVERTED_CHECK,button,1342242819
Control20=IDC_AXISAUTOMATIC_CHECK,button,1342242819
Control21=IDC_AXISGRIDVIS_CHECK,button,1342242819
Control22=IDC_AXISMINVAL_STATIC,static,1342308352
Control23=IDC_AXISMINVAL_EDIT,edit,1350631552
Control24=IDC_AXISMAXVAL_STATIC,static,1342308352
Control25=IDC_AXISMAXVAL_EDIT,edit,1350631552
Control26=IDC_STATIC,static,1342308352
Control27=IDC_AXISLABEL_EDIT,edit,1350631552
Control28=IDC_PAN_CHECK,button,1342242819
Control29=IDC_ZOOM_CHECK,button,1342242819

[DLG:IDD_SERIESPROP_DLG]
Type=1
Class=CSeriesPropDlg
ControlCount=27
Control1=IDC_STATIC,button,1342177287
Control2=IDC_STATIC,static,1342308352
Control3=IDC_SERIESTYPE_COMBO,combobox,1344339971
Control4=IDC_STATIC,static,1342308352
Control5=IDC_SERIESNAME_EDIT,edit,1350631552
Control6=IDC_STATIC,static,1342308352
Control7=IDC_SERIESCOLOUR_BTN,button,1342242816
Control8=IDC_STATIC,static,1342308352
Control9=IDC_VERTICALAXIS_COMBO,combobox,1344339971
Control10=IDC_STATIC,static,1342308352
Control11=IDC_HORIZONTALAXIS_COMBO,combobox,1344339971
Control12=IDC_STATIC,button,1342177287
Control13=IDC_LINEDATA_RADIO,button,1342177289
Control14=IDC_SINEDATA_RADIO,button,1342177289
Control15=IDC_RANDOMDATA_RADIO,button,1342177289
Control16=IDC_DATAPARAM1_TEXT,static,1342308354
Control17=IDC_DATAPARAM1_EDIT,edit,1350631552
Control18=IDC_DATAPARAM2_TEXT,static,1342308354
Control19=IDC_DATAPARAM2_EDIT,edit,1350631552
Control20=IDC_STATIC,static,1342308352
Control21=IDC_POINTSNUMBER_EDIT,edit,1350639744
Control22=IDC_STATIC,static,1342308352
Control23=IDC_MINXVALUE_EDIT,edit,1350631552
Control24=IDC_STATIC,static,1342308352
Control25=IDC_MAXXVALUE_EDIT,edit,1350631552
Control26=IDOK,button,1342242817
Control27=IDCANCEL,button,1342242816

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Belgium Belgium
I am a 29 years old guy and I live with my girlfriend in Hoegaarden, little city from Belgium well known for its white beer Smile | :) .
I studied as an industrial engineer in electronics but I oriented myself more towards software development when I started to work.
Currently I am working in a research centre in mechatronica. I mainly develop in C++ but I also do a bit of Java.
When I have so spare time, I like to read (mainly fantasy) and play electric guitar.

Comments and Discussions