Param | Type | Details |
---|---|---|
response | object | A response object (please include either a response or a platform not both!). |
platform | string | The name of the platform to get the data from (please include either a response or a platform not both!). |
name | string | Name of facet. (Use either name or value-field and label-field not both!) |
value-field | string]link:[expression | Field from the result containing the count. (Use either name or value-field and label-field not both!) |
label-field | string]link:[expression | Field from the result containing the label. (Use either name or value-field and label-field not both!) |
title (optional) | string]link:[expression | The title of the series that appears in the legend and tooltip. |
show-marker (optional) | string | Whether to show marker or not. |
type (optional) | string | Type of chart to render. |
range-selector (optional) | boolean | Where the input boxes should be enabled (from and to) Default:true |
navigator (optional) | boolean | Whether to enable the navigator beneth the chart. Default:true |
query (optional) | object | The search query from which to build links. |
measure (optional) | string | What fact to use as an alternative to count as quantitative value for a filter. |
sort (optional) | boolean | Whether the data should be sort by the directive. Defaults to true. |
number-to-show (optional) | Number | The number of points to show on the graph. Applies only when using the platform attribute. (Default:25) |
selected-by-default (optional) | boolean | Whether this series should be shown when the chart:display is using select-series=“true” mode. Default: true. |