[DASHBOARDS] Create display legend setting + animations (#16089)
## PR Description - Create display legend setting - Create pagination inside the legend - Animate the legend on enter/exit - Animate the transition between pages ## Video QA https://github.com/user-attachments/assets/a68a4ea3-195f-4399-88f7-f83bc1a39cc4
This commit is contained in:
-1
@@ -1 +0,0 @@
|
||||
export const CHART_LEGEND_ITEM_THRESHOLD = 10;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// Estimated width of a legend item in pixels (dot + gap + label + container gap)
|
||||
export const LEGEND_ITEM_ESTIMATED_WIDTH = 100;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// Max width of a legend label before truncation
|
||||
export const LEGEND_LABEL_MAX_WIDTH = 80;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// Width of pagination controls (prev button + indicator + next button)
|
||||
export const LEGEND_PAGINATION_CONTROLS_WIDTH = 70;
|
||||
Reference in New Issue
Block a user