Hi,
I am working in VC9(visual studio 2008)for VC++ Project.I am using Microsoft chart control 6.0 (OLEDB) For displaying data in Graph in my application.
I Registered (D:WINDOWS\system32): mschart20.ocx in my system
I want to show Gantt chart(Range bar chart)and Scatter chart types.
But I dint find these chart types in properties page of Mschart.
It will show only these many types of charts.
VtChChartType3dBar = 0,
VtChChartType2dBar = 1,
VtChChartType3dLine = 2,
VtChChartType2dLine = 3,
VtChChartType3dArea = 4,
VtChChartType2dArea = 5,
VtChChartType3dStep = 6,
VtChChartType2dStep = 7,
VtChChartType3dCombination = 8,
VtChChartType2dCombination = 9,
VtChChartType2dPie = 14,
VtChChartType2dXY = 16,
and when I try to customise the ChartType in code
long n = 17;
MSChartIPDServer.SetChartType(17);
MSChartIPDServer.put_ChartData(saChartData.Detach());
while debug I will get an Pop up message "Invalid property value".
Please Help me how to use Gantt chart and Scatter chart in mschart for vc++ Application.
Thank you in advance
Regards,
ukylp