@wix/design-system
Version:
@wix/design-system
25 lines (22 loc) • 722 B
Markdown
### dataHook
- type: string
- description: Applied as data-hook HTML attribute that can be used in the tests
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
- internal
### data
- type: IDatasetItem[]
- description: Array of Areat Chart items
* `value` - Item's value.
* `label` - A Short label under the value.
### tooltipContent
- type: (item: IDatasetItem, index: number) => string | string[]
- description: Tooltip content template function
### onTooltipShow
- type: (item: IDatasetItem) => void
- description: Callback on tooltip content show event
### maxYTicksLimit
- type: number
- description: Maximum ticks allowed in Y axis
- default: 5