OLE_Chart procedure (OpenInsight 32-Bit)
At 22 FEB 2010 04:31:20AM Martyn D Phillips wrote:
Posted on behalf of Colin Rule:
I tried Bob Cartens OLE_Chart procedure and have had good success, getting the resulting chart image to display.
I would like to know if adding the OLE and interfacing with this direct will provide added functionality, such as right-click options, or column values when hovering etc.
I have put an example in place, but cant seem to get it to do much.
If anyone could point me in the right direction for the first few steps to add the chart and populate a property, I should be OK from there. I have the following so far.
declare function Send_MessageOLECONTROL=@WINDOW:".OLECONTROL"Chart=OleCallMethod(OLECONTROL, "OLE.Clear")Chart=OleCallMethod(OLECONTROL, "OLE.Add")RETURN 1
At 22 FEB 2010 10:07AM Bob Carten wrote:
IIRC I did not have much luck embedding the chart component in a form, though I have not tried recently.
I had good luck using office web components. They are restricted to users who own a valid copy of MS Office, but so is the Chart object.
See
http://msdn.microsoft.com/en-us/library/aa165059%28office.10%29.aspx