myGraph.ocx

1.1 What does the ocx do?
1.2 Installation
1.3 How to use the ocx control in your Navision code
1.4 History
1.5 Contact information

1.1 What does the ocx do?

The myGraph.ocx transforms Navision data into a graph, using MSChart. Therefore, the file mschrt20.ocx must be available on your system (usually in \windows\system or \winnt\system32 directory). Due to possible copyrights, this file is not included in this release.

It is now possible to print the graph or save the graph to a bmp-file.

1.2 Installation

The mygraph.ocx should now be accessible from within Navision Financials/Attain.

1.3 How to use the ocx control in your Navision code

Included is a form 50000 that demonstrates the use of myGraph.ocx. It is written using Navision Financials W1 2.01.B, and works also with Navision Attain.

If the following properties are set to YES: AllowDynamicRotation, AllowSelections and the ChartType is a 3D one, you can rotate the graph using Ctrl and your mouse!



1.4 History

15/07/2002     Version 1.1
Changed property Caption: removed "Navision Financials" from caption
Added menubar:
- Print Graph (print graph to default printer)
- Save Graph (save graph as bmp-file)
- About
New property: SaveFileName (used when saving graph; default "c:\mygraph.bmp")
Translated variables used in form 50000
26/06/2000     Initial release 1.0

1.5 Contact information

If you want to report any bugs or changes, please be free to write me at luc@vandyck.net or leave a note in the forum on http://www.myNavision.net.

Regards
Luc Van Dyck