ChartHistogramSettings

Configuration options for customizing the appearance and behavior of a Histogram chart series.

Props

The following table outlines the props for the ChartHistogramSettings:

NameTypeDefaultDescription
binInterval
number | null
null

Specifies the bin interval (bin width) used to group numeric values in the Histogram. When set to null, This ensures optimal bin sizing based on the distribution and variance of the dataset.

normalCurveColor
string
''

Defines the stroke (line) color used when rendering the normal distribution curve. If not specified, the color is automatically assigned based on the chart's active theme.

normalCurveDashArray
string
''

Specifies the dash pattern for the normal distribution curve stroke. Provide a string of comma-separated values (e.g., '4,2') to apply dashed line styling.

normalCurveOpacity
number
1

Specifies the opacity of the normal distribution curve. Accepts values from 0 (fully transparent) to 1 (fully opaque).

normalCurveWidth
number
2

Defines the stroke width of the normal distribution curve, measured in pixels.

showNormalDistribution
boolean
false

Indicates whether to display the normal distribution curve for the Histogram series. When enabled, the chart calculates and renders a smooth normal distribution curve based on the sample mean and sample standard deviation of the Histogram data.