Skip to content
ChartForgeX
Struct

ChartHistogramObservation

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

One immutable histogram measurement, signed quantity and independent nonnegative averaging weight.

Inheritance

  • ValueType
  • ChartHistogramObservation

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Constructors

public ChartHistogramObservation(double measurement, double quantity, double weight = 1) #

Creates a finite observation. Zero weight retains source identity but contributes nothing to a weighted mean.

Parameters

measurement double required
The coordinate assigned to a histogram interval.
quantity double required
The signed value used by Sum, Mean and WeightedMean.
weight double = 1 optional
The nonnegative finite weight used only by WeightedMean. Count still counts rows.

Properties

public double Measurement { get; } #

Gets the measurement assigned through the shared interval layout.

public double Quantity { get; } #

Gets the signed source quantity, before aggregation.

public double Weight { get; } #

Gets the independent nonnegative averaging weight.