API reference: @salmonui/charts/chart
ChartLegendIteminterface
import type { ChartLegendItem } from '@salmonui/charts/chart';interface ChartLegendItem {
readonly id: string;
readonly label: string;
readonly color: string;
readonly hidden: boolean;
readonly seriesId?: string | undefined;
readonly index?: number | undefined;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
label | readonly label: string; | |
color | readonly color: string; | |
hidden | readonly hidden: boolean; | |
seriesIdoptional | readonly seriesId?: string | undefined; | The series of a series or point item. |
indexoptional | readonly index?: number | undefined; |