Contents Previous Next


Graph Method (BDKInput Object)

Description

Makes a graph of the input data and an optional fit result overlay. The Destination property controls how the graph is returned.

Syntax

object.Graph(curveType As BDKInputDataCurveType, overlay as BDKResult)

Arguments

curveType (Required BDKInputDataCurveType) – the type of curve to generate. One of the following values:

overlay (Optional BDKResult) – a single fit result object to overlay on top of the input data graph.

Return Value

(Object) – if the Destination property is set to BDKBitmapImage or BDKMetafileImage, 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 BDKExcel, the object returned is the Excel Chart Object that was created. If Destination is a file, the object returned is Nothing.

Example

Set Picture1.Picture = inputObj.Graph(BDKCurveTypeHistogram, resultObj)