Visit Gigasoft's Web Site
 ProEssentials v9 Help

XAxisAnnotation

Scope

Pego, Pesgo

Type

Double

Default

empty

.NET

PeAnnotation.Axis.X

Ocx|Vcl

XAxisAnnotation

DLL

PEP_faXAXISANNOTATION

 

Purpose

This property identifies the x axis values associated with x axis annotations. You must use this property in conjunction with XAxisAnnotationText, and both property arrays must have the same number of entries.

 

Note that x axis annotations will not be seen unless ShowAnnotations or ShowXAxisAnnotations is set to TRUE.

 

Comments

PeAnnotation.Axis.X members of Pego.PeAnnotation.Axis, Pesgo.PeAnnotation.Axis

 

See Also: XAxisAnnotationColor, MaxAxisAnnotationCluster, HorzLineAnnotationType, VertLineAnnotationType, GraphAnnotationType

 

See Chapter 7, Question 10 for more information on axis annotations.

 

OCX Example

The following is an example of defining 2 X Axis Annotations.

 

PESGraph1.XAxisAnnotation(0) = 20

PESGraph1.XAxisAnnotationText(0) = "Interruption1"

PESGraph1.XAxisAnnotation(1) = 40

PESGraph1.XAxisAnnotationText(1) = "Interruption2"

 

VCL Example

The following is an example of defining 2 X Axis Annotations.

 

PESGraph1.XAxisAnnotation[0] := 20;

PESGraph1.XAxisAnnotationText[0] := 'Interruption1';

PESGraph1.XAxisAnnotation[1] := 40;

PESGraph1.XAxisAnnotationText[1] := 'Interruption2';

 

C / C++ Example

The following is an example of defining 2 X Axis Annotations.

 

char szText = "Interruption1\tInterruption2\t";

double fXLoc[2];

fXLoc[0] = 20.0F;

fXLoc[1] = 40.0F;

 

PEvset(hWndPE, PEP_faXAXISANNOTATION, fXLoc, 2);

PEvset(hWndPE, PEP_szaXAXISANNOTATIONTEXT, szText, 2);