Component description

The length-statistics component visualizes a histogram (how values in a dataset are distributed) of scanned data, with vertical markers for the mean and median. The distribution can be also estimated from a data sample.

Example

Minimal JSON

{
  "type": "length-statistics"
}
{
  "type": "length-statistics",
  "componentId": "",
  "histogramAttributeTypeKey": "at_histogram",
  "maxValueAttributeTypeKey": "at_maxValue",
  "meanAttributeTypeKey": "at_mean",
  "medianAttributeTypeKey": "at_median",
  "minValueAttributeTypeKey": "at_minValue",
  "noValueText": "title.no_value"
}

Nested properties

PropertyDescriptionValuesMandatory
typelength-statisticsstringYes
componentIdUnique ID of a component. If left empty, a random string will be generated. Primarily used in patch packages to define the component's position within the layout (template).stringNo
histogramAttributeTypeKeyKey of the attribute type with the histogram data.stringNo
maxValueAttributeTypeKeyKey of the attribute type with the maximum value.stringNo
meanAttributeTypeKeyKey of the attribute type with the mean value.stringNo
medianAttributeTypeKeyKey of the attribute type with the median value.stringNo
minValueAttributeTypeKeyKey of the attribute type with the minimum value.stringNo
noValueTextTranslation key of the text. Define the key in translations to specify how the text is displayed in the UI.stringNo