Does anyone now how i can embbed ms charts in my application? Although i search through the forum, all of the code examples didnt work, i get the error UNDEFINED DATA ITEMS.
There are several examples available on the web that use XML. You could use XML Extensions or one of the other XML technologies to create XML data that can be bound to a chart definition.
Is the use of MS Chart a requirement? If not, what are you trying to accomplish? There may be other capabilities you could exploit.
You can read this set of examples for some ideas about using XML-based technologies:
If this interests you, just ask some more questions.
XML Extensions is available in extend. Some of the examples illustrate using Xcentrisity Business Information Server (BIS) to create XML artifacts (an XML-based spreadsheet, casino floor plan) and serve them back as a response to a URL. However, you have all you need to create the XML documents in your ACUCOBOL-GT release (starting in version 9, and you can use all of the concepts to create XML-based documents, including XML charts and spreadsheets. There is no requirement to have BIS to use XML Extensions.
See A Guide to Interoperating with ACUCOBOL-GT, Chapter 11 (Working with Non-Vision Data), starting in section 11.2.7, for documentation about using XML Extensions.
In addition to what Tom has said .. if you are interested in using the Microsoft Chart control in your user interface, you can do so, as the chart control is available as an ActiveX control. You can search the forum and find sample programs like this ... community.microfocus.com/.../5574.aspx