AddHistogramGraph Method

The AddHistogramGraph method creates a new 2D histogram. Returns an AutoGraph object.

Syntax

object.AddHistogramGraph( worksheet, dataCol, id )

 

Parameter Type Description
worksheet String required, full path and file name of the data
dataCol Variant optional, default = 1 (column A)
id Variant optional, graph name

 

Example

This example shows how to create a histogram.

Shapes.AddHistogramGraph(GrapherApp.Path + "\samples\histogram.dat")

 

Used by: AutoShapes collection

See Also

AutoHistogram

AddHistogram