>After some stumbling, I've been able to implement using MsGraph8 in a general field to print graphs using the report writer (VFP5a).
>
>Question: Is it posible change the type of graph in the general field programmatically, for example from bar to line?
>
>TIA
>
>Michael Samloff
Yes you could chamge it with ChartType.
#define xl3DArea -4098
#define xl3DColumn -4100
#define xl3DLine -4101
#define xl3DPie -4102
#define xlArea 1
#define xlBubble3DEffect 87
#define xlLine 4
#define xlPie 5
#define xlRadar -4151
#define xlSurface 83
....
thisform.myGraph.charttype = xlLine
Cetin