Overview
|
Next |
These libraries are a port of some example Microsoft code that dates from the early days of .NET and provides the capability of drawing three types of chart, Bar, Line and Pie together with a specialised version of Line that provides date intervals on the X axis. A Legend object is provided to create a legend for a chart and the legend may be drawn on the chart or in a separate bitmap.
Also provided is an object that can save Basic4PPC images in one of four formats, jpg, bmp, gif and png.
There are two versions of the library, one for the desktop and one for the device. In fact the device library will work quite well on the desktop which could be useful for testing. The desktop library will not work on the device.
The device version is a straight port of the desktop code but due to graphic limitations on the device the Pie chart is completely differently implemented. For the same reason rotated text on the X axis of the Line and DateLine charts is not possible. All the desktop version properties are available on the device but some may not work (e.g. ColorGradient) or produce odd results (e.g. Alignment).
A. Graham (c) 2008