Visit Gigasoft's Web Site
 ProEssentials v9 Help

CurveGranularity

Scope

Pego, Pesgo

Type

Int32

Default

PECG_MEDIUM

.NET

PePlot.Option.CurveGranularity

Ocx|Vcl

CurveGranularity

DLL

PEP_nCURVEGRANULARITY

 

Purpose

This property controls the quantity of line-segments used to produce the curved lines for the Spline and Best Fit Curve/Line plotting methods. Setting to ExtraFine will effect performance so this setting should only be used with smaller data sets. Setting to ExtraFine will produce the smoothest curves and best fit lines.

 

The following constants apply to this property:

 

.NET Gigasoft.Enums.

ActiveX and

 

CurveGranularity.

DLL Constants

Description

Coarse

PECG_COARSE(0)

Fewest line-segments.

Medium

PECG_MEDIUM(1)

 

Fine

PECG_FINE(2)

Medium number of line-segments.

More Fine

PECG_MOREFINE(3)

 

Extra Fine

PECG_EXTRAFINE(5)

Most line-segments.

 

Graph VCL Enumerations

eCurveGranularity = (gCoarseLines, gMediumLines, gFineLines);

 

Scientific Graph VCL Enumerations

eCurveGranularity = (sgCoarseLines, sgMediumLines, sgFineLines);

 

Comments

PePlot.Option.CurveGranularity members of Pego.PePlot.Option, Pesgo.PePlot.Option

 

If you expect sharp curves in your data, then choosing PECG_FINE will produce better printed curves. If your data is not expected to have sharp curves, then choosing PECG_COARSE will draw the fastest curves.

 

See Also: PlottingMethod BestFitDegree