headerheaderheaderheaderheaderheaderheaderheader
header
headerheaderheaderheaderheaderheaderheaderheaderheaderheaderheaderSSL encrypted Site
header
News
Chart Library for C Programmers
2016-05-19:

The author Peter Lane created a simple chart library for C programs. The library is designed to be included in other programs, simply by copying two files to your C project: chart.h and chart.c.

Three types of chart are supported:

picture
Above is a screenshot of the Chart example running under MINT+XaAES on a Firebee.
1. Bar Charts: A set of positive values is converted into a series of vertical bars. The title, x/y labels, colours and fill patterns of bars may be altered.
2. Line Charts: A set of lines added to a line chart. The title, x/y labels, and colour, line style and point style may all be altered.
3. Pie Charts: A set of positive values is converted into slices of a pie chart. The title, slice labels, colours and fill patterns may be altered.

All charts are drawn using standard VDI graphics, and scale themselves to fit a given drawing area. (As the Firebee does not support pmarkers, these are custom drawn within the library: define the symbol PMARKS when compiling to use these.)

The chart library was written in the AHCC compiler. An example program provided with the library (illustrated in the image) shows how to use all the charts. Full documentation is in chart.h. An example of using the library in another project can be found in the latest BibFind (see http://peterlane.info/bibfind.html ).

More information and links to the files are at: http://peterlane.info/chart.html


0 Comments

[Back to News]
Nickname:


Antispam robot question: Type the last two letters of the word!
FireBee


Latest Comments

Greg / HLT2024-02-16 10:05:04
The FireBee FreeMiNT Setup 2022
TalionRanger2024-02-13 07:18:30
The FireBee FreeMiNT Setup 2022
JoeIron2023-12-13 11:52:47
The FireBee FreeMiNT Setup 2022
Luposian2023-03-18 04:54:40
The FireBee FreeMiNT Setup 2022
JoeIron2023-03-14 13:00:13
The FireBee FreeMiNT Setup 2022
WareWolf2023-01-25 16:45:16
The FireBee FreeMiNT Setup 2022
HeinzSchmidt2023-01-09 20:55:54
Das FireBee FreeMiNT Setup 2022
PMMS2023-01-07 11:18:30
The FireBee FreeMiNT Setup 2022
Latest News
The FireBee FreeMiNT Setup 2022
2022-12-31:
This year we are back with a strong sign of life. Now that the website is up and ...
Read more
EmuTOS 1.2 and 1.2.1
2022-12-25:
On August 07th 2022 EmuTOS Development Team published new version 1.2 of free and ...
Read more
EmuTOS 1.1.1
2021-08-16:
On July 08th 2021 EmuTOS Development Team published new version 1.1 of this free ...
Read more
RSS Feed | Terms of Use | Sitemap