Click here to Skip to main content
13,897,577 members
Click here to Skip to main content

Stats

2.8M views
78K downloads
759 bookmarked
Posted 11 May 2006
Licenced CPOL

High-speed Charting Control

, 13 Jul 2010
A flexible charting control to display 2D data
ChartDemo
ChartCtrl
.svn
all-wcprops
entries
format
prop-base
props
text-base
ChartAxis.cpp.svn-base
ChartAxis.h.svn-base
ChartAxisLabel.cpp.svn-base
ChartAxisLabel.h.svn-base
ChartBalloonLabel.h.svn-base
ChartBalloonLabel.inl.svn-base
ChartBarSerie.cpp.svn-base
ChartBarSerie.h.svn-base
ChartCandlestickSerie.cpp.svn-base
ChartCandlestickSerie.h.svn-base
ChartCrossHairCursor.cpp.svn-base
ChartCrossHairCursor.h.svn-base
ChartCtrl.cpp.svn-base
ChartCtrl.h.svn-base
ChartCursor.cpp.svn-base
ChartCursor.h.svn-base
ChartDateTimeAxis.cpp.svn-base
ChartDateTimeAxis.h.svn-base
ChartDragLineCursor.cpp.svn-base
ChartDragLineCursor.h.svn-base
ChartFont.cpp.svn-base
ChartFont.h.svn-base
ChartGanttSerie.cpp.svn-base
ChartGanttSerie.h.svn-base
ChartGradient.cpp.svn-base
ChartGradient.h.svn-base
ChartGrid.cpp.svn-base
ChartGrid.h.svn-base
ChartLabel.h.svn-base
ChartLabel.inl.svn-base
ChartLegend.cpp.svn-base
ChartLegend.h.svn-base
ChartLineSerie.cpp.svn-base
ChartLineSerie.h.svn-base
ChartLogarithmicAxis.cpp.svn-base
ChartLogarithmicAxis.h.svn-base
ChartMouseListener.h.svn-base
ChartPointsArray.h.svn-base
ChartPointsArray.inl.svn-base
ChartPointsSerie.cpp.svn-base
ChartPointsSerie.h.svn-base
ChartScrollBar.cpp.svn-base
ChartScrollBar.h.svn-base
ChartSerie.cpp.svn-base
ChartSerie.h.svn-base
ChartSerieBase.h.svn-base
ChartSerieBase.inl.svn-base
ChartSeriesMouseListener.h.svn-base
ChartStandardAxis.cpp.svn-base
ChartStandardAxis.h.svn-base
ChartString.h.svn-base
ChartSurfaceSerie.cpp.svn-base
ChartSurfaceSerie.h.svn-base
ChartTitle.cpp.svn-base
ChartTitle.h.svn-base
ChartXYSerie.cpp.svn-base
ChartXYSerie.h.svn-base
PointsOrdering.h.svn-base
tmp
prop-base
props
text-base
ChartCtrl_source.zip
ChartDemo.dsp
ChartDemo.dsw
ChartDemo.vcproj
ColourPicker
.svn
entries
format
prop-base
props
text-base
ColourPicker.cpp.svn-base
ColourPicker.h.svn-base
ColourPopup.cpp.svn-base
ColourPopup.h.svn-base
tmp
prop-base
props
text-base
Doc
html
class_c_chart_axis.png
class_c_chart_balloon_label.png
class_c_chart_bar_serie.png
class_c_chart_candlestick_serie.png
class_c_chart_cross_hair_cursor.png
class_c_chart_cursor.png
class_c_chart_date_time_axis.png
class_c_chart_drag_line_cursor.png
class_c_chart_gantt_serie.png
class_c_chart_label.png
class_c_chart_line_serie.png
class_c_chart_logarithmic_axis.png
class_c_chart_points_serie.png
class_c_chart_serie.png
class_c_chart_serie_base.png
class_c_chart_standard_axis.png
class_c_chart_surface_serie.png
class_c_chart_x_y_serie.png
doxygen.png
tab_b.gif
tab_l.gif
tab_r.gif
res
ChartDemo.ico
html
class_c_chart_axis.png
class_c_chart_balloon_label.png
class_c_chart_bar_serie.png
class_c_chart_candlestick_serie.png
class_c_chart_cross_hair_cursor.png
class_c_chart_cursor.png
class_c_chart_date_time_axis.png
class_c_chart_drag_line_cursor.png
class_c_chart_gantt_serie.png
class_c_chart_label.png
class_c_chart_line_serie.png
class_c_chart_logarithmic_axis.png
class_c_chart_points_serie.png
class_c_chart_serie.png
class_c_chart_serie_base.png
class_c_chart_standard_axis.png
class_c_chart_surface_serie.png
class_c_chart_x_y_serie.png
doxygen.png
tab_b.gif
tab_l.gif
tab_r.gif
ChartDemo.dsp
ChartDemo.dsw
res
ChartDemo.ico
; 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)

Share

About the Author

Cedric Moonen
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.

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.190306.1 | Last Updated 13 Jul 2010
Article Copyright 2006 by Cedric Moonen
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid