Writes text horizontally on the screen.
#include <pgchart.h>
short __far _pg_hlabelchart( _chartenv __far *env, short x, short y,
short color, char __far *label );
env | Chart environment structure | |
x | x-coordinate for text | |
y | Pixel y-coordinate for text | |
color | Color code for text | |
label | Label text |
The _pg_hlabelchart function writes text horizontally on the screen. The arguments x and y are pixel coordinates for the beginning location of text relative to the upper-left corner of the chart window.
The _pg_hlabelchart functions return 0 if there were no errors. A nonzero value indicates a failure.
Standards:None
16-Bit:DOS
32-Bit:None
_pg_defaultchart, _pg_initchart, _pg_vlabelchart
See the example for _pg_getpalette.