Visit Gigasoft's Web Site
 ProEssentials v9 Help

AutoScaleData

Scope

Pego, Pesgo, Pepso, Pe3do

Type

Boolean/Int32

Default

TRUE

.NET

PeData.AutoScaleData

Ocx|Vcl

AutoScaleData

DLL

PEP_bAUTOSCALEDATA

 

Purpose

This property controls whether the ProEssentials will automatically scale data that is very small or very large. What we mean by scale is reduce or enlarge all data by 10, 100, 1000, 10000 and so on. The scale factor is stored in a properties like ScaleForYData.

 

This property has no relation to ManualScaleControlY and does not limit the chart from being able to automatically determine an axes' range.

 

Setting

Description

TRUE

Enable automatic scaling.

FALSE

Disable automatic scaling.

 

Comments

PeData.AutoScaleData members of Pego.PeData, Pesgo.PeData, Pepso.PeData, Pe3do.PeData

 

If this property is true and you are repeatedly passing small or large YData, it is recommended that you reset the [eX] factor by setting ScaleForYData = 0. Similarly reset ScaleForXData, ScaleForRYData, ScaleForTXData, and ScaleForZData as needed. If you don't do this, the [eX] factor may increase each time you pass data and provide a false scale factor.

 

This property is usually set to FALSE when you want to prevent autoscaling and do not mind that axis grid numbers have long numeric labels. Setting this property to FALSE is really only feasible if your data is less than 1e5 and greater than 1e-5.