Using Visual Studio 2003
Hi, I am trying to incorporate a spreedsheet and chart into my windows forms application. My current attempt is using the web controls, AxOWC10.AxSpreadsheet and AxOWC10.AxChartSpace with the Primary Interop Asseblies installed. If I understand, these controls are intended for use in web pages; perhaps it is bad practice to use them in a Form. If that is the case please steer me in the right direction, if using the web controls in a Form is acceptable then I might be going down the right path and am just hung up.
A little about the overall project:
I am recieving data continuously from four serial ports (that's working) and loading it to the AxSpreadsheet in my Form (that's working too!) The data is comming from three load cell indicators, and one digital string pot device at a rate of 10 samples/sec each and they are completely asychronous. I would like the chart to be updated "real time" and like to have the data stored in a spread sheet for easy portability as well as binding to chart.
What I need help with.
The problem is in getting the chart bound to the spreadsheet data. I cannot figgure out or find help in searches on how to feed series data into a chart directly from code, or link it to a spreadsheet so the chart will update automaticly when the spreadsheet is updated. The help I have found says that the AxChartSpace is capable of automaticly updating when its data source is updated, and also that it can be bound to a spreadsheet.
P.S., not a student any more. If it was for a grade I would just make the chart brute force and not worry much about maintainability or sleek appearance, but I hope to use this app for a long time.
Thank you for your time.