Visit Gigasoft's Web Site
 ProEssentials v9 Help

PlottingMethods

Scope

Pego, Pesgo, Pe3do, Pepso

Type

Property Array of type Int32

Default

empty

.NET

PePlot.Methods

Ocx|Vcl

PlottingMethods

DLL

PEP_naPLOTTINGMETHODS

 

Purpose

This property determines the plotting method used to render the objects data-set on a per subset basis. The following constants are available:

 

.NET Gigasoft.Enums.

ActiveX and

 

GraphPlottingMethod.

DLL Constants

Description

Line

PEGPM_LINE(0)

Line

Bar

PEGPM_BAR(1)

Bar

Point

PEGPM_POINT(2)

Point

Area

PEGPM_AREA(3)

Area

AreaStacked

PEGPM_AREASTACKED(4)

Area Stacked

AreaStackedPercent

PEGPM_AREASTACKEDPERCENT(5)

Area Stacked%

BarStacked

PEGPM_BARSTACKED(6)

Bar Stacked

BarStackedPercent

PEGPM_BARSTACKEDPERCENT(7)

Bar Stacked%

PointsPlusBestFitLine

PEGPM_POINTSPLUSBFL(8)

Points+BFL

PointsPlusBestFitLineGraphed

PEGPM_POINTSPLUSBFLGRAPHED(9)

Points+BFL(graphed)

PointsPlusBestFitCurve

PEGPM_POINTSPLUSBFC(13)

Points+BFC

PointsPlusBestFitCurveGraphed

PEGPM_POINTSPLUSBFCGRAPHED(14)

Points+BFC(graphed)

PointsPlusSpline

PEGPM_POINTSPLUSSPLINE(15)

Points+Spline

Spline

PEGPM_SPLINE(16)

Spline

PointsPlusLine

PEGPM_POINTSPLUSLINE(17)

Points+Line

HorizontalBar

PEGPM_HORIZONTALBAR(18)

Horizontal Bar

HorizontalStackedBar

PEGPM_HORZSTACKEDBAR(19)

Horz Stacked Bar

HorizontalStackedBarPercent

PEGPM_HORZSTACKEDBARPERCENT(20)

Horz Stacked Bar Percent

Step

PEGPM_STEP(21)

Step

Ribbon

PEGPM_RIBBON(22)

Ribbon

HighLowBar

PEGPM_HIGHLOWBAR(25)

High Low Bar

HighLowLine

PEGPM_HIGHLOWLINE(26)

High Low Line

HighLowClose

PEGPM_HIGHLOWCLOSE(27)

High Low CLose

OpenHighLowClose

PEGPM_OPENHIGHLOWCLOSE(28)

Open High Low Close

BoxPlot

PEGPM_BOXPLOT(29)

Box Plot

LineStacked

PEGPM_LINESTACKED(30)

Line Stacked

LineStackedPercent

PEGPM_LINESTACKEDPERCENT(31)

Line Stacked Percent

HighLowArea

PEGPM_HIGHLOWAREA(33)

High Low Area

SplineArea

PEGPM_SPLINEAREA(35)

*GdiPlus RenderEngine

SplineRibbon

PEGPM_SPLINERIBBON(36)

*GdiPlus RenderEngine

Add these to above constants to control axis.

OnRightAxis

PEGPM_ON_RIGHT_AXIS(1000)

Right Axis Location

 

.NET Gigasoft.Enums.

ActiveX and

 

SGraphPlottingMethods.

DLL Constants

Description

BoxPlot

PEGPM_BOXPLOT(29)

Box Plot

Line

PEGPM_LINE(0)

Line

Bar

PEGPM_BAR(1)

Bar

Point

PEGPM_POINT(2)

Point

Area

PEGPM_AREA(3)

Area

Stick

PEGPM_STICK(34)

Stick

PointsPlusBestFitLine

PEGPM_POINTSPLUSBFL(8)

Points+BFL

Bubble

PEGPM_BUBBLE(12)

Bubble

PointsPlusBestFitCurve

PEGPM_POINTSPLUSBFC(13)

Points+BFC

PointsPlusSpline

PEGPM_POINTSPLUSSPLINE(15)

Points+Spline

Spline

PEGPM_SPLINE(16)

Spline

PointsPlusLine

PEGPM_POINTSPLUSLINE(17)

Points+Line

Step

PEGPM_STEP(21)

Step

Ribbon

PEGPM_RIBBON(22)

Ribbon

ContourLines

PEGPM_CONTOURLINES(23)

Contour Lines

ContourColors

PEGPM_CONTOURCOLORS(24)

Contour Colors

HighLowBar

PEGPM_HIGHLOWBAR(25)

High Low Bar

HighLowLine

PEGPM_HIGHLOWLINE(26)

High Low Line

HighLowClose

PEGPM_HIGHLOWCLOSE(27)

High Low CLose

OpenHighLowClose

PEGPM_OPENHIGHLOWCLOSE(28)

Open High Low Close

BoxPlot

PEGPM_BOXPLOT(29)

Box Plot

HighLowArea

PEGPM_HIGHLOWAREA(33)

High Low Area

AreaStacked

PEGPM_AREASTACKED(4)

Area Stacked

AreaStackedPercent

PEGPM_AREASTACKEDPERCENT(5)

Area Stacked%

BarStacked

PEGPM_BARSTACKED(6)

Bar Stacked

BarStackedPercent

PEGPM_BARSTACKEDPERCENT(7)

Bar Stacked%

LineStacked

PEGPM_LINESTACKED(30)

Line Stacked

LineStackedPercent

PEGPM_LINESTACKEDPERCENT(31)

Line Stacked Percent

SplineArea

PEGPM_SPLINEAREA(35)

*GdiPlus RenderEngine

SplineRibbon

PEGPM_SPLINERIBBON(36)

*GdiPlus RenderEngine

Add these to above constants to control axis.

OnRightAxis

PEGPM_ON_RIGHT_AXIS(1000)

Right Axis Location

OnRightTopAxis

PEGPM_ON_RIGHT_TOP_AXIS(2000)

Right Top Axis Location

OnTopAxis

PEGPM_ON_TOP_AXIS(3000)

Top Axis Location

 

.NET Gigasoft.Enums.

ActiveX and

 

PSGraphPlottingMethods.

DLL Constants

Description

Line

PEGPM_LINE (0)

Line

Point

PEGPM_POINT (2)

Point

Area

PEGPM_AREA (3)

Area

PointsPlusLine

PEGPM_POINTSPLUSLINE (17)

Points+Line

Add these to above constants to control axis.

SecondaryAxis

PEGPM_SECONDARY_AXIS (1000)

Secondary Axis

 

 

Comments

PePlot.Methods members of Pego.PePlot, Pesgo.PePlot, Pe3do.PePlot, Pepso.PePlot

 

Do not use this property array in combination with ComparisonSubsets, RYAxisComparisonSubsets or TXAxisComparisonSubsets, all of the above properties needs to be zero when using this property.

 

HighLow, HighLowClose, OpenHighLowClose, BoxPlot, and High-Low-Area plotting methods are produced by setting PlottingMethods the same for the specified subsets. SpecificPlotMode is not required. See example 022.

 

For Stacked Bar/Area/Horizontal Bar type plotting methods, make sure NoStackedData is set to FALSE.

 

To control the degree of the best fit curve plotting method, see BestFitDegree and SubsetDegree and BestFitCoeffs

 

It is possible to combine many PlottingMethods on the right, left, and top axis. Simply add 1000 to the PlottingMethods enumeration or numerical constant to compare the right y axis. Add 2000 to compare to the right y and top x axis, and 3000 for the top x axis for the Scientific Graph Object.

 

See Also: BarWidth, PointSize, PointColors, SubsetPointTypes, SubsetLineTypes, SubsetColors, ComparisonSubsets, RYAxisComparisonSubsets, PlottingMethod, DiableSortPlotMethods

 

.NET Example

'* For example, with Pego1.PeData.Subsets = 4                

Pego1.PePlot.Methods(0) = GraphPlottingMethod.HighLowLine '*requires 2 subsets

Pego1.PePlot.Methods(1) = GraphPlottingMethod.HighLowLine

'* Bar compared on right y axis

Pego1.PePlot.Methods(2) = GraphPlottingMethod.Bar + GraphPlottingMethod.OnRightAxis

Pego1.PePlot.Methods(3) = GraphPlottingMethod.Line

 

OCX Example

'* For example, with PEGraph1.Subsets = 4

PEGraph1.PlottingMethods(0) = PEGPM_HIGHLOWLINE *requires two subsets

PEGraph1.PlottingMethods(1) = PEGPM_HIGHLOWLINE

'* Bar compared on right y axis

PEGraph1.PlottingMethods(2) = PEGPM_BAR + PEGPM_ON_RIGHT_AXIS

PEGraph1.PlottingMethods(3) = PEGPM_LINE

 

C / C++ Example

/* 4 subsets with the following PlottingMethods: HighLowLine, Bar

with right hand axis, and Line */

int nPlotmethod = PEGPM_HIGHLOWLINE;

PEvsetcell (hWndPE, PEP_naPLOTTINGMETHODS, 0, nPlotmethod);

PEvsetcell (hWndPE, PEP_naPLOTTINGMETHODS, 1, nPlotmethod);

nPlotmethod = PEGPM_BAR + 1000;

PEvsetcell (hWndPE, PEP_naPLOTTINGMETHODS, 2, nPlotmethod);

nPlotmethod = PEGPM_LINE;

PEvsetcell (hWndPE, PEP_naPLOTTINGMETHODS, 3, nPlotmethod);