Using Bound Data Without Spreadsheet

B

Bryan Bennett

I am using the ActiveX interface to OWC 10 to create graphs in my
application. I can use SetData to place series on a chart, but this method
seems to be quite slow in updating large amounts of data. I can use a
spreadsheet to bind the data and that drastically improves the speed, but I
would like to bind the data to a local memory array as I do when using a
literal bind. Is there a way to use SetData and chDataBound to point to my
own memory array so that the chart will update automatically when I change
the data in the memory array?

I'm using C/C++ and I did find that I have to use global memory instead of
class memory so that the callbacks can access the pointers properly, but
when I try using chDataBound instead of chDataLiteral, the series don't
update when I change the memory. Thanks for any help anyone can provide.

Bryan
 
T

Thao Moua [ms]

The only way to have Chartspace dynamicly update/refresh the data is to store the data in either a Spreadsheet control or on a server. If that is not an option then you can use literal data. This will require you to set the data everytime the data is changed

Thao Mou
OWC Webchart Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top