@mx-cartographer/experiences 3.10.1-alpha.mm23 → 3.10.1-alpha.mm24

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ interface StackedLineChartProps {
18
18
  onHoverArea?: (category: string) => void;
19
19
  onHoverPoint?: (category: string) => void;
20
20
  onHoverLegend?: (category: string) => void;
21
+ onClickLegend?: (category: string) => void;
21
22
  height?: number;
22
23
  width?: number;
23
24
  }
@@ -1,14 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  interface CustomLegendProps {
4
- labels: string[];
5
- stackedLabels: string[];
6
4
  sx?: object;
7
- unstackedLabels: string[];
8
- stackedColors: (string | undefined)[];
9
- unstackedColors: (string | undefined)[];
5
+ guids: string[];
10
6
  hoveredLegend: string | null;
11
- setHoveredLegend: (label: string | null) => void;
7
+ onHoverLegend: (label: string | null) => void;
8
+ onClickLegend: (label: string | null) => void;
12
9
  }
13
10
  export declare const CustomLegend: React.FC<CustomLegendProps>;
14
11
  export {};
@@ -45,6 +45,7 @@ export declare const ANALYTICS_EVENTS: {
45
45
  TRENDS_CLICK_DATE: string;
46
46
  TRENDS_CLICK_TABLE_SORT: string;
47
47
  TRENDS_CLICK_TABLE_ROW: string;
48
+ TRENDS_CLICK_LEGEND: string;
48
49
  TRENDS_HOVER_LEGEND: string;
49
50
  TRENDS_HOVER_AREA: string;
50
51
  TRENDS_HOVER_POINT: string;