Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Description
The Chart Histogram DirectiveUsage
as element:Directive info
- This directive creates new scope.
Parameters
| Param | Type | Details |
|---|---|---|
| response (optional) | object | A response object |
| facet-name (optional) | string | Facet name to use from the response object |
| query (optional) | string | The name of the query to build links from. |
| title (optional) | string | The title that should be displayed above the histogram. |
| show (optional) | number | The maximum number of bars to show in the histogram. Defaults to 20. |
| height (optional) | string | Height of the chart specified by a valid CSS height style value (e.g. ‘100px’ or ‘7em’). Defaults to ‘100px’ |
| show-count (optional) | boolean | Whether to display the count in the label for each bar |
| max-characters (optional) | number | The number of characters to show before truncating the label. Default: 20. |
| action (optional) | string | The target resource to which the histogram query should submit. |
| date-format (optional) | string | How to format the date. See #/api/lightning.filter:dateFormat[date format filter] for valid formats. |
Example
Source
Result
