add legend component

This commit is contained in:
Fine
2022-11-07 16:23:36 +08:00
parent 5389d346c5
commit f0fcc63ff5
5 changed files with 18 additions and 8 deletions

View File

@@ -183,7 +183,7 @@ export type EventParams = {
color: string;
};
export type LegendOptions = {
showLegend: boolean;
show: boolean;
total: boolean;
min: boolean;
max: boolean;