API / geotoolkit / widgets / Histogram / Histogram
Type Aliases
Type Aliases
Ƭ AxisDataOptions: Object
JSON which defines data.
| Name | Type | Description |
|---|---|---|
annotationside? | string | specifies which side should have axes. By default 'both' means from left and right |
annotationsize? | number | string | width or height of annotation |
autominmax? | boolean | are X min/max fixed (false) or given by datasource (true). DataSource has to exist |
axistickgenerator? | TickGenerator | a custom axis tick generator |
axisticks? | Options | JSON which defines ticks options of the axis. |
gridtickgenerator? | TickGenerator | a custom grid tick generator |
gridticks? | Options | JSON which defines horizontal ticks options of the grid. |
label? | Options | JSON which defines label. |
max? | number | Maximum Value to display data. If never set, will be max of [options.data] |
min? | number | Minimum Value to display data. If never set, will be min of [options.data] |
neatlimits? | boolean | Calculate smart limits |
neatlimitscenteredonzero? | boolean | Center the smart limits on zero |
preciselimits? | boolean | precise limits |
reversed? | boolean | Is the Axis reversed. |
Ƭ AxisDataOptionsOut: EmptyRecord | { annotationsize: number | string ; autominmax?: boolean ; axisticks: OptionsOut | OptionsOut ; gridticks: OptionsOut | OptionsOut ; label: OptionsOut ; max: number ; min: number ; neatlimits?: boolean ; preciselimits: boolean ; reversed: boolean }
how to extract data, null by default
Ƭ DataOptions: Object
data
| Name | Type | Description |
|---|---|---|
accumulation? | { linestyle?: Type ; visible?: boolean } | JSON for accumulation curve. |
accumulation.linestyle? | Type | JSON for accumulation curve. |
accumulation.visible? | boolean | Visibility of accumulation curve. |
autogradient? | boolean | FillStyle autogradient |
autominmax? | boolean | are X min/max fixed (false) or given by datasource (true). DataSource has to exist |
bins? | number | Number of bins |
binspacing? | number | bin spacing in percentage |
bounds? | Rect | Options | - |
data? | number[] | Array of data |
datasource? | NumericalDataSeries | NumericalDataSeriesView | DataSource |
fillstyle? | Type | Bins FillStyle. |
frequencytype? | FrequencyType | string | Frequency Type |
header? | HeaderOptions | JSON which defines header area |
highlightcolor? | string | Color used to highlight bins |
linestyle? | Type | Bins LineStyle. |
tools? | ToolsOptions | JSON which defines tools data. |
unit? | string | AbstractUnit | - |
x? | AxisDataOptions | JSON which defines X-data. |
y? | AxisDataOptions | JSON which defines Y-data. |
Ƭ DataOptionsOut: Object
how to extract data, null by default
| Name | Type | Description |
|---|---|---|
accumulation | { linestyle: OptionsOut ; visible: boolean } | JSON for accumulation curve. |
accumulation.linestyle | OptionsOut | JSON for accumulation curve. |
accumulation.visible | boolean | Visibility of accumulation curve. |
autogradient | boolean | FillStyle autogradient |
autominmax? | boolean | are X min/max fixed (false) or given by datasource (true). DataSource has to exist |
bins | number | Number of bins |
binspacing | number | bin spacing in percentage |
bounds? | Options | - |
data? | number[] | - |
datasource? | NumericalDataSeries | NumericalDataSeriesView | DataSource |
fillstyle | OptionsOut | Bins FillStyle. |
frequencytype | FrequencyType | Frequency Type |
header | HeaderOptionsOut | JSON which defines header area |
highlightcolor | string | Color used to highlight bins |
linestyle | LineStyle | null | Bins LineStyle. |
tools | ToolsOptionsOut | - |
x | AxisDataOptionsOut | JSON which defines X-data. |
y | AxisDataOptionsOut | JSON which defines Y-data. |
Ƭ EventMap: EventMap & { dataUpdated: { binCount: number ; count: number ; maxValue: number ; minValue: number } }
Ƭ HeaderOptions: Object
JSON which defines header area
| Name | Type | Description |
|---|---|---|
annotationsize? | number | string | height of header |
title? | Options | JSON which defines main title. |
Ƭ HeaderOptionsOut: Object
JSON which defines header area
| Name | Type | Description |
|---|---|---|
annotationsize? | number | string | height of header |
title? | OptionsOut | JSON which defines main title. |
Ƭ Options: Options & DataOptions
Ƭ OptionsOut: Omit<OptionsOut, "linestyle"> & DataOptionsOut
properties