AddDurovClassGraph Method

The AddDurovClassGraph method creates a new Durov class plot. Returns an AutoGraph object.

Syntax

object.AddDurovClassGraph( worksheet, xCationCol, yCationCol, zCationCol, xAnionCol, yAnionCol, zAnionCol, classCol, id )

 

Parameter Type Description
worksheet String required, full path and file name of the data
xCationCol Variant optional, default = 1 (column A)
yCationCol Variant optional, default = 2 (column B)
zCationCol Variant optional, default = 3 (column C)
xAnionCol Variant optional, default = 4 (column D)
yAnionCol Variant optional, default = 5 (column E)
zAnionCol Variant optional, default = 6 (column F)
classCol Variant optional, default = 7 (column G)
id Variant optional, graph name

 

Remarks

The AddDurovClassGraph method creates a Durov class plot, which consists of two ternary class plots and a square class plot. The example shows how to set the references to the AutoTernaryClassPlot objects.

Example

This example shows how to create a piper diagram and set the references to the component plots.

'Create Durov reference

Dim DurovClass as Object

 

'Create the Durov plot and set the reference

Set DurovClass = Shapes.AddDurovClassGraph(GrapherApp.Path + "\samples\DurovdData.xlsx",2,3,4,5,6,7,1)

 

'Set the Cation plot reference

Dim Cation as Object

Set Cation = DurovClass.Plots.Item(1)

 

'Set the Anion plot reference

Dim Anion as Object

Set Anion = DurovClass.Plots.Item(2)

 

'Set the Square plot reference

Dim Square as Object

Set Square = DurovClass.Plots.Item(3)

 

Used by: AutoShapes collection