Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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_Message
              OLECONTROL=@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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/27e2bcd282642987852576d200344eef.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1