Visit Gigasoft's Web Site
 ProEssentials v9 Help

YAxisAnnotation

Scope

Pego, Pesgo

Type

Double

Default

empty

.NET

PeAnnotation.Axis.Y

Ocx|Vcl

YAxisAnnotation

DLL

PEP_faYAXISANNOTATION

 

Purpose

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

 

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

 

Comments

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

 

See Also: YAxisAnnotationColor, 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 Y Axis Annotations.

 

PESGraph1.YAxisAnnotation(0) = 20

PESGraph1.YAxisAnnotationText(0) = "Interuption1"

PESGraph1.YAxisAnnotation(1) = 40

PESGraph1.YAxisAnnotationText(1) = "Interuption2"

 

VCL Example

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

 

PESGraph1.YAxisAnnotation[0] := 20;

PESGraph1.YAxisAnnotationText[0] := 'Interuption1';

PESGraph1.YAxisAnnotation[1] := 40;

PESGraph1.YAxisAnnotationText[1] := 'Interuption2';

 

C / C++ Example

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

 

char szText = "Interuption1\tInteruption2\t";

double fYLoc[2];

fYLoc[0] = 20.0F;

fYLoc[1] = 40.0F;

 

PEvset(hWndPE, PEP_faYAXISANNOTATION, fYLoc, 2);

PEvset(hWndPE, PEP_szaYAXISANNOTATIONTEXT, szText, 2);