new TooltipSession(active, payload) → {JSX.Element}
Display the tooltip when hovering over the chart, change for each column
Parameters:
| Name | Type | Description |
|---|---|---|
active |
bool | Give the information if the user is in the chart to display the tooltip. |
payload |
array | Give an array that contains the data of the user's session chart. |
Returns:
- Return the tooltip if active true and payload not empty
- Type
- JSX.Element