Control to Display Bar, Pie, and Line Charts
Posted
by Hafiz Sikander Rafiq
on June 28th, 2002




This is COM Component and by using this control u can display bar, pie and line charts. Is supports 2D/3D Dimension, Brusted Pie, 3Dangle, 3Dthichness, background color, Brusted angle, half/full/back half Pie, Dash color, label offset, Dash line width, spot size, print scale, print value, slice separator color, slice width and spot offset properties.
The sample application is along with this control.
The IID_IelxChart interface exposes the following functions.
- To add chart data:
- AddDataEx
- AddData
- To set chart type:
- GetChartType
- SetChartType
- To draw chart:
- DrawChart
- To set parameters:
- SetParams
- GetParams
ESGraphParams has following parameters:
typedef struct _ESGraphParams
{
BOOL b3D;
double d3DAngle;
double d3DThickness;
double dBarSpace;
ESPatColor crBGColor;
double dExtraSpace;
int nFitSpace;
// format ???
int nHalfPie;
BOOL bKeepRatio;
ESPatColor crLabelDashColor;
double dLabelDashWidth;
double dLabelOffset;
int nMinValue, nMaxValue;
BOOL bMergeValue;
BOOL bOriLine;
BOOL bPrintScale, bPrintValue;
double dSliceBurst;
ESPatColor crSliceSepColor;
double dSliceSepWidth;
double dSpotOffset, dSpotSize;
// non vipp
int nGraphPPI;
} ESGraphParams;
Downloads
Download source - 32 KbDownload DLL - 37 Kb

Comments
Found the code...
Posted by LordLiverpool on 08/23/2011 07:05amAt http://www.codeguru.com/code/legacy/controls/Graphing_dll.zip and http://www.codeguru.com/code/legacy/controls/Graphing.zip CodeGuru might try sorting out its links.
ReplyDownload Problems
Posted by mschreck on 05/24/2006 09:22amHello! I need a bar chart for the statistic evaluation of measured values. It would be an advantage for me to take a look into your source code. Unfortunately I have a Download problem. Can someone help me? Yours sincerely mschreck
Replyhelp , i want this!
Posted by bravechou on 09/21/2005 05:31amcould not be download too!
Replycould not be download now
Posted by srbcj on 04/29/2005 04:50amIt seems very good, but I could not download these normally. Who could help me? Thanks!
Replycan not download
Posted by gansens on 01/11/2005 03:47amThis is nice work but I can not open download file. Any help will be appreciated Thanks
Replychart
Posted by lee_mmm on 03/11/2004 12:49amCom component 2D/3D charts
Posted by Legacy on 11/11/2002 12:00amOriginally posted by: Emmanuel
This is nice work but the 3D pie does not produce the figure shown in the article. Any help will be appreciated
ReplyThanks