ChartSeriesLabelProps
Configures options for displaying series names as inline labels in the chart.
Props
The following table outlines the props for the ChartSeriesLabelProps:
| Name | Type | Default | Description |
|---|---|---|---|
| background | string | 'transparent' | Specifies the background color of the inline series label. |
| border | { color: '', width: 0, dashArray: '' } | Specifies the border properties for the inline label. | |
| font | { color: '', fontFamily: '', fontSize: '14px', fontStyle: 'Normal', fontWeight: 'Normal', opacity: 1 } | Specifies the font properties for the series label. | |
| opacity | number | 1 | Sets the opacity of the series label. |
| showOverlapText | boolean | false | Determines whether to show the label text even when it overlaps with other labels. |
| text | string | '' | Defines the custom text to display as the series label. If not specified, the series name will be used. |
| visible | boolean | false | Enables or disables the rendering of series names as inline labels. |