Variable customLegendConst
customLegend: {
_Default: {
className: { box: string; item: string; list: string; text: string };
containerID: string;
getDatasetType: (
chart: Chart,
item: Record<string, any>,
) => undefined | (keyof ChartTypeRegistry);
getItemText: (item: any) => any;
styles: {
box: (
item: any,
type: any,
) => {
backgroundColor: any;
borderColor: any;
borderRadius: string;
borderWidth: string;
height: string;
width: string;
};
text: { color: string; textDecoration: string };
textHidden: { color: string; textDecoration: string };
};
};
_fnc: (
chart: Chart,
id: string,
options: { className: { list: string } },
) => undefined | HTMLDivElement;
id: string;
afterUpdate(chart: any, args: any, options: any): void;
} = ...
Type Declaration
_Default: {
className: { box: string; item: string; list: string; text: string };
containerID: string;
getDatasetType: (
chart: Chart,
item: Record<string, any>,
) => undefined | (keyof ChartTypeRegistry);
getItemText: (item: any) => any;
styles: {
box: (
item: any,
type: any,
) => {
backgroundColor: any;
borderColor: any;
borderRadius: string;
borderWidth: string;
height: string;
width: string;
};
text: { color: string; textDecoration: string };
textHidden: { color: string; textDecoration: string };
};
}
_fnc: (
chart: Chart,
id: string,
options: { className: { list: string } },
) => undefined | HTMLDivElement
id: string
afterUpdate: function
afterUpdate(chart: any, args: any, options: any): void Parameters
- chart: any
- args: any
- options: any
Returns void