_pg_hlabelchart

Description

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  

Remarks

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.

Return Value

The _pg_hlabelchart functions return 0 if there were no errors. A nonzero value indicates a failure.

Compatibility

Standards:None

16-Bit:DOS

32-Bit:None

See Also

_pg_defaultchart, _pg_initchart, _pg_vlabelchart

Example

See the example for _pg_getpalette.