histPlot

The histPlot method creates histograms using data from Deephaven tables or arrays.

Syntax

Parameters

ParameterTypeDescription
seriesNameString

The name (as a String) you want to use to identify the series on the plot itself.

tTable

The table that holds the data to be plotted.

sdsSelectableDataSet

A selectable data set - e.g., OneClick filterable table.

nbinsint

The number of intervals to use in the chart.

xdouble[]

The data to be used for the X values.

xfloat[]

The data to be used for the X values.

xint[]

The data to be used for the X values.

xlong[]

The data to be used for the X values.

xshort[]

The data to be used for the X values.

xString

The name of a column in t or sds.

xList<T>

The data to be used for the X values.

x<T>[]

The data to be used for the X values.

xmindouble

The minimum X value in the range.

xmaxdouble

The maximum X value in the range.

Returns

A histogram.

Examples

The following example plots data from a Deephaven table.

The following example plots data from an array.