Visit Gigasoft's Web Site
 ProEssentials v9 Help

DataPointLabels

Scope

Pesgo, Pe3do, Pepso

Type

Property Array of type String

Default

empty

.NET

PeString.DataPointLabels

Ocx|Vcl

DataPointLabels

DLL

DataPointLabels

 

Purpose

This property identifies data labels which will be placed next to data points when AllowDataLabels equals PEADP_DATAPOINTLABELS and GraphDataLabels equals TRUE. Each string in the tab delimited array should be less than or equal to 48 characters in length.

 

Comments

PeString.DataPointLabels members of Pesgo.PeString, Pe3do.PeString, Pepso.PeString

 

This property is similar to YData in that it assigns a piece of data to each data-point. Thus, if you pass 100 data-points to YData, you will also pass 100 strings to this property.

 

When used with PEvget, the destination buffer must be large enough to hold all of the tab delimited string information. For property arrays, calling PEvget with lpDest equal to NULL will return the number of bytes needed to hold the data.

 

The format of the data is defined by the SubsetByPoint property.

 

WinForm VB.NET Example

PEGraph1.PeString.DataPointLabels(0, 0) = "Texas"

PEGraph1.PeString.DataPointLabels(0, 1) = "California"

PEGraph1.PeString.DataPointLabels(0, 2) = "Florida"

PEGraph1.PeString.DataPointLabels(0, 3) = "Washington"

 

OCX Example

PEGraph1.DataPointLabels(0, 0) = "Texas"

PEGraph1.DataPointLabels(0, 1) = "California"

PEGraph1.DataPointLabels(0, 2) = "Florida"

PEGraph1.DataPointLabels(0, 3) = "Washington"

 

VCL Example

PEGraph1.DataPointLabels[0, 0] := 'Texas';

PEGraph1.DataPointLabels[0, 1] := 'California';

PEGraph1.DataPointLabels[0, 2] := 'Florida';

PEGraph1.DataPointLabels[0, 3] := 'Washington';

 

C / C++ Example

/* set 4 tab delimited data point labels */

char szDataPointLabels[] = "Texas\tCalifornia\tFlorida\tWashington\t";

PEvset (hWndPE, PEP_szaDATAPOINTLABELS, szDataPointlabels, 4);