Description
Makes a graph of the distribution (and optional additional distributions to overlay). The Destination property controls how the graph is returned.
Syntax
object.Graph(curveType As RDKDistributionCurveType, ParamArray overlays())
Arguments
curveType (Required RDKDistributionCurveType) – the type of curve to generate. One of the following values:
overlays (Optional RDKDistribution objects) – up to 5 additional distribution curves to overlay on top the primary curve being graphed.
Return Value
(Object) – if the Destination property is set to RDKBitmapImage or RDKMetafileImage, the return value is a Picture object, which can be directly assigned to a Visual Basic picture or image control (or other compatible ActiveX container). If Destination is RDKExcel, the object returned is the Excel Chart Object that was created. If Destination is a file, the object returned is Nothing.
Example
'Single Distribution to graph:
Set Picture1.Picture = Dist.Graph(RDKCurveTypeDensity)
'Distribution with two overlays (o1 and o2)
Set Picture1.Picture = Dist.Graph(RDKCurveTypeDensity, o1, o2)