Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Implement Cartesian charts followup items (#84806)

Andersonb7649843cfa4
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Default.png
index 7162b2a2ff2..3a6e04b5227 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Default.png
index 033679920e9..f26edb3e95a 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Scroll.png
index b7c8af7bd43..351ce87ae9c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_No_Background_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Scroll.png
index 0b064a64c2b..608bd4ede1c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Dark_Theme_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Default.png
index f3d745f02f0..91744343e66 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Default.png
index 44b2abaaef4..d9b4a4676d0 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Scroll.png
index 2b4fdf15bfe..948f6c01d2f 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_No_Background_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Scroll.png
index 7b2837aa468..a17f6a9e11f 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Light_Theme_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Default.png
index 0e63062352d..c9b192b146e 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Default.png
index 740dd18e22e..4cabc7121cb 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Scroll.png
index 7a9a2450523..b9ff039272d 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_No_Background_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Scroll.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Scroll.png
index a88aa4476a6..a1b4d0e09a7 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Scroll.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_Transparent_Theme_Scroll.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_Many_Filters.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_Many_Filters.png
index adf810dc82c..030c9a947ce 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_Many_Filters.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_Many_Filters.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_One_Filter.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_One_Filter.png
index 9b68db25b47..cb0e48baa73 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_One_Filter.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Chart_One_Filter.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_Many_Filters.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_Many_Filters.png
index 58ecb337d61..2c5e06ab1c5 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_Many_Filters.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_Many_Filters.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_One_Filter.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_One_Filter.png
index 57091798ac7..088c8c5045a 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_One_Filter.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Full_Width_Heading_One_Filter.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_Many_Filters.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_Many_Filters.png
index e93cfd276f1..c261defe66c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_Many_Filters.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_Many_Filters.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_One_Filter.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_One_Filter.png
index d5796511fc1..5fcf692524b 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_One_Filter.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Medium_Chart_One_Filter.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters.png
index 100e2e04941..5a3b94377df 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters_Expanded.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters_Expanded.png
index db3af85dfc7..b381f211ef5 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters_Expanded.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_Many_Filters_Expanded.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter.png
index 857b41f5e0b..89c35a52898 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter_Long_Card_Name.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter_Long_Card_Name.png
index 4cdecae8701..f78183a6f71 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter_Long_Card_Name.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Chart_One_Filter_Long_Card_Name.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters.png
index dcee4d85399..a88e1251cae 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters_Expanded.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters_Expanded.png
index d9766e794c9..275bafc076f 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters_Expanded.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_Many_Filters_Expanded.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter.png
index e6cdeadf59c..972ab200df6 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter_Long_Text.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter_Long_Text.png
index 9c1e560c6f5..3c5b3aac2cd 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter_Long_Text.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_card_filters_Narrow_Heading_One_Filter_Long_Text.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_All_Options.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_All_Options.png
index 134b0058598..8b3c8923031 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_All_Options.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_All_Options.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Month_Year.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Month_Year.png
index fc6858112f8..bb45d90cdb9 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Month_Year.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Month_Year.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year.png
index 7343be0045c..7375f867de7 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year_Dropdown.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year_Dropdown.png
index 4c93cd580b1..55669a83d24 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year_Dropdown.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Quarter_Year_Dropdown.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Relative.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Relative.png
index 904f70d231b..b7ee367c006 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Relative.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Relative.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Single.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Single.png
index 939de18e205..cc8073df26d 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Single.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Date_Filter_Single.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Number.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Number.png
index 165b662261b..f87180f026d 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Number.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Number.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List.png
index 1b08a0c5ff5..983fb00f57c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_Single_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_Single_With_Value.png
index 406a481f00c..c73137a0da4 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_Single_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_Single_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_With_Value.png
index 3f5ce7d8a02..8e38f85cbf5 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_List_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search.png
index 1b08a0c5ff5..983fb00f57c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search_With_Value.png
index cf0d8f192e4..f7cbd7e27a7 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Parameter_Search_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text.png
index 8d88f2e4c5f..b2c38a70c9b 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text_With_Value.png
index 7352eceaa9a..fb82c1e0855 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Text_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Unit_Of_Time.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Unit_Of_Time.png
index 1f56f6215d9..0451665c06c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Unit_Of_Time.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Dark_Theme_Unit_Of_Time.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_All_Options.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_All_Options.png
index 6a7d2ebee00..3eb57c8772c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_All_Options.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_All_Options.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Month_Year.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Month_Year.png
index 7d5d780d7c8..ff96c44e597 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Month_Year.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Month_Year.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year.png
index 56ada1d3306..cbb0ddaf105 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year_Dropdown.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year_Dropdown.png
index cbcc024db69..31f628995ed 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year_Dropdown.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Quarter_Year_Dropdown.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Relative.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Relative.png
index d3b3d222d34..6066a6e7d73 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Relative.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Relative.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Single.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Single.png
index 2cf354874c3..c58828d67fa 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Single.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Date_Filter_Single.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Number.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Number.png
index e939bc63d79..f3e9337d9b6 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Number.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Number.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List.png
index 7768db9b323..029c506bae8 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_Single_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_Single_With_Value.png
index 1e1c88c2162..3a241c5a922 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_Single_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_Single_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_With_Value.png
index a067f7135ea..314806a16bd 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_List_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search.png
index c9d26458064..029c506bae8 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search_With_Value.png
index 3de2c55c760..2a533495a9d 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Parameter_Search_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text.png
index e1d9cee35c0..acc447079aa 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text_With_Value.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text_With_Value.png
index 38a139e15ab..710203bc461 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text_With_Value.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Text_With_Value.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Unit_Of_Time.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Unit_Of_Time.png
index 9fd0ca039b7..bcba3e21c1f 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Unit_Of_Time.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedDashboardView_filters_Light_Theme_Unit_Of_Time.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Default.png
index 5bf7cee9c07..303c775150c 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Download.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Download.png
index 2e9af3afd68..e168a9ef3c5 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Download.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Dark_Theme_Download.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Default.png
index 9898765889b..f6924887920 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Download.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Download.png
index d1424d7ce1e..b4cd2c1370f 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Download.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Light_Theme_Download.png differ
diff --git a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Transparent_Theme_Default.png b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Transparent_Theme_Default.png
index e164e847de9..e62e9d02224 100644
Binary files a/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Transparent_Theme_Default.png and b/.loki/reference/chrome_laptop_App_Embed_PublicOrEmbeddedQuestionView_Transparent_Theme_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Components_Documents_Card_Embed.png b/.loki/reference/chrome_laptop_Components_Documents_Card_Embed.png
index fd11c18929e..754b64f3d92 100644
Binary files a/.loki/reference/chrome_laptop_Components_Documents_Card_Embed.png and b/.loki/reference/chrome_laptop_Components_Documents_Card_Embed.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Explicit_Settings.png b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Explicit_Settings.png
index 303308ed8fe..a3f4389f5e4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Explicit_Settings.png and b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Explicit_Settings.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Large.png b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Large.png
index da42b943135..3fe8375c1e1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Large.png and b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Large.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Medium.png b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Medium.png
index 6bd35a577fe..dab30574123 100644
Binary files a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Medium.png and b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Medium.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Small.png b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Small.png
index 9be0ac9d91f..6a7c0e37b8d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Small.png and b/.loki/reference/chrome_laptop_Viz_BoxPlot_Responsive_axes_Small.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Fullscreen_Contexts.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Fullscreen_Contexts.png
index c7c2f0a0b55..fd4da604cdb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Fullscreen_Contexts.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Fullscreen_Contexts.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Large_Contexts.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Large_Contexts.png
index 79f8b5dba7a..0db65952ab9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Large_Contexts.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Large_Contexts.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Border.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Border.png
index 91eafaa8cc0..0b1c702c895 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Border.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Border.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Gridline_And_Font.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Gridline_And_Font.png
index 1be6fd5ba8b..bba489b6ae1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Gridline_And_Font.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Custom_Gridline_And_Font.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Dark.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Dark.png
index df11954445c..4ae18260c89 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Dark.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Dark.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Light.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Light.png
index 0229ec63919..e68f2816bd0 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Light.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Sdk_Light.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Small_Contexts.png b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Small_Contexts.png
index fb60a88b48b..6f5dd31d877 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Small_Contexts.png and b/.loki/reference/chrome_laptop_Viz_Cartesian_presentation_Small_Contexts.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Box_Plot_Customization.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Box_Plot_Customization.png
index 3c5eaaf6f9a..95cc5db0782 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Box_Plot_Customization.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Box_Plot_Customization.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Custom_Y_Axis_Range_Off_Screen.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Custom_Y_Axis_Range_Off_Screen.png
index d6a8f50251d..9ff2b0a0ff6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Custom_Y_Axis_Range_Off_Screen.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Custom_Y_Axis_Range_Off_Screen.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Dense_Temporal_Data.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Dense_Temporal_Data.png
index b174abfb796..a59d25313c1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Dense_Temporal_Data.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Dense_Temporal_Data.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Distribution_Shapes.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Distribution_Shapes.png
index b20ea7952db..3c1aa7e7398 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Distribution_Shapes.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Distribution_Shapes.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Formatting.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Formatting.png
index 35534e9bc50..3165be436ee 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Formatting.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Formatting.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Overflow.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Overflow.png
index da3035dbcfc..d9d2be84841 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Overflow.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Label_Overflow.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale.png
index c1a3fc58b20..4d5fab92291 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale_Edge_Cases.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale_Edge_Cases.png
index 186b494364d..de3e2d3559d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale_Edge_Cases.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Log_Scale_Edge_Cases.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Many_Categories.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Many_Categories.png
index 1eb82927e51..0800308ff3f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Many_Categories.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Many_Categories.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Medium_Dense_Temporal_Data.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Medium_Dense_Temporal_Data.png
index 04ff7d8baa9..46d7cb79267 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Medium_Dense_Temporal_Data.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Medium_Dense_Temporal_Data.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Min_Max_No_Outliers.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Min_Max_No_Outliers.png
index 638dd44ef17..344a812f7cf 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Min_Max_No_Outliers.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Min_Max_No_Outliers.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Breakout_With_Hidden_Sort_Formatting.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Breakout_With_Hidden_Sort_Formatting.png
index 3f9b8147111..d22a0ac243e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Breakout_With_Hidden_Sort_Formatting.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Breakout_With_Hidden_Sort_Formatting.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Two_Metrics_With_Axis_Split_Formatting.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Two_Metrics_With_Axis_Split_Formatting.png
index 4a1cd8d020f..d5b6c9c7c20 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Two_Metrics_With_Axis_Split_Formatting.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Multi_Series_Two_Metrics_With_Axis_Split_Formatting.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Min_Max.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Min_Max.png
index f02d9ac42cc..5501ce32f26 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Min_Max.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Min_Max.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Tukey.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Tukey.png
index 61ac0c23c6a..5c1572e580f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Tukey.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Dimension_Tukey.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Min_Max_All_Points.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Min_Max_All_Points.png
index 2ceea74d38f..7bf2f93db8c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Min_Max_All_Points.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Numeric_Min_Max_All_Points.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Outlier_Overflow.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Outlier_Overflow.png
index 1c95bd8d5ba..a52a474c71b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Outlier_Overflow.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Outlier_Overflow.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Positive_Negative_Cross_Zero_Y_Axis_Auto.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Positive_Negative_Cross_Zero_Y_Axis_Auto.png
index d95c65b92f1..f46fa0f86de 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Positive_Negative_Cross_Zero_Y_Axis_Auto.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Positive_Negative_Cross_Zero_Y_Axis_Auto.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Pow_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Pow_Scale.png
index 6670656ca1c..0a1ff92981c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Pow_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Pow_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Scale_Extremes.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Scale_Extremes.png
index a0db54eaf65..946689779f5 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Scale_Extremes.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Scale_Extremes.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Single_Category.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Single_Category.png
index 2636df60a63..3f2f3b6cc3f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Single_Category.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Single_Category.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Top_Bottom_Mixed_Outliers.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Top_Bottom_Mixed_Outliers.png
index ff2365d0b2e..21de200a3c9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Top_Bottom_Mixed_Outliers.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_BoxPlotChart_Top_Bottom_Mixed_Outliers.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Interpolated.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Interpolated.png
index 37fc398d63b..d8953158b84 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Interpolated.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Interpolated.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Skipped.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Skipped.png
index 64b4117e5af..03addc957b9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Skipped.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Chart_Stepped_Nulls_Skipped.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Fully_Null_Dimension_37902.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Fully_Null_Dimension_37902.png
index 749172af1ae..58717d7b91f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Fully_Null_Dimension_37902.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Fully_Null_Dimension_37902.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Over_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Over_Bar.png
index f2820c6547e..a1b5667a354 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Over_Bar.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Over_Bar.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_All_Series_Without_Interpolation.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_All_Series_Without_Interpolation.png
index b4016aca032..f47454323ae 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_All_Series_Without_Interpolation.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_All_Series_Without_Interpolation.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Interpolate_Missing_Values.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Interpolate_Missing_Values.png
index 7d831089017..eb6e7f66620 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Interpolate_Missing_Values.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Interpolate_Missing_Values.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Linear_X_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Linear_X_Axis.png
index fe6037f1fb8..42c9560c96c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Linear_X_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stack_Linear_X_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stacked_Auto_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stacked_Auto_Data_Labels.png
index e777b8f3747..04a36d5f763 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stacked_Auto_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Area_Stacked_Auto_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_45_Degree_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_45_Degree_Labels.png
index 1ba2667049f..f1876ebd591 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_45_Degree_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_45_Degree_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Compact.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Compact.png
index e8e1837ae68..db72608591c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Compact.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Compact.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Full.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Full.png
index dc327ee7ef9..29823907f60 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Full.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Full.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Breakout_With_Line_Series_Stacked_Right_Axis_Only.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Breakout_With_Line_Series_Stacked_Right_Axis_Only.png
index 22d2230bb63..d8dda0d097e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Breakout_With_Line_Series_Stacked_Right_Axis_Only.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Breakout_With_Line_Series_Stacked_Right_Axis_Only.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Correct_Width_When_Two_Y_Axes.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Correct_Width_When_Two_Y_Axes.png
index 8305cad173e..db6778d4499 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Correct_Width_When_Two_Y_Axes.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Correct_Width_When_Two_Y_Axes.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Data_Labels_Negatives.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Data_Labels_Negatives.png
index a6e7d457504..d625b54c414 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Data_Labels_Negatives.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Data_Labels_Negatives.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Formatting_Full.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Formatting_Full.png
index 21ae30ee17c..48aa4a08a6e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Formatting_Full.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Formatting_Full.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Fully_Null_Dimension_37902.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Fully_Null_Dimension_37902.png
index 15369c76a59..0083d2c4b9e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Fully_Null_Dimension_37902.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Fully_Null_Dimension_37902.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series.png
index 03502654282..dcf6f43b5cb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series_Binned.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series_Binned.png
index 976247770bd..83ad24707a6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series_Binned.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Multi_Series_Binned.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Series_Breakout.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Series_Breakout.png
index 1b1403ecb0e..97b3eec7e80 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Series_Breakout.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Series_Breakout.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked.png
index 3c109133ba0..320d7a9b6d6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked_Normalized.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked_Normalized.png
index a71a36bb7de..cc810a84c53 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked_Normalized.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Stacked_Normalized.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Unaggregated_Dimension.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Unaggregated_Dimension.png
index 95c68d0f6ab..7bfc2a31e33 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Unaggregated_Dimension.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_Unaggregated_Dimension.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_X_Scale.png
index f24ed7b2b58..6781bf5b72a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Histogram_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Linear_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Linear_X_Scale.png
index 2ccac0a2134..997e4a99c01 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Linear_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Linear_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked.png
index cfd5134719b..3fdff3c795d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked_Negative.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked_Negative.png
index 925985ad642..b9d565118c6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked_Negative.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Log_Y_Scale_Stacked_Negative.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Default.png
index d21f004184d..ca75cacbfd8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked.png
index 9c6731d1f40..631c882b91d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked_Normalized.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked_Normalized.png
index 761833c54ef..b6de6ccff0c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked_Normalized.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Stacked_Normalized.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Min_Height_Limit.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Min_Height_Limit.png
index 5af2c7be1a4..5a1611c5c91 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Min_Height_Limit.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Min_Height_Limit.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Non_Linear_Numeric_X_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Non_Linear_Numeric_X_Axis.png
index 51f45565c6f..2865da11d5a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Non_Linear_Numeric_X_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Non_Linear_Numeric_X_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale.png
index fdaf3adcda6..324fed1a3fb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale_Auto_Rotated_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale_Auto_Rotated_Labels.png
index 478f93d8a34..0b9a9eaedf2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale_Auto_Rotated_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Ordinal_X_Scale_Auto_Rotated_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Relative_Datetime_Ordinal_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Relative_Datetime_Ordinal_Scale.png
index 34458d26738..6041e6024e1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Relative_Datetime_Ordinal_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Relative_Datetime_Ordinal_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Split_Panels_Ordinal_Mixed_Ticks_Widths_Per_Panel.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Split_Panels_Ordinal_Mixed_Ticks_Widths_Per_Panel.png
index 60d6d1f266a..3eb1eedf95d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Split_Panels_Ordinal_Mixed_Ticks_Widths_Per_Panel.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Split_Panels_Ordinal_Mixed_Ticks_Widths_Per_Panel.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stack_Linear_X_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stack_Linear_X_Axis.png
index 1b4533044d1..f49da81929e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stack_Linear_X_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stack_Linear_X_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_All_Labels_Timeseries_With_Gap_45717.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_All_Labels_Timeseries_With_Gap_45717.png
index 6edf38eeeab..0912f7075aa 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_All_Labels_Timeseries_With_Gap_45717.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_All_Labels_Timeseries_With_Gap_45717.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Labels_Null_Vs_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Labels_Null_Vs_Zero.png
index 20b0666528c..d1c340eb07b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Labels_Null_Vs_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Labels_Null_Vs_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Custom_Min_Max_48021.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Custom_Min_Max_48021.png
index d7c0f5a39a2..664020c752f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Custom_Min_Max_48021.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Custom_Min_Max_48021.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Empty_Space_37880.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Empty_Space_37880.png
index 582f11ca963..bbde0280c29 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Empty_Space_37880.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Empty_Space_37880.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Goal_Line_51054.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Goal_Line_51054.png
index 9fc18b6baa1..fad6ef92d0f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Goal_Line_51054.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Goal_Line_51054.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Series_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Series_Labels.png
index 2ef76bc027e..7061ed54375 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Series_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Series_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis.png
index c956b9d07bd..9a97e8c65bc 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis_Negatives.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis_Negatives.png
index ca29942f5d7..b34eb4909e3 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis_Negatives.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Pow_Y_Axis_Negatives.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals.png
index eacdb618fa1..597da112e8c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals_Ordinal.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals_Ordinal.png
index cde8aa62c44..d8bb08e2c5c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals_Ordinal.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals_Ordinal.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Auto_Compactness.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Auto_Compactness.png
index e3292a9dfa3..92d53df43a1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Auto_Compactness.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Auto_Compactness.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_No_Totals.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_No_Totals.png
index 148630674c0..f1b49a878d2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_No_Totals.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_No_Totals.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Normalized_Auto_Compactness.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Normalized_Auto_Compactness.png
index 8c68ac70a3c..7eeeab5af9c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Normalized_Auto_Compactness.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Normalized_Auto_Compactness.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Rotated.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Rotated.png
index 0f2b00814aa..e3e537cf3b4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Rotated.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Rotated.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Total_Formatted_Values.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Total_Formatted_Values.png
index fb38daf9e6a..8873ee1696f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Total_Formatted_Values.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Total_Formatted_Values.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Axes_Stacked_With_Negative_Values.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Axes_Stacked_With_Negative_Values.png
index ea238bafd17..daeac109457 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Axes_Stacked_With_Negative_Values.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Axes_Stacked_With_Negative_Values.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Days_Of_Week.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Days_Of_Week.png
index f392d1d0164..c598b30026e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Days_Of_Week.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Two_Days_Of_Week.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Width_Dst_Timezones_56424.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Width_Dst_Timezones_56424.png
index dd774d56048..16458943bf1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Width_Dst_Timezones_56424.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Width_Dst_Timezones_56424.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png
index 405d59adac7..1b4adabe32f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bars_Breakout_Sorted_With_Negative_Values_Power_Y_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Breakout_Null_And_Empty_String.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Breakout_Null_And_Empty_String.png
index 3f5ed020806..ebdb7b82c54 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Breakout_Null_And_Empty_String.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Breakout_Null_And_Empty_String.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_Bar_Time_Series_Different_Granularity_With_Breakout.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_Bar_Time_Series_Different_Granularity_With_Breakout.png
index 4a45f690d1b..74c030371c8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_Bar_Time_Series_Different_Granularity_With_Breakout.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_Bar_Time_Series_Different_Granularity_With_Breakout.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_With_Invalid_Settings.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_With_Invalid_Settings.png
index 812740804bc..6ec0e0c5974 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_With_Invalid_Settings.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combined_With_Invalid_Settings.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Line.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Line.png
index fd3a0c43d9b..a0d4ff84300 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Line.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Line.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Totals.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Totals.png
index ad25847ca22..ca63f674962 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Totals.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Data_Labels_Auto_Compactness_Propagates_From_Totals.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Histogram.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Histogram.png
index 14194715092..5a9ac8c88ba 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Histogram.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Histogram.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Split_Panels_Mixed_Series_Display_Settings.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Split_Panels_Mixed_Series_Display_Settings.png
index 0664235fe1f..54aa19945b8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Split_Panels_Mixed_Series_Display_Settings.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Split_Panels_Mixed_Series_Display_Settings.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas.png
index 349a6ddd0a2..782b03e0936 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas_Normalized.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas_Normalized.png
index 6c9890c9458..18697a4bc7e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas_Normalized.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Combo_Stacked_Bars_Areas_Normalized.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Compact_X_Axis_Does_Not_Work_38917.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Compact_X_Axis_Does_Not_Work_38917.png
index ce22b161d8c..57f95b7ef0c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Compact_X_Axis_Does_Not_Work_38917.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Compact_X_Axis_Does_Not_Work_38917.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Custom_Y_Axis_Range_With_Column_Scaling.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Custom_Y_Axis_Range_With_Column_Scaling.png
index 8a2353c87c5..56b4feef1c7 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Custom_Y_Axis_Range_With_Column_Scaling.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Custom_Y_Axis_Range_With_Column_Scaling.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Data_Labels_Under_Trend_Goal_Lines_41280.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Data_Labels_Under_Trend_Goal_Lines_41280.png
index 6c06ab0f570..711c9fbba0b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Data_Labels_Under_Trend_Goal_Lines_41280.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Data_Labels_Under_Trend_Goal_Lines_41280.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Default.png
index 3dbc9c9f877..ef599360702 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Between_Extent_And_Chart_Bound.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Between_Extent_And_Chart_Bound.png
index 5487bc85c01..c0ed266aaac 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Between_Extent_And_Chart_Bound.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Between_Extent_And_Chart_Bound.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Disabled.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Disabled.png
index adf0298f6df..835f453cfd9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Disabled.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Disabled.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Log_Y_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Log_Y_Scale.png
index 190f0d5495f..3811cde6502 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Log_Y_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Log_Y_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Out_Of_Bounds_37848.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Out_Of_Bounds_37848.png
index f542f7832b3..2db1dfc0818 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Out_Of_Bounds_37848.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Out_Of_Bounds_37848.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Pow_Y_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Pow_Y_Scale.png
index c782f91c3ec..d058624c9fb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Pow_Y_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Pow_Y_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Under_Series_38824.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Under_Series_38824.png
index 15683bd3ca9..12b9362ecd2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Under_Series_38824.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Line_Under_Series_38824.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Very_Small.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Very_Small.png
index 691eecfd94b..4bc8b6f5e28 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Very_Small.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Goal_Very_Small.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_45_Degrees.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_45_Degrees.png
index 91cd1d2d283..e9c1299e8fe 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_45_Degrees.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_45_Degrees.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_90_Degrees.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_90_Degrees.png
index ae89bf93342..75a87ea6e3f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_90_Degrees.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Histogram_Ticks_90_Degrees.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Image_Cut_Off_37275.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Image_Cut_Off_37275.png
index 2e9c9774acd..0e2d66273ed 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Image_Cut_Off_37275.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Image_Cut_Off_37275.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png
index 9a28b24d1f9..ca7dae3e430 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Incorrect_Label_Y_Axis_Split_41285.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Broken_Dimensions_Metrics_Settings.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Broken_Dimensions_Metrics_Settings.png
index bffd6cab51a..4112b9bf488 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Broken_Dimensions_Metrics_Settings.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Broken_Dimensions_Metrics_Settings.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Split_Panels_Timeseries_Different_Ranges.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Split_Panels_Timeseries_Different_Ranges.png
index 6db24b704a8..4822464c70f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Split_Panels_Timeseries_Different_Ranges.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Chart_Split_Panels_Timeseries_Different_Ranges.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Equals_Extents.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Equals_Extents.png
index 93d8946fb8f..40225ec3971 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Equals_Extents.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Equals_Extents.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_High.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_High.png
index 55d4afb8528..9203df5da45 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_High.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_High.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_Low.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_Low.png
index 77b59b67520..d9e99cf00f4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_Low.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Custom_Y_Axis_Range_Off_Screen_Low.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Fully_Null_Dimension_37902.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Fully_Null_Dimension_37902.png
index 749172af1ae..58717d7b91f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Fully_Null_Dimension_37902.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Fully_Null_Dimension_37902.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale.png
index 587e170afc2..3b9ac89f67b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale_Unsorted.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale_Unsorted.png
index 1ba976d0615..4f00cdae055 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale_Unsorted.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Linear_X_Scale_Unsorted.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale.png
index 1c209d1bfcd..e74680b9d10 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale_Negative.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale_Negative.png
index d3e049b99df..b7f5a5dadc9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale_Negative.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Log_Y_Scale_Negative.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Replace_Missing_Values_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Replace_Missing_Values_Zero.png
index c9b696ff5f4..611495cafcb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Replace_Missing_Values_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Replace_Missing_Values_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Settings.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Settings.png
index 89f823bf67a..baa5e26145e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Settings.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Settings.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Auto.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Auto.png
index adf0298f6df..835f453cfd9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Auto.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Auto.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Off.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Off.png
index adf0298f6df..835f453cfd9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Off.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_Off.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_On.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_On.png
index 8e145a5ee05..4adc4fe255f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_On.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Show_Dots_On.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Unpin_From_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Unpin_From_Zero.png
index 142ef268c8c..fcba5215dca 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Unpin_From_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Line_Unpin_From_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Log_Y_Scale_Custom_Y_Axis_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Log_Y_Scale_Custom_Y_Axis_Range.png
index a039441b227..9b4fd1d8a30 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Log_Y_Scale_Custom_Y_Axis_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Log_Y_Scale_Custom_Y_Axis_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Long_Dimension_Name_Cut_Off_37420.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Long_Dimension_Name_Cut_Off_37420.png
index 47359304fa6..74eed0a5d2c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Long_Dimension_Name_Cut_Off_37420.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Long_Dimension_Name_Cut_Off_37420.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Native_Auto_Y_Split.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Native_Auto_Y_Split.png
index 16fa9d947f7..6aedd550af8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Native_Auto_Y_Split.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Native_Auto_Y_Split.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_No_Good_Axis_Split.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_No_Good_Axis_Split.png
index 3faa4490516..37bda13a640 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_No_Good_Axis_Split.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_No_Good_Axis_Split.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Null_Category_Value_Formatting.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Null_Category_Value_Formatting.png
index b6c155ca468..3b0df36f306 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Null_Category_Value_Formatting.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Null_Category_Value_Formatting.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Number_Of_Insights_Error_39608.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Number_Of_Insights_Error_39608.png
index 8f1aeb9321d..44dba2c39f8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Number_Of_Insights_Error_39608.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Number_Of_Insights_Error_39608.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Numeric_X_Axis_Includes_Zero_37082.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Numeric_X_Axis_Includes_Zero_37082.png
index ab9d3343b51..e26ae9853c9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Numeric_X_Axis_Includes_Zero_37082.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Numeric_X_Axis_Includes_Zero_37082.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Offset_Based_Timezone_47835.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Offset_Based_Timezone_47835.png
index fb2e0616f37..ab0c4f0f598 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Offset_Based_Timezone_47835.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Offset_Based_Timezone_47835.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Pow_Y_Scale_Custom_Y_Axis_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Pow_Y_Scale_Custom_Y_Axis_Range.png
index f9fc7ee6e9b..bffb75229e8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Pow_Y_Scale_Custom_Y_Axis_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Pow_Y_Scale_Custom_Y_Axis_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Safari_Non_Iana_Timezone_Repro_44128.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Safari_Non_Iana_Timezone_Repro_44128.png
index 8deeb5d604f..63f10e9c5a8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Safari_Non_Iana_Timezone_Repro_44128.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Safari_Non_Iana_Timezone_Repro_44128.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Series_Order_Settings_Do_Not_Match_Series_Count.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Series_Order_Settings_Do_Not_Match_Series_Count.png
index 608eac12f21..3a05d2172b9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Series_Order_Settings_Do_Not_Match_Series_Count.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Series_Order_Settings_Do_Not_Match_Series_Count.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Split_Y_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Split_Y_Axis.png
index c1bf3e146c2..ad311cc7955 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Split_Y_Axis.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Split_Y_Axis.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Chart_Custom_Y_Axis_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Chart_Custom_Y_Axis_Range.png
index ea09e5a16ea..82f969017c2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Chart_Custom_Y_Axis_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Chart_Custom_Y_Axis_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Normalized_Custom_Y_Axis_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Normalized_Custom_Y_Axis_Range.png
index 0a72ce5865c..615b325d38c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Normalized_Custom_Y_Axis_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Stacked_Normalized_Custom_Y_Axis_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Symlog_Decimals.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Symlog_Decimals.png
index 7707a8f889b..3fc16081a07 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Symlog_Decimals.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Symlog_Decimals.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Long_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Long_Range.png
index 68b687d94f3..d5c8cc2149c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Long_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Long_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Short_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Short_Range.png
index 5eda1284ebc..64e99eadb39 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Short_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Ticks_Native_Week_With_Gap_Short_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Ticks_Compact_Formatting_Mixed_Timezones.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Ticks_Compact_Formatting_Mixed_Timezones.png
index a0560de85ac..09e7def9dfc 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Ticks_Compact_Formatting_Mixed_Timezones.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Ticks_Compact_Formatting_Mixed_Timezones.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Yyyymmdd_Numbers_Format.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Yyyymmdd_Numbers_Format.png
index 66f1e95055d..099cab82853 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Yyyymmdd_Numbers_Format.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Time_Series_Yyyymmdd_Numbers_Format.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Timezone_Ticks_Placement.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Timezone_Ticks_Placement.png
index b5780eb40e5..f003b0c6271 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Timezone_Ticks_Placement.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Timezone_Ticks_Placement.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo.png
index bfb43e5d259..a024f599ad7 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Log.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Log.png
index ba6d08d48e2..6ceac88d736 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Log.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Log.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Power.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Power.png
index b32c81c0681..e325e492a5c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Power.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo_Power.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Goal_Lines_With_Scaling_Pow_Scale_Custom_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Goal_Lines_With_Scaling_Pow_Scale_Custom_Range.png
index c8290a3456b..d187bbc47df 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Goal_Lines_With_Scaling_Pow_Scale_Custom_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Goal_Lines_With_Scaling_Pow_Scale_Custom_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Area.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Area.png
index 4015c1528aa..9f84437527a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Area.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Area.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Bar.png
index 39a624b80e1..76ff58ab53c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Bar.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Bar.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Line.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Line.png
index f2918588ba8..984ac6555b6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Line.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Line.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Area.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Area.png
index d02c65fbcd2..4fafdfdf243 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Area.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Area.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Bar.png
index b1a7e4e44dd..67b595d0de5 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Bar.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Bar.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Area.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Area.png
index a620f7834ea..64800c525d8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Area.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Area.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Bar.png
index 8f896493f04..2bdc77a99f5 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Bar.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Bar.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Area.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Area.png
index e3d075c2569..bd1f5674466 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Area.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Area.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Bar.png
index 52fe601ccf4..ef6cc2d12ec 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Bar.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Bar.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Line.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Line.png
index ff15f021e4f..809fd30c3b6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Line.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Line.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Linear.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Linear.png
index 37dc62cdcc6..59d51c93ec3 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Linear.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Linear.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Log.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Log.png
index 6223ec0e811..cff83f51944 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Log.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Log.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Power.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Power.png
index dee72924954..683188f1ffb 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Power.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Bars_Two_Areas_One_Line_Power.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Time_Series_Bars_Should_Not_Overlap.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Time_Series_Bars_Should_Not_Overlap.png
index 8d8e4246528..463b6e1bd59 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Time_Series_Bars_Should_Not_Overlap.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Two_Time_Series_Bars_Should_Not_Overlap.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Visualizer_Timeseries_Different_Units.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Visualizer_Timeseries_Different_Units.png
index fb08b23468c..434b8673eb7 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Visualizer_Timeseries_Different_Units.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Visualizer_Timeseries_Different_Units.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Watermark.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Watermark.png
index 05cd51e1751..62f3eb5bb2a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Watermark.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Watermark.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Wrong_Y_Axis_Range_37306.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Wrong_Y_Axis_Range_37306.png
index f837bef36c4..22f25daf0a6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Wrong_Y_Axis_Range_37306.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Wrong_Y_Axis_Range_37306.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Y_Axis_Compact_Without_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Y_Axis_Compact_Without_Data_Labels.png
index 1ebc75934d8..a6a9529b6c4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Y_Axis_Compact_Without_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Y_Axis_Compact_Without_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Default.png
index 3ad9a2ef2f3..5a3507b19fd 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Ordered_Rows.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Ordered_Rows.png
index c27a9546337..6da2db9fd05 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Ordered_Rows.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Ordered_Rows.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Unordered_Rows.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Unordered_Rows.png
index 98b96b65184..7d319cc2628 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Unordered_Rows.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_FunnelBarChart_Funnel_Bar_Unordered_Rows.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Default.png
index 6d5af7692a1..c0711e95761 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Metric_Column_With_Scaling.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Metric_Column_With_Scaling.png
index 37369216a8c..0382864647b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Metric_Column_With_Scaling.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Metric_Column_With_Scaling.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Watermark.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Watermark.png
index da8668847b1..803cca21c8b 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Watermark.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_RowChart_Watermark.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScalarChart_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScalarChart_Default.png
index e1eb543d8a8..b0df0ff7b13 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScalarChart_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScalarChart_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png
index 88788630c96..c9ac604766f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Auto_Y_Axis_Exclude_Zero_With_Goal.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Bubble_Size.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Bubble_Size.png
index e2a8ed53eba..23e40000ce9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Bubble_Size.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Bubble_Size.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range.png
index cb5054a99f2..61f696e4aec 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_Off_Screen.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_Off_Screen.png
index 201d58b41b7..7b568ea7d62 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_Off_Screen.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_Off_Screen.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_With_Column_Scaling.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_With_Column_Scaling.png
index 62748caa249..f6ad6d97035 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_With_Column_Scaling.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Custom_Y_Axis_Range_With_Column_Scaling.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Default.png
index 8ccbd4ec9df..c4887999891 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Default.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Default.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Goal_Line.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Goal_Line.png
index 60ef1e4c5cc..c966c83b4c4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Goal_Line.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Goal_Line.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Histogram_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Histogram_X_Scale.png
index 69494d78610..54763a01eca 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Histogram_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Histogram_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale.png
index c5bc77bc1b0..1f46a9c0cd1 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale_At_One.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale_At_One.png
index b5727b1e27a..ca1661d4c8d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale_At_One.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Log_X_Scale_At_One.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout.png
index eba3f0faa5e..c27b951ad46 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png
index 691e32894b0..366073668ff 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Dimension_Breakout_Bubble_Size.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Metric_Series.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Metric_Series.png
index fa810924a5f..8701537ade2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Metric_Series.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Multi_Metric_Series.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Ordinal_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Ordinal_X_Scale.png
index ebf4bfd2768..183d0ef4d37 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Ordinal_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Ordinal_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Pin_To_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Pin_To_Zero.png
index 06c27181ab3..69aee0000b0 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Pin_To_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Pin_To_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale.png
index d646f7f5516..5b71b45c181 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale_Multi_Series.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale_Multi_Series.png
index 4290f06a9fd..1ed726f6c70 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale_Multi_Series.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Power_X_Scale_Multi_Series.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Timeseries_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Timeseries_X_Scale.png
index 8d910f4e202..b1815f98c92 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Timeseries_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Timeseries_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Watermark.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Watermark.png
index 627fbfde6e5..da15dc70d9c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Watermark.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_ScatterPlot_Watermark.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Colors.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Colors.png
index f8e1492e091..1591c8e4414 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Colors.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Colors.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_Off_Screen.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_Off_Screen.png
index eda3dba04e1..3b5324c96ba 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_Off_Screen.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_Off_Screen.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_With_Column_Scaling.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_With_Column_Scaling.png
index 66b2c27a4f1..41b0a857f9a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_With_Column_Scaling.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Custom_Y_Axis_Range_With_Column_Scaling.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels.png
index 74dc1120555..60b8a9307b2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Column_Formatting.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Column_Formatting.png
index 6170201a3f6..b258927f4c2 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Column_Formatting.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Column_Formatting.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Mixed.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Mixed.png
index 813baf0db3b..5d66dd9188d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Mixed.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Mixed.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Timeseries.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Timeseries.png
index 488ccb8f6db..607a05e8aa9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Timeseries.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Timeseries.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Enourmous_Dataset.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Enourmous_Dataset.png
index f5a5162d677..3f897dd19d5 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Enourmous_Dataset.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Enourmous_Dataset.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Linear_Null_Dimension.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Linear_Null_Dimension.png
index 9c77f5e84ba..457490e0781 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Linear_Null_Dimension.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Linear_Null_Dimension.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale.png
index 524270406f2..c122e81d5a9 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale_Negative.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale_Negative.png
index 26049df587c..0ce873b7192 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale_Negative.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Log_Y_Scale_Negative.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Above_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Above_Zero.png
index 9dece4ed6bc..e69f0b3e21d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Above_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Above_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Below_Zero.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Below_Zero.png
index ad09b885d5f..9f31ac13107 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Below_Zero.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Mixed_Below_Zero.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_Quarter.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_Quarter.png
index 86669c0fb7e..9a761ff9fb5 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_Quarter.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_Quarter.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_With_Gaps.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_With_Gaps.png
index f26ce0c59df..45c331f0f9c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_With_Gaps.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_With_Gaps.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Negative_Only.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Negative_Only.png
index 2fa4ed5a690..a574efb103a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Negative_Only.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Negative_Only.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Ordinal.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Ordinal.png
index cdd4f72253a..8d1bfc6f170 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Ordinal.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Ordinal.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Timeseries.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Timeseries.png
index 2034bdc6323..e924f675b13 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Timeseries.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_No_Total_Timeseries.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Null_X_Axis_Value.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Null_X_Axis_Value.png
index c41f28916e9..1a8f27132b7 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Null_X_Axis_Value.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Null_X_Axis_Value.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Nulls.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Nulls.png
index 22a948f8256..436f9cda7c3 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Nulls.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Nulls.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_Null_Dimension.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_Null_Dimension.png
index 28311d05900..b5ddcc6d76d 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_Null_Dimension.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_Null_Dimension.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_X_Scale.png
index 7781b4f783f..30541bc4a8a 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Ordinal_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale.png
index 26d274c13a7..4657b52088c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Mixed.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Mixed.png
index 41addf67e44..000be158f50 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Mixed.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Mixed.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Negative_Only.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Negative_Only.png
index 26049df587c..0ce873b7192 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Negative_Only.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Negative_Only.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Crosses_Ends_Above.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Crosses_Ends_Above.png
index 26f9c4d0ad7..877dc507b16 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Crosses_Ends_Above.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Crosses_Ends_Above.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Ends_Below.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Ends_Below.png
index 5857628ecd6..642c2d626a0 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Ends_Below.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Above_Zero_Ends_Below.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Crosses_Ends_Below.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Crosses_Ends_Below.png
index 98cd40aa96c..937442663a6 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Crosses_Ends_Below.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Crosses_Ends_Below.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Ends_Above.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Ends_Above.png
index 2e6f6fdde61..c5b4341b02e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Ends_Above.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Starts_Below_Zero_Ends_Above.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Structured_Time_Series_Year.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Structured_Time_Series_Year.png
index c1783601ee6..0637c717827 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Structured_Time_Series_Year.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Structured_Time_Series_Year.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_Series_Data_As_Ordinal_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_Series_Data_As_Ordinal_X_Scale.png
index 6379297e947..5b20dc7896e 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_Series_Data_As_Ordinal_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_Series_Data_As_Ordinal_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_X_Scale_Two_Bars_Without_Total.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_X_Scale_Two_Bars_Without_Total.png
index e5a09dee133..8209497f412 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_X_Scale_Two_Bars_Without_Total.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Time_X_Scale_Two_Bars_Without_Total.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale.png
index 2737a4dddbf..d54bfbcf6b4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale_Unsorted.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale_Unsorted.png
index 2737a4dddbf..d54bfbcf6b4 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale_Unsorted.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale_Unsorted.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Two_Bars_With_Total.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Two_Bars_With_Total.png
index 5a0b07c2331..63964e39f8f 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Two_Bars_With_Total.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Two_Bars_With_Total.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Linear.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Linear.png
index 1491a8fcce5..107b1467e8c 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Linear.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Linear.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Ordinal.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Ordinal.png
index 40cdca1ca13..f258b730547 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Ordinal.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Ordinal.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Timeseries.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Timeseries.png
index 43e35f884cc..f2979e0ce56 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Timeseries.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Timeseries.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Watermark.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Watermark.png
index 5071f0e34b3..37efcfea879 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Watermark.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Watermark.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_With_Goal_Line.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_With_Goal_Line.png
index 6ddcd4c7c52..abd30079408 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_With_Goal_Line.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_With_Goal_Line.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Auto_Compact_With_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Auto_Compact_With_Data_Labels.png
index 36c2edcc8c1..b623c0207ba 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Auto_Compact_With_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Auto_Compact_With_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Compact_Without_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Compact_Without_Data_Labels.png
index 3e79c70537d..42f640b25b8 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Compact_Without_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Compact_Without_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Full_With_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Full_With_Data_Labels.png
index dcd5fd6c87d..195c895df70 100644
Binary files a/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Full_With_Data_Labels.png and b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Y_Axis_Full_With_Data_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_viz_BarChart_Short_Bars_At_Baseline.png b/.loki/reference/chrome_laptop_viz_BarChart_Short_Bars_At_Baseline.png
index 435dc7c1499..7cfec15c14a 100644
Binary files a/.loki/reference/chrome_laptop_viz_BarChart_Short_Bars_At_Baseline.png and b/.loki/reference/chrome_laptop_viz_BarChart_Short_Bars_At_Baseline.png differ
diff --git a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_All_Panels_Empty.png b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_All_Panels_Empty.png
index 9ef1a697ded..ccac1e68836 100644
Binary files a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_All_Panels_Empty.png and b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_All_Panels_Empty.png differ
diff --git a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_Combo_All_Panels_Empty.png b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_Combo_All_Panels_Empty.png
index 78cc0b8e1ac..d100ee77608 100644
Binary files a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_Combo_All_Panels_Empty.png and b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_Combo_All_Panels_Empty.png differ
diff --git a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_First_Panel_Empty.png b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_First_Panel_Empty.png
index 352f25f6714..1456fad6548 100644
Binary files a/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_First_Panel_Empty.png and b/.loki/reference/chrome_laptop_viz_BarChart_Split_Panels_First_Panel_Empty.png differ
diff --git a/.loki/reference/chrome_laptop_viz_BoxPlot_All_Boxes_Off_Screen_With_Value_Labels.png b/.loki/reference/chrome_laptop_viz_BoxPlot_All_Boxes_Off_Screen_With_Value_Labels.png
index b463d5ce596..0f9635b2fa3 100644
Binary files a/.loki/reference/chrome_laptop_viz_BoxPlot_All_Boxes_Off_Screen_With_Value_Labels.png and b/.loki/reference/chrome_laptop_viz_BoxPlot_All_Boxes_Off_Screen_With_Value_Labels.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Horizontal.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Horizontal.png
index 97ba5e14238..9e44d7ac8ec 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Horizontal.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Horizontal.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Horizontal.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Horizontal.png
index b986b96efae..8454bca448f 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Horizontal.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Horizontal.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical.png
index f39f89062ed..abf8945efef 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical_Overflow.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical_Overflow.png
index 1952f59e591..a255506237c 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical_Overflow.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Large_Card_Vertical_Overflow.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Query_Builder_Vertical.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Query_Builder_Vertical.png
index 28046fe0066..9bdb40d7d34 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Query_Builder_Vertical.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Query_Builder_Vertical.png differ
diff --git a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Short_Card.png b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Short_Card.png
index 5e57e73c6c4..55832064d26 100644
Binary files a/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Short_Card.png and b/.loki/reference/chrome_laptop_viz_Legend_LegendLayout_Short_Card.png differ
diff --git a/.loki/reference/chrome_laptop_viz_LineChart_Goal_Line_Inside_Range_With_Data_Off_Screen.png b/.loki/reference/chrome_laptop_viz_LineChart_Goal_Line_Inside_Range_With_Data_Off_Screen.png
index 9bde21523dd..3e86fe39828 100644
Binary files a/.loki/reference/chrome_laptop_viz_LineChart_Goal_Line_Inside_Range_With_Data_Off_Screen.png and b/.loki/reference/chrome_laptop_viz_LineChart_Goal_Line_Inside_Range_With_Data_Off_Screen.png differ
diff --git a/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Above_Y_Axis_Max.png b/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Above_Y_Axis_Max.png
index d48698abaa3..8d2280fb605 100644
Binary files a/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Above_Y_Axis_Max.png and b/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Above_Y_Axis_Max.png differ
diff --git a/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Below_Y_Axis_Max.png b/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Below_Y_Axis_Max.png
index 0cd43241434..8f3c39787e1 100644
Binary files a/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Below_Y_Axis_Max.png and b/.loki/reference/chrome_laptop_viz_LineChart_Line_Just_Below_Y_Axis_Max.png differ
diff --git a/.loki/reference/chrome_laptop_viz_RowChart_Huge_Font.png b/.loki/reference/chrome_laptop_viz_RowChart_Huge_Font.png
index b60672c99f1..8d7cd5b4fff 100644
Binary files a/.loki/reference/chrome_laptop_viz_RowChart_Huge_Font.png and b/.loki/reference/chrome_laptop_viz_RowChart_Huge_Font.png differ
diff --git a/.loki/reference/chrome_laptop_viz_RowChart_Two_Metrics.png b/.loki/reference/chrome_laptop_viz_RowChart_Two_Metrics.png
index 7b7751b6bde..4bd2216b1c4 100644
Binary files a/.loki/reference/chrome_laptop_viz_RowChart_Two_Metrics.png and b/.loki/reference/chrome_laptop_viz_RowChart_Two_Metrics.png differ
diff --git a/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Clusters.png b/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Clusters.png
index 78adac7e41b..d313728746d 100644
Binary files a/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Clusters.png and b/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Clusters.png differ
diff --git a/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Expanded_Stack.png b/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Expanded_Stack.png
index 17fe2ce6105..ab4e65c403b 100644
Binary files a/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Expanded_Stack.png and b/.loki/reference/chrome_laptop_viz_TimelineEventsBand_Expanded_Stack.png differ
diff --git a/e2e/test/scenarios/question/native-query-drill.cy.spec.ts b/e2e/test/scenarios/question/native-query-drill.cy.spec.ts
index c5cd85fe445..0fb58a225a0 100644
--- a/e2e/test/scenarios/question/native-query-drill.cy.spec.ts
+++ b/e2e/test/scenarios/question/native-query-drill.cy.spec.ts
@@ -303,7 +303,7 @@ describe("scenarios > question > native query drill", () => {
H.visitQuestion("@questionId");
H.assertQueryBuilderRowCount(10);
- applyBrushFilter({ left: 200, right: 800 });
+ H.applyBrushToPoints(2, 5);
cy.wait("@dataset");
H.assertQueryBuilderRowCount(4);
});
@@ -324,9 +324,9 @@ describe("scenarios > question > native query drill", () => {
visitQuestion: true,
});
H.assertQueryBuilderRowCount(10);
- applyBrushFilter({ left: 200, right: 800 });
+ H.applyBrushToPoints(1, 6);
cy.wait("@dataset");
- H.assertQueryBuilderRowCount(5);
+ H.assertQueryBuilderRowCount(6);
});
it("coordinates brush filter", () => {
@@ -405,13 +405,6 @@ describe("scenarios > question > native query drill", () => {
});
});
-function applyBrushFilter({ left, right }: { left: number; right: number }) {
- H.ensureEchartsContainerHasSvg();
- cy.wait(100); // wait to avoid grabbing the svg before the chart redraws
-
- H.applyBrush(left, right);
-}
-
function applyBoxFilter({
top,
left,
diff --git a/e2e/test/scenarios/visualizations/charts/legend.cy.spec.js b/e2e/test/scenarios/visualizations/charts/legend.cy.spec.js
index a084b26d53a..ddc634030e8 100644
--- a/e2e/test/scenarios/visualizations/charts/legend.cy.spec.js
+++ b/e2e/test/scenarios/visualizations/charts/legend.cy.spec.js
@@ -269,7 +269,7 @@ describe("scenarios > visualizations > legend", () => {
H.echartsContainer().findByText("500").should("exist"); // max y-axis value
cy.findByText(/\+ \d+ more/).click();
});
- H.popover().within(() => hideSeries(29)); // TX (Texas);
+ H.popover().within(() => hideSeriesByName("TX"));
H.getDashboardCard(1).click(); // click outside of popover to close it
H.getDashboardCard(1).within(() =>
H.echartsContainer().findByText("500").should("not.exist"),
@@ -678,6 +678,13 @@ function showSeries(legendItemIndex) {
.click({ scrollBehavior: "nearest" });
}
+function hideSeriesByName(name) {
+ cy.findByText(name)
+ .closest("[data-testid=legend-item]")
+ .findByLabelText("Hide series")
+ .click({ scrollBehavior: "nearest" });
+}
+
function getPieChartLegendItemPercentage(sliceName) {
// ChartWithLegend actually renders two legend elements for visual balance
// https://github.com/metabase/metabase/blob/9053d6fe2b8a9500e67559d35d39259a8a87c4f6/frontend/src/metabase/visualizations/components/ChartWithLegend.jsx#L140
diff --git a/frontend/src/metabase/static-viz/components/ComboChart/stories/RowChart.stories.tsx b/frontend/src/metabase/static-viz/components/ComboChart/stories/RowChart.stories.tsx
index a458db640e1..25f0c24fcda 100644
--- a/frontend/src/metabase/static-viz/components/ComboChart/stories/RowChart.stories.tsx
+++ b/frontend/src/metabase/static-viz/components/ComboChart/stories/RowChart.stories.tsx
@@ -17,7 +17,7 @@ export default {
};
const Template: StoryFn<StaticChartProps> = (args) => {
- return <StaticVisualization {...args} />;
+ return <StaticVisualization {...args} isStorybook />;
};
export const Default = {
diff --git a/frontend/src/metabase/static-viz/lib/rendering-context.unit.spec.ts b/frontend/src/metabase/static-viz/lib/rendering-context.unit.spec.ts
index dae9a88e911..414d1c0fd47 100644
--- a/frontend/src/metabase/static-viz/lib/rendering-context.unit.spec.ts
+++ b/frontend/src/metabase/static-viz/lib/rendering-context.unit.spec.ts
@@ -20,7 +20,7 @@ describe("withCartesianChartSize", () => {
expect(renderingContext.theme.cartesian.axisTitle).toEqual({
fontSize: 12,
fontWeight: 700,
- marginX: 12,
+ marginX: 16,
marginY: 16,
});
});
diff --git a/frontend/src/metabase/visualizations/components/legend/Legend.tsx b/frontend/src/metabase/visualizations/components/legend/Legend.tsx
index f265a0c8dcb..fa5bceddae8 100644
--- a/frontend/src/metabase/visualizations/components/legend/Legend.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/Legend.tsx
@@ -10,7 +10,7 @@ import type { LegendItemData } from "./LegendItem";
import { LegendItem } from "./LegendItem";
import { LEGEND_PADDING } from "./constants";
import { getOverflowLabel } from "./measure";
-import { LEGEND_SIZES, type LegendSize } from "./sizes";
+import { LEGEND_SIZES, type LegendSizeTier } from "./sizes";
const POPOVER_BORDER = 1;
const POPOVER_PADDING = 8;
@@ -23,7 +23,7 @@ interface LegendProps {
visibleIndex?: number;
visibleLength?: number;
isVertical?: boolean;
- size?: LegendSize;
+ size?: LegendSizeTier;
onHoverChange?: (data?: HoveredObject | null) => void;
onSelectSeries?: (
event: React.MouseEvent,
@@ -42,7 +42,7 @@ export const Legend = ({
visibleIndex = 0,
visibleLength = originalItems.length,
isVertical,
- size = "sm",
+ size = "smallCard",
onHoverChange,
onSelectSeries,
getSeriesHref,
diff --git a/frontend/src/metabase/visualizations/components/legend/LegendItem.tsx b/frontend/src/metabase/visualizations/components/legend/LegendItem.tsx
index 545a4d56cfb..5a74dff9eae 100644
--- a/frontend/src/metabase/visualizations/components/legend/LegendItem.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/LegendItem.tsx
@@ -8,7 +8,7 @@ import * as Urls from "metabase/urls";
import S from "./LegendItem.module.css";
import { LegendItemDot } from "./LegendItemDot";
-import { LEGEND_SIZES, type LegendSize } from "./sizes";
+import { LEGEND_SIZES, type LegendSizeTier } from "./sizes";
// Before the real URL is computed, a non-empty href keeps the title a
// focusable link, so focusing it can trigger that computation.
@@ -24,7 +24,7 @@ export interface LegendItemData {
interface LegendItemProps {
className?: string;
item: LegendItemData;
- size?: LegendSize;
+ size?: LegendSizeTier;
index: number;
isMuted?: boolean;
isReversed?: boolean;
@@ -41,7 +41,7 @@ interface LegendItemProps {
const LegendItemInner = ({
className,
item,
- size = "sm",
+ size = "smallCard",
index,
isMuted,
isReversed,
diff --git a/frontend/src/metabase/visualizations/components/legend/LegendLayout.tsx b/frontend/src/metabase/visualizations/components/legend/LegendLayout.tsx
index 2bced45f21e..30ffb050660 100644
--- a/frontend/src/metabase/visualizations/components/legend/LegendLayout.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/LegendLayout.tsx
@@ -18,8 +18,12 @@ import { Legend } from "./Legend";
import { LegendActions } from "./LegendActions";
import type { LegendItemData } from "./LegendItem";
import S from "./LegendLayout.module.css";
-import { LEGEND_COLUMN_GAP, LEGEND_COLUMN_MARGIN_TOP } from "./constants";
-import { HIDDEN_LEGEND_LAYOUT, getLegendLayout } from "./layout";
+import {
+ HIDDEN_LEGEND_LAYOUT,
+ getLayoutPlacement,
+ getLegendLayout,
+ getLegendMargins,
+} from "./layout";
import { measureLegend } from "./measure";
import {
type ChartSize,
@@ -27,7 +31,7 @@ import {
getLegendPlots,
getPlotsWithoutAxes,
} from "./plots";
-import { LEGEND_SIZES, getLegendSize } from "./sizes";
+import { getLegendSizeTier } from "./sizes";
interface LegendLayoutProps {
className?: string;
@@ -62,6 +66,9 @@ interface LegendLayoutProps {
isReversed?: boolean;
}
+// a zero margin stays unset so the four sides are not folded into a shorthand
+const nonZero = (value?: number) => value || undefined;
+
export const LegendLayout = ({
className,
items,
@@ -86,7 +93,12 @@ export const LegendLayout = ({
}: LegendLayoutProps) => {
const hasDimensions = width > 0 && height > 0;
const canShowLegend = hasDimensions && hasLegend && legendPosition !== "off";
- const size = getLegendSize({ width, height, isQueryBuilder, isFullscreen });
+ const size = getLegendSizeTier({
+ width,
+ height,
+ isQueryBuilder,
+ isFullscreen,
+ });
const { rootRef, chartAreaRef, chartRoom } = useChartRoom(width, height);
const metrics = useMemo(
@@ -138,7 +150,14 @@ export const LegendLayout = ({
);
const isLegendBeforeChart = layout.type !== "hidden" && layout.isBeforeChart;
- const { rowChartGap } = LEGEND_SIZES[size];
+ const margins =
+ layout.type === "hidden"
+ ? null
+ : getLegendMargins(
+ size,
+ getLayoutPlacement(layout),
+ plots?.column.internalInset ?? { left: 0, right: 0 },
+ );
const legendProps = {
items,
@@ -156,10 +175,10 @@ export const LegendLayout = ({
justify="center"
flex="0 0 auto"
miw={0}
- mt={isLegendBeforeChart ? 0 : rowChartGap}
- mb={isLegendBeforeChart ? rowChartGap : 0}
- ml={Math.max(layout.indent, 0)}
- mr={Math.max(-layout.indent, 0)}
+ mt={nonZero(margins?.top)}
+ mb={nonZero(margins?.bottom)}
+ ml={Math.max(layout.indent, 0) + (margins?.left ?? 0)}
+ mr={Math.max(-layout.indent, 0) + (margins?.right ?? 0)}
data-testid="legend-horizontal"
>
<Legend {...legendProps} visibleLength={layout.visibleCount} />
@@ -171,9 +190,10 @@ export const LegendLayout = ({
className={cx(S.verticalLegend, CS.overflowHidden)}
flex="0 0 auto"
miw={0}
- mt={LEGEND_COLUMN_MARGIN_TOP}
- ml={isLegendBeforeChart ? 0 : LEGEND_COLUMN_GAP}
- mr={isLegendBeforeChart ? LEGEND_COLUMN_GAP : 0}
+ mt={nonZero(margins?.top)}
+ mb={nonZero(margins?.bottom)}
+ ml={nonZero(margins?.left)}
+ mr={nonZero(margins?.right)}
style={{ width: layout.width }}
data-testid="legend-vertical"
>
diff --git a/frontend/src/metabase/visualizations/components/legend/LegendLayout.unit.spec.tsx b/frontend/src/metabase/visualizations/components/legend/LegendLayout.unit.spec.tsx
index 1a19b298bfc..83296b3f0da 100644
--- a/frontend/src/metabase/visualizations/components/legend/LegendLayout.unit.spec.tsx
+++ b/frontend/src/metabase/visualizations/components/legend/LegendLayout.unit.spec.tsx
@@ -7,8 +7,8 @@ import type { LegendPosition } from "metabase-types/api";
import type { LegendItemData } from "./LegendItem";
import { LegendLayout } from "./LegendLayout";
-import { LEGEND_COLUMN_MARGIN_TOP } from "./constants";
import { MIN_LEGEND_CARD_WIDTH } from "./layout";
+import { LEGEND_SIZES } from "./sizes";
const CHAR_WIDTH = 6;
@@ -78,8 +78,8 @@ describe("LegendLayout", () => {
});
it("should render a vertical legend on a wide short card", () => {
- // row plot 900 x 70.2, column plot 822 x 100: 70.2 < 100 * 75%
- setup({ names: ["first", "second"], width: 900, height: 116 });
+ // row plot 900 x 74.2, column plot 822 x 100: 74.2 < 100 * 75%
+ setup({ names: ["first", "second"], width: 900, height: 100 });
const legend = screen.getByTestId("legend-vertical");
expect(within(legend).getAllByTestId("legend-item")).toHaveLength(2);
@@ -107,7 +107,7 @@ describe("LegendLayout", () => {
it("should show the hidden items behind a '+ N more' popover when rows overflow", async () => {
const names = Array.from({ length: 20 }, (_, i) => `series ${i}`);
- setup({ names, width: 420, height: 200 });
+ setup({ names, width: 420, height: 194 });
const legend = screen.getByTestId("legend-vertical");
expect(within(legend).getAllByTestId("legend-item")).toHaveLength(7);
@@ -223,7 +223,7 @@ describe("LegendLayout with an explicit position", () => {
setup({ names: ["first", "second"], legendPosition });
expect(screen.getByTestId("legend-vertical")).toHaveStyle({
- marginTop: rem(LEGEND_COLUMN_MARGIN_TOP),
+ marginTop: rem(LEGEND_SIZES.smallCard.contentMargin.rightLegend.top),
});
},
);
diff --git a/frontend/src/metabase/visualizations/components/legend/constants.ts b/frontend/src/metabase/visualizations/components/legend/constants.ts
index 01b8c0c9add..96169b70c0a 100644
--- a/frontend/src/metabase/visualizations/components/legend/constants.ts
+++ b/frontend/src/metabase/visualizations/components/legend/constants.ts
@@ -1,12 +1,6 @@
-import { CHART_STYLE } from "metabase/viz-core";
-
// DashCardVisualization measures the caption title with these, so they must match how LegendCaption renders it
export const LEGEND_LABEL_FONT_SIZE = "0.875rem";
export const LEGEND_LABEL_FONT_WEIGHT = 700;
// room for the focus outline of the legend items
export const LEGEND_PADDING = 2;
export const MIN_VISIBLE_COUNT = 1;
-// the horizontal space between a left or right legend and the chart
-export const LEGEND_COLUMN_GAP = 24;
-// a column's first item lines up with the top of a plot without value labels
-export const LEGEND_COLUMN_MARGIN_TOP = CHART_STYLE.padding.y - LEGEND_PADDING;
diff --git a/frontend/src/metabase/visualizations/components/legend/layout.ts b/frontend/src/metabase/visualizations/components/legend/layout.ts
index 13e95575bae..4b3c0a51d4c 100644
--- a/frontend/src/metabase/visualizations/components/legend/layout.ts
+++ b/frontend/src/metabase/visualizations/components/legend/layout.ts
@@ -1,11 +1,13 @@
import _ from "underscore";
+import type { Padding } from "metabase/viz-core";
import type { LegendPosition } from "metabase-types/api";
import { LEGEND_PADDING, MIN_VISIBLE_COUNT } from "./constants";
import { type LegendMetrics, getRowWidth } from "./measure";
-import { LEGEND_PLACEMENTS } from "./placement";
+import { LEGEND_PLACEMENTS, type LegendPlacement } from "./placement";
import type { ChartSize, LegendCandidates, Plot } from "./plots";
+import { LEGEND_SIZES, type LegendSizeTier } from "./sizes";
export const MIN_LEGEND_CARD_WIDTH = 420;
const AUTO_MIN_VISIBLE_COUNT = 2;
@@ -222,3 +224,38 @@ function getColumnLayout(
visibleCount: columnVisibleCount,
};
}
+
+const NO_MARGINS: Padding = { top: 0, right: 0, bottom: 0, left: 0 };
+
+/**
+ * The legend's margins at `placement`. The side facing the chart discounts the
+ * chart's internal inset on that same side, so the gap to the chart content
+ * stays constant.
+ */
+export const getLegendMargins = (
+ size: LegendSizeTier,
+ placement: LegendPlacement,
+ internalInset: Pick<Padding, "left" | "right">,
+): Padding => {
+ const { chartSide } = LEGEND_PLACEMENTS[placement];
+ const margins: Padding = {
+ ...NO_MARGINS,
+ ...LEGEND_SIZES[size].contentMargin[`${placement}Legend`],
+ };
+ if (placement === "left" || placement === "right") {
+ margins[chartSide] = Math.max(
+ margins[chartSide] - internalInset[placement],
+ 0,
+ );
+ }
+ return margins;
+};
+
+export const getLayoutPlacement = (
+ layout: Exclude<LegendLayoutResult, { type: "hidden" }>,
+): LegendPlacement => {
+ if (layout.type === "horizontal") {
+ return layout.isBeforeChart ? "top" : "bottom";
+ }
+ return layout.isBeforeChart ? "left" : "right";
+};
diff --git a/frontend/src/metabase/visualizations/components/legend/layout.unit.spec.ts b/frontend/src/metabase/visualizations/components/legend/layout.unit.spec.ts
index 00125a285b8..6928c080e22 100644
--- a/frontend/src/metabase/visualizations/components/legend/layout.unit.spec.ts
+++ b/frontend/src/metabase/visualizations/components/legend/layout.unit.spec.ts
@@ -1,21 +1,24 @@
import type { LegendPosition } from "metabase-types/api";
import type { LegendItemData } from "./LegendItem";
+import { LEGEND_PADDING } from "./constants";
import {
- LEGEND_COLUMN_GAP,
- LEGEND_COLUMN_MARGIN_TOP,
- LEGEND_PADDING,
-} from "./constants";
-import { MIN_LEGEND_CARD_WIDTH, getLegendLayout } from "./layout";
+ MIN_LEGEND_CARD_WIDTH,
+ getLegendLayout,
+ getLegendMargins,
+} from "./layout";
import { measureLegend } from "./measure";
import { type ChartSize, mapLegendCandidates } from "./plots";
-import { LEGEND_SIZES, type LegendSize } from "./sizes";
+import { LEGEND_SIZES, type LegendSizeTier } from "./sizes";
const CHAR_WIDTH = 6;
const MIN_PLOT_WIDTH = 150;
-const SM = LEGEND_SIZES.sm;
+const SM = LEGEND_SIZES.smallCard;
const ROW_HEIGHT =
- SM.fontSize * SM.lineHeight + SM.rowChartGap + LEGEND_PADDING * 2;
+ SM.fontSize * SM.lineHeight +
+ SM.contentMargin.bottomLegend.top +
+ SM.contentMargin.bottomLegend.bottom +
+ LEGEND_PADDING * 2;
const measureText = (text: string) => text.length * CHAR_WIDTH;
@@ -31,10 +34,10 @@ const getRowWidth = (names: string[]) =>
// the smallest card whose row holds every item without the y-axis indent
const getCardWidthForRow = (names: string[]) =>
- SM.horizontalPadding + LEGEND_PADDING * 2 + getRowWidth(names);
+ SM.horizontalClearance * 2 + LEGEND_PADDING * 2 + getRowWidth(names);
const getColumnSpace = (columnItemWidth: number) =>
- columnItemWidth + LEGEND_PADDING * 2 + LEGEND_COLUMN_GAP;
+ columnItemWidth + LEGEND_PADDING * 2 + SM.contentMargin.rightLegend.left;
const createSeriesNames = (count: number) =>
Array.from({ length: count }, (_, i) => `series ${i}`);
@@ -59,7 +62,7 @@ interface LayoutOpts {
width?: number;
height?: number;
chartAreaHeight?: number;
- size?: LegendSize;
+ size?: LegendSizeTier;
// the plot's y-axis indent at every size
indent?: number;
plotInset?: ChartSize;
@@ -76,7 +79,7 @@ const layout = (
width = 600,
height = 300,
chartAreaHeight,
- size = "sm",
+ size = "smallCard",
indent = 0,
plotInset = { width: 0, height: 0 },
minXAxisLabelsWidth = 0,
@@ -102,6 +105,7 @@ const layout = (
height: chart.height - plotInset.height,
hasXAxisLabels: chart.width >= minXAxisLabelsWidth,
indent,
+ internalInset: { left: 0, right: 0 },
}));
return getLegendLayout(metrics, { position, plots, alwaysVisible });
};
@@ -216,7 +220,7 @@ describe("getLegendLayout auto", () => {
width: 420,
height: 300,
chartRoom: { width: 420, height: 200 },
- size: "sm",
+ size: "smallCard",
fontFamily: "Lato",
measureText,
});
@@ -325,12 +329,12 @@ describe("getLegendLayout auto", () => {
// 25% of (900 - 32) = 217 > 200
expect(layout(names, { width: 900 })).toMatchObject({
type: "vertical",
- width: LEGEND_SIZES.sm.maxVerticalWidth + LEGEND_PADDING * 2,
+ width: LEGEND_SIZES.smallCard.maxVerticalWidth + LEGEND_PADDING * 2,
});
// 25% of (1200 - 48) = 288 > 256
- expect(layout(names, { width: 1200, size: "md" })).toMatchObject({
+ expect(layout(names, { width: 1200, size: "fullscreen" })).toMatchObject({
type: "vertical",
- width: LEGEND_SIZES.md.maxVerticalWidth + LEGEND_PADDING * 2,
+ width: LEGEND_SIZES.fullscreen.maxVerticalWidth + LEGEND_PADDING * 2,
});
});
@@ -366,13 +370,16 @@ describe("getLegendLayout auto", () => {
layout(createSeriesNames(20), {
width: 420,
height: 300,
- chartAreaHeight: LEGEND_COLUMN_MARGIN_TOP + 169,
+ chartAreaHeight:
+ SM.contentMargin.rightLegend.top +
+ SM.contentMargin.rightLegend.bottom +
+ 169,
}),
).toMatchObject({ type: "vertical", visibleCount: 7 });
});
it("should leave the column's top margin out of its rows", () => {
- // (169 - 10 - 2 + 8) / (13.8 + 8) = 7 rows, 6 items + "+ 14 more"
+ // (169 - 10 - 0 - 2 + 8) / (13.8 + 8) = 7 rows, 6 items + "+ 14 more"
expect(
layout(createSeriesNames(20), {
width: 420,
@@ -392,12 +399,14 @@ describe("getLegendLayout auto", () => {
});
});
- it("should use the larger metrics for the md size", () => {
+ it("should use the larger metrics for the fullscreen tier", () => {
const names = ["12345", "12345", "12345", "12345"];
// md: item = 14 + 8 + 30 = 52, 4 items + 3 * 16 = 256 <= 368
- expect(layout(names, { width: 420, size: "md" })).toEqual(row(4));
+ expect(layout(names, { width: 420, size: "fullscreen" })).toEqual(row(4));
// md: 8 items = 416 + 112 = 528 > 368
- expect(layout([...names, ...names], { width: 420, size: "md" })).toEqual({
+ expect(
+ layout([...names, ...names], { width: 420, size: "fullscreen" }),
+ ).toEqual({
type: "vertical",
isBeforeChart: false,
width: 56,
@@ -405,14 +414,17 @@ describe("getLegendLayout auto", () => {
});
});
- it("should use the roomier lg metrics for column rows", () => {
+ it("should use the roomier largeCard metrics for column rows", () => {
// (200 - 4 + 12) / (13.8 + 12) = 8 rows, 7 items + the overflow label
expect(
layout(createSeriesNames(20), {
width: 700,
height: 400,
- chartAreaHeight: LEGEND_COLUMN_MARGIN_TOP + 200,
- size: "lg",
+ chartAreaHeight:
+ LEGEND_SIZES.largeCard.contentMargin.rightLegend.top +
+ LEGEND_SIZES.largeCard.contentMargin.rightLegend.bottom +
+ 200,
+ size: "largeCard",
}),
).toMatchObject({ type: "vertical", visibleCount: 7 });
});
@@ -545,7 +557,7 @@ describe("getLegendLayout with an explicit position", () => {
const QUERY_BUILDER_ROW = {
width: 880,
indent: 73,
- size: "md" as const,
+ size: "fullscreen" as const,
};
// md item = 14 + 8 + 3 * 6 = 40, one item per 40 + 16 gap
const names = Array.from({ length: 49 }, (_, i) => `S${i + 10}`);
@@ -597,3 +609,54 @@ describe("getLegendLayout alwaysVisible", () => {
).toMatchObject({ visibleCount: 1 });
});
});
+
+describe("getLegendMargins", () => {
+ const NO_INSET = { left: 0, right: 0 };
+
+ it.each(["smallCard", "largeCard", "fullscreen"] as const)(
+ "should discount the chart's inset on the legend's own side for the %s tier",
+ (size) => {
+ const { contentMargin } = LEGEND_SIZES[size];
+
+ expect(getLegendMargins(size, "right", NO_INSET).left).toBe(
+ contentMargin.rightLegend.left,
+ );
+ expect(getLegendMargins(size, "right", { left: 20, right: 8 }).left).toBe(
+ contentMargin.rightLegend.left - 8,
+ );
+ expect(getLegendMargins(size, "left", { left: 8, right: 20 }).right).toBe(
+ contentMargin.leftLegend.right - 8,
+ );
+ },
+ );
+
+ it("should drop the margin to zero when the inset covers the content margin", () => {
+ const gap = LEGEND_SIZES.smallCard.contentMargin.rightLegend.left;
+
+ expect(
+ getLegendMargins("smallCard", "right", { left: 0, right: gap }).left,
+ ).toBe(0);
+ expect(
+ getLegendMargins("smallCard", "right", { left: 0, right: gap * 3 }).left,
+ ).toBe(0);
+ });
+
+ it("should apply a row's margins as configured, with zero on the sides it does not set", () => {
+ const { contentMargin } = LEGEND_SIZES.smallCard;
+
+ expect(
+ getLegendMargins("smallCard", "bottom", { left: 8, right: 8 }),
+ ).toEqual({
+ top: contentMargin.bottomLegend.top,
+ bottom: contentMargin.bottomLegend.bottom,
+ left: 0,
+ right: 0,
+ });
+ expect(getLegendMargins("fullscreen", "top", NO_INSET)).toEqual({
+ top: LEGEND_SIZES.fullscreen.contentMargin.topLegend.top,
+ bottom: LEGEND_SIZES.fullscreen.contentMargin.topLegend.bottom,
+ left: 0,
+ right: 0,
+ });
+ });
+});
diff --git a/frontend/src/metabase/visualizations/components/legend/measure.ts b/frontend/src/metabase/visualizations/components/legend/measure.ts
index e471972d693..dd0404b7c96 100644
--- a/frontend/src/metabase/visualizations/components/legend/measure.ts
+++ b/frontend/src/metabase/visualizations/components/legend/measure.ts
@@ -3,14 +3,13 @@ import { c } from "ttag";
import type { TextWidthMeasurer } from "metabase/utils/measure-text";
import type { LegendItemData } from "./LegendItem";
-import {
- LEGEND_COLUMN_GAP,
- LEGEND_COLUMN_MARGIN_TOP,
- LEGEND_PADDING,
- MIN_VISIBLE_COUNT,
-} from "./constants";
+import { LEGEND_PADDING, MIN_VISIBLE_COUNT } from "./constants";
import type { ChartSize, LegendCandidates } from "./plots";
-import { LEGEND_SIZES, type LegendSize, type LegendSizeConfig } from "./sizes";
+import {
+ LEGEND_SIZES,
+ type LegendSizeConfig,
+ type LegendSizeTier,
+} from "./sizes";
const LEGEND_FONT_WEIGHT = 400;
const MAX_VERTICAL_WIDTH_RATIO = 0.25;
@@ -22,7 +21,7 @@ export interface MeasureLegendOptions {
height: number;
// the room the chart shares with its legend, the same whichever legend shows
chartRoom?: ChartSize;
- size: LegendSize;
+ size: LegendSizeTier;
fontFamily: string;
measureText: TextWidthMeasurer;
isReversed?: boolean;
@@ -68,17 +67,14 @@ export function measureLegend({
measureText(item.name, font),
);
const dotWidth = getDotWidth(config);
- const availableWidth = width - config.horizontalPadding;
- const chartRoom = measuredChartRoom ?? {
- width,
- height: height - config.verticalPadding,
- };
+ const availableWidth = width - config.horizontalClearance * 2;
+ const chartRoom = measuredChartRoom ?? { width, height };
const itemWidths = labelWidths.map((labelWidth) => dotWidth + labelWidth);
const measureOverflowLabel = (overflowCount: number) =>
measureText(getOverflowLabel(overflowCount), font);
const columnFitCount = getColumnFitCount(
{ itemWidths, config },
- chartRoom.height - LEGEND_COLUMN_MARGIN_TOP,
+ chartRoom.height - getColumnMarginsHeight(config),
);
const columnVisibleCount = Math.max(columnFitCount, MIN_VISIBLE_COUNT);
const columnWidth = getColumnWidth(
@@ -97,7 +93,10 @@ export function measureLegend({
height: Math.max(chartRoom.height - getRowHeight(config), 0),
},
column: {
- width: Math.max(chartRoom.width - columnWidth - LEGEND_COLUMN_GAP, 0),
+ width: Math.max(
+ chartRoom.width - columnWidth - getColumnMarginsWidth(config),
+ 0,
+ ),
height: chartRoom.height,
},
},
@@ -117,8 +116,23 @@ export function measureLegend({
};
}
+// Auto weighs a bottom row and a right column, so their margins size the candidates
+const getRowMarginsHeight = ({ contentMargin }: LegendSizeConfig) =>
+ (contentMargin.bottomLegend.top ?? 0) +
+ (contentMargin.bottomLegend.bottom ?? 0);
+
+const getColumnMarginsWidth = ({ contentMargin }: LegendSizeConfig) =>
+ (contentMargin.rightLegend.left ?? 0) +
+ (contentMargin.rightLegend.right ?? 0);
+
+const getColumnMarginsHeight = ({ contentMargin }: LegendSizeConfig) =>
+ (contentMargin.rightLegend.top ?? 0) +
+ (contentMargin.rightLegend.bottom ?? 0);
+
const getRowHeight = (config: LegendSizeConfig) =>
- config.fontSize * config.lineHeight + config.rowChartGap + LEGEND_PADDING * 2;
+ config.fontSize * config.lineHeight +
+ getRowMarginsHeight(config) +
+ LEGEND_PADDING * 2;
const getDotWidth = (config: LegendSizeConfig) =>
config.dotSize + config.dotGap;
diff --git a/frontend/src/metabase/visualizations/components/legend/placement.ts b/frontend/src/metabase/visualizations/components/legend/placement.ts
index e90aef2021d..e90c1d7b5b0 100644
--- a/frontend/src/metabase/visualizations/components/legend/placement.ts
+++ b/frontend/src/metabase/visualizations/components/legend/placement.ts
@@ -1,3 +1,4 @@
+import type { Padding } from "metabase/viz-core";
import type { LegendPosition } from "metabase-types/api";
export type LegendPlacement = Exclude<LegendPosition, "auto" | "off">;
@@ -7,11 +8,13 @@ export type LegendOrientation = "horizontal" | "vertical";
interface LegendPlacementConfig {
orientation: LegendOrientation;
isBeforeChart: boolean;
+ // the legend's side that faces the chart
+ chartSide: keyof Padding;
}
export const LEGEND_PLACEMENTS = {
- top: { orientation: "horizontal", isBeforeChart: true },
- bottom: { orientation: "horizontal", isBeforeChart: false },
- left: { orientation: "vertical", isBeforeChart: true },
- right: { orientation: "vertical", isBeforeChart: false },
+ top: { orientation: "horizontal", isBeforeChart: true, chartSide: "bottom" },
+ bottom: { orientation: "horizontal", isBeforeChart: false, chartSide: "top" },
+ left: { orientation: "vertical", isBeforeChart: true, chartSide: "right" },
+ right: { orientation: "vertical", isBeforeChart: false, chartSide: "left" },
} as const satisfies Record<LegendPlacement, LegendPlacementConfig>;
diff --git a/frontend/src/metabase/visualizations/components/legend/plots.ts b/frontend/src/metabase/visualizations/components/legend/plots.ts
index 1715d7daf77..dbbd7969912 100644
--- a/frontend/src/metabase/visualizations/components/legend/plots.ts
+++ b/frontend/src/metabase/visualizations/components/legend/plots.ts
@@ -2,6 +2,7 @@ import {
type BaseCartesianChartModel,
type ChartLayoutInput,
type ComputedVisualizationSettings,
+ type Padding,
type RenderingContext,
getChartLayout,
getChartModelAtHeight,
@@ -17,6 +18,7 @@ export interface Plot extends ChartSize {
hasXAxisLabels: boolean;
// the left axes' width minus the right axes'
indent: number;
+ internalInset: Pick<Padding, "left" | "right">;
}
/** One value for each option Auto weighs: no legend, a row, or a column. */
@@ -61,7 +63,7 @@ export const getLegendPlots = (
chartSizes: LegendCandidates<ChartSize>,
): LegendCandidates<Plot> =>
mapLegendCandidates(chartSizes, ({ width, height }) => {
- const { padding, axisEnabledSetting } = getChartLayout(
+ const { padding, axisEnabledSetting, internalInset } = getChartLayout(
getLayoutInputAtHeight(chart, height),
chart.settings,
chart.hasTimelineEvents,
@@ -74,6 +76,7 @@ export const getLegendPlots = (
height: height - padding.top - padding.bottom,
hasXAxisLabels: axisEnabledSetting !== false,
indent: padding.left - padding.right,
+ internalInset,
};
});
@@ -84,4 +87,5 @@ export const getPlotsWithoutAxes = (
...size,
hasXAxisLabels: true,
indent: 0,
+ internalInset: { left: 0, right: 0 },
}));
diff --git a/frontend/src/metabase/visualizations/components/legend/plots.unit.spec.ts b/frontend/src/metabase/visualizations/components/legend/plots.unit.spec.ts
index 65c1700234b..5eb2436f4c3 100644
--- a/frontend/src/metabase/visualizations/components/legend/plots.unit.spec.ts
+++ b/frontend/src/metabase/visualizations/components/legend/plots.unit.spec.ts
@@ -12,7 +12,7 @@ import {
createMockVisualizationSettings,
} from "metabase-types/api/mocks";
-import { type LegendChart, getLegendPlots } from "./plots";
+import { type LegendChart, getLegendPlots, getPlotsWithoutAxes } from "./plots";
const CATEGORY_COUNT = 20;
const LABEL_WIDTH = 40;
@@ -87,6 +87,21 @@ describe("getLegendPlots", () => {
expect(plots.row.hasXAxisLabels).toBe(true);
expect(plots.column.hasXAxisLabels).toBe(false);
});
+
+ it("should pass the chart's internal inset through", () => {
+ expect(plots.none.internalInset.left).toBeGreaterThan(0);
+ expect(plots.none.internalInset.right).toBeGreaterThan(0);
+ expect(plots.row.internalInset).toEqual(plots.none.internalInset);
+ });
+});
+
+describe("getPlotsWithoutAxes", () => {
+ it("should report no internal inset", () => {
+ const size = { width: 600, height: 200 };
+ const plots = getPlotsWithoutAxes({ none: size, row: size, column: size });
+
+ expect(plots.none.internalInset).toEqual({ left: 0, right: 0 });
+ });
});
describe("getLegendPlots on a row chart", () => {
diff --git a/frontend/src/metabase/visualizations/components/legend/sizes.ts b/frontend/src/metabase/visualizations/components/legend/sizes.ts
index 4575c2517dc..d3856c6ef5c 100644
--- a/frontend/src/metabase/visualizations/components/legend/sizes.ts
+++ b/frontend/src/metabase/visualizations/components/legend/sizes.ts
@@ -1,4 +1,8 @@
-export type LegendSize = "sm" | "lg" | "md";
+import type { Padding } from "metabase/viz-core";
+
+import type { LegendPlacement } from "./placement";
+
+export type LegendSizeTier = "smallCard" | "largeCard" | "fullscreen";
export interface LegendSizeConfig {
typography: "sm" | "md";
@@ -8,15 +12,15 @@ export interface LegendSizeConfig {
dotGap: number;
itemGap: number;
rowGap: number;
- // the vertical space between a top or bottom legend and the chart
- rowChartGap: number;
maxVerticalWidth: number;
- horizontalPadding: number;
- verticalPadding: number;
+ // We discount internal chart paddings when calculating the final legends-chart gap
+ contentMargin: Record<`${LegendPlacement}Legend`, Partial<Padding>>;
+ // Tells the container to show '+N more' before the list gets too close to the edge
+ horizontalClearance: number;
}
export const LEGEND_SIZES = {
- sm: {
+ smallCard: {
typography: "sm",
fontSize: 12,
lineHeight: 1.15,
@@ -24,12 +28,16 @@ export const LEGEND_SIZES = {
dotGap: 6,
itemGap: 12,
rowGap: 8,
- rowChartGap: 12,
maxVerticalWidth: 200,
- horizontalPadding: 32,
- verticalPadding: 16,
+ contentMargin: {
+ topLegend: { top: 4, bottom: 4 },
+ bottomLegend: { top: 4, bottom: 4 },
+ leftLegend: { right: 24, top: 10, bottom: 0 },
+ rightLegend: { left: 24, top: 10, bottom: 0 },
+ },
+ horizontalClearance: 16,
},
- lg: {
+ largeCard: {
typography: "sm",
fontSize: 12,
lineHeight: 1.15,
@@ -37,12 +45,16 @@ export const LEGEND_SIZES = {
dotGap: 6,
itemGap: 12,
rowGap: 12,
- rowChartGap: 16,
maxVerticalWidth: 200,
- horizontalPadding: 80,
- verticalPadding: 76,
+ contentMargin: {
+ topLegend: { top: 4, bottom: 8 },
+ bottomLegend: { top: 12, bottom: 4 },
+ leftLegend: { right: 40, top: 10, bottom: 0 },
+ rightLegend: { left: 40, top: 10, bottom: 0, right: 6 },
+ },
+ horizontalClearance: 40,
},
- md: {
+ fullscreen: {
typography: "md",
fontSize: 14,
lineHeight: 1.22,
@@ -50,34 +62,38 @@ export const LEGEND_SIZES = {
dotGap: 8,
itemGap: 16,
rowGap: 16,
- rowChartGap: 24,
maxVerticalWidth: 256,
- horizontalPadding: 48,
- verticalPadding: 32,
+ contentMargin: {
+ topLegend: { bottom: 16, top: 8 },
+ bottomLegend: { top: 24 },
+ leftLegend: { right: 64, top: 10 },
+ rightLegend: { left: 64, right: 16, top: 10 },
+ },
+ horizontalClearance: 24,
},
-} as const satisfies Record<LegendSize, LegendSizeConfig>;
+} as const satisfies Record<LegendSizeTier, LegendSizeConfig>;
// mirrors the large card tier in visualizations/CartesianChart/sizing.ts
const LARGE_CARD_MIN_WIDTH = 640;
const LARGE_CARD_MIN_HEIGHT = 360;
-interface GetLegendSizeOptions {
+interface GetLegendSizeTierOptions {
width: number;
height: number;
isQueryBuilder?: boolean;
isFullscreen?: boolean;
}
-export const getLegendSize = ({
+export const getLegendSizeTier = ({
width,
height,
isQueryBuilder,
isFullscreen,
-}: GetLegendSizeOptions): LegendSize => {
+}: GetLegendSizeTierOptions): LegendSizeTier => {
if (isQueryBuilder || isFullscreen) {
- return "md";
+ return "fullscreen";
}
return width >= LARGE_CARD_MIN_WIDTH && height >= LARGE_CARD_MIN_HEIGHT
- ? "lg"
- : "sm";
+ ? "largeCard"
+ : "smallCard";
};
diff --git a/frontend/src/metabase/visualizations/components/legend/sizes.unit.spec.ts b/frontend/src/metabase/visualizations/components/legend/sizes.unit.spec.ts
index 631d3c243cc..02f383437c4 100644
--- a/frontend/src/metabase/visualizations/components/legend/sizes.unit.spec.ts
+++ b/frontend/src/metabase/visualizations/components/legend/sizes.unit.spec.ts
@@ -1,18 +1,18 @@
-import { getLegendSize } from "./sizes";
+import { getLegendSizeTier } from "./sizes";
-describe("getLegendSize", () => {
- it("should pick lg for large dashboard cards and sm otherwise", () => {
- expect(getLegendSize({ width: 640, height: 360 })).toBe("lg");
- expect(getLegendSize({ width: 639, height: 360 })).toBe("sm");
- expect(getLegendSize({ width: 640, height: 359 })).toBe("sm");
+describe("getLegendSizeTier", () => {
+ it("should pick largeCard for large dashboard cards and smallCard otherwise", () => {
+ expect(getLegendSizeTier({ width: 640, height: 360 })).toBe("largeCard");
+ expect(getLegendSizeTier({ width: 639, height: 360 })).toBe("smallCard");
+ expect(getLegendSizeTier({ width: 640, height: 359 })).toBe("smallCard");
});
- it("should always pick md in the query builder and fullscreen", () => {
+ it("should always pick fullscreen in the query builder and fullscreen mode", () => {
expect(
- getLegendSize({ width: 300, height: 200, isQueryBuilder: true }),
- ).toBe("md");
+ getLegendSizeTier({ width: 300, height: 200, isQueryBuilder: true }),
+ ).toBe("fullscreen");
expect(
- getLegendSize({ width: 2000, height: 900, isFullscreen: true }),
- ).toBe("md");
+ getLegendSizeTier({ width: 2000, height: 900, isFullscreen: true }),
+ ).toBe("fullscreen");
});
});
diff --git a/frontend/src/metabase/visualizations/hooks/use-browser-rendering-context.unit.spec.tsx b/frontend/src/metabase/visualizations/hooks/use-browser-rendering-context.unit.spec.tsx
index 72358091689..4d0ccc24e95 100644
--- a/frontend/src/metabase/visualizations/hooks/use-browser-rendering-context.unit.spec.tsx
+++ b/frontend/src/metabase/visualizations/hooks/use-browser-rendering-context.unit.spec.tsx
@@ -19,7 +19,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 11, fontWeight: 700, marginX: 8, marginY: 16 },
+ axisTitle: { fontSize: 11, fontWeight: 700, marginX: 12, marginY: 16 },
},
{
width: 299,
@@ -28,7 +28,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 11, fontWeight: 700, marginX: 8, marginY: 16 },
+ axisTitle: { fontSize: 11, fontWeight: 700, marginX: 12, marginY: 16 },
},
{
width: 1100,
@@ -37,7 +37,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 11, fontWeight: 700, marginX: 8, marginY: 16 },
+ axisTitle: { fontSize: 11, fontWeight: 700, marginX: 12, marginY: 16 },
},
{
width: 300,
@@ -46,7 +46,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 12, marginY: 16 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 16, marginY: 16 },
},
{
width: 639,
@@ -55,7 +55,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 12, marginY: 16 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 16, marginY: 16 },
},
{
width: 1100,
@@ -64,7 +64,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 12,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 12, marginY: 16 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 16, marginY: 16 },
},
{
width: 640,
@@ -73,7 +73,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 16,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 24, marginY: 24 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 20, marginY: 24 },
},
{
width: 899,
@@ -82,7 +82,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 16,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 24, marginY: 24 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 20, marginY: 24 },
},
{
width: 1100,
@@ -91,7 +91,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 12,
marginX: 10,
marginY: 16,
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 24, marginY: 24 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 20, marginY: 24 },
},
{
width: 900,
@@ -100,7 +100,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 14,
marginX: 14,
marginY: 24,
- axisTitle: { fontSize: 14, fontWeight: 700, marginX: 40, marginY: 40 },
+ axisTitle: { fontSize: 14, fontWeight: 700, marginX: 30, marginY: 40 },
},
{
width: 1270,
@@ -109,7 +109,7 @@ describe("useBrowserRenderingContext", () => {
fontSize: 14,
marginX: 14,
marginY: 24,
- axisTitle: { fontSize: 14, fontWeight: 700, marginX: 40, marginY: 40 },
+ axisTitle: { fontSize: 14, fontWeight: 700, marginX: 30, marginY: 40 },
},
])(
"uses $size styling for a $width by $height container",
diff --git a/frontend/src/metabase/visualizations/tests/timeseries-intervals.unit.spec.ts b/frontend/src/metabase/visualizations/tests/timeseries-intervals.unit.spec.ts
index 1532bc02013..90c52bde79d 100644
--- a/frontend/src/metabase/visualizations/tests/timeseries-intervals.unit.spec.ts
+++ b/frontend/src/metabase/visualizations/tests/timeseries-intervals.unit.spec.ts
@@ -473,6 +473,35 @@ describe("timeseries intervals", () => {
});
},
);
+
+ it("formats the representative labels of each unit once per formatter", () => {
+ const formatter = jest.fn(mockFormatter);
+ const xDomain: [number, number] = [
+ new Date("2026-01-01").getTime(),
+ new Date("2026-01-08").getTime(),
+ ];
+ const chartLayout = createMockChartLayout({
+ outerWidth: 400,
+ ticksDimensions: { getXTickWidth: () => 80 },
+ });
+
+ computeTimeseriesTicksInterval(
+ xDomain,
+ { unit: "hour", count: 1 },
+ chartLayout,
+ formatter,
+ );
+ const callsForOneSelection = formatter.mock.calls.length;
+ expect(callsForOneSelection).toBeGreaterThan(0);
+
+ computeTimeseriesTicksInterval(
+ xDomain,
+ { unit: "hour", count: 1 },
+ chartLayout,
+ formatter,
+ );
+ expect(formatter.mock.calls.length).toBe(callsForOneSelection);
+ });
});
describe("ensureResultsTimezone", () => {
diff --git a/frontend/src/metabase/viz-core/echarts/boxplot/option/index.unit.spec.ts b/frontend/src/metabase/viz-core/echarts/boxplot/option/index.unit.spec.ts
index b588f53cdaf..a60118f9ebe 100644
--- a/frontend/src/metabase/viz-core/echarts/boxplot/option/index.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/echarts/boxplot/option/index.unit.spec.ts
@@ -208,7 +208,7 @@ describe("responsive BoxPlot presentation", () => {
expect(layout.labelOverflow.top).toBeGreaterThan(0);
const adjustedPadding = {
...layout.adjustedPadding,
- top: layout.outerHeight - layout.adjustedPadding.bottom - 199,
+ top: layout.outerHeight - layout.adjustedPadding.bottom - 95,
};
const option = getBoxPlotOption(
model,
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.ts b/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.ts
index 75e3dc47f3c..47b34f64f96 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.ts
@@ -20,6 +20,7 @@ import type {
XAxisModel,
YAxisModel,
} from "../model/types";
+import { getTicksOptions } from "../option/ticks";
import { getPaddedAxisLabel } from "../option/utils";
import { getRowChartLayout } from "./row";
@@ -282,6 +283,8 @@ const getXAxisTicksHeight = (
};
const X_LABEL_HEIGHT_RATIO_THRESHOLD = 0.7; // x-axis labels cannot be taller than 70% of chart height
+// room for the min and max y-axis labels to render without overlapping
+const MIN_PLOT_HEIGHT_FONT_FACTOR = 2;
const X_LABEL_ROTATE_45_THRESHOLD_FACTOR = 2.1;
const X_LABEL_ROTATE_90_THRESHOLD_FACTOR = 1.2;
@@ -327,10 +330,38 @@ const getAutoAxisEnabledSetting = (
return false;
};
+// Prevent data labels from being rendered outside the chart
+const getTopLabelsHeight = (
+ settings: ComputedVisualizationSettings,
+ renderingContext: RenderingContext,
+) => {
+ const hasGoalLabel =
+ renderingContext.isStatic &&
+ settings["graph.show_goal"] &&
+ !!settings["graph.goal_label"];
+ if (!settings["graph.show_values"] && !hasGoalLabel) {
+ return 0;
+ }
+ return (
+ renderingContext.theme.cartesian.label.fontSize +
+ CHART_STYLE.seriesLabels.offset
+ );
+};
+
+const getXAxisTitleHeight = (
+ { xAxisModel }: ChartLayoutInput,
+ { theme }: RenderingContext,
+) => {
+ const { fontSize, marginX } = theme.cartesian.axisTitle;
+ return xAxisModel.label ? fontSize / 2 + marginX : 0;
+};
+
const getXTickWidthCap = (
+ input: ChartLayoutInput,
settings: ComputedVisualizationSettings,
autoAxisEnabledSetting: ComputedVisualizationSettings["graph.x_axis.axis_enabled"],
outerHeight: number,
+ renderingContext: RenderingContext,
) => {
if (
settings["graph.x_axis.scale"] !== "ordinal" &&
@@ -338,13 +369,28 @@ const getXTickWidthCap = (
) {
return Infinity;
}
- if (autoAxisEnabledSetting === "rotate-90") {
- return X_LABEL_HEIGHT_RATIO_THRESHOLD * outerHeight;
- }
- if (autoAxisEnabledSetting === "rotate-45") {
- return X_LABEL_HEIGHT_RATIO_THRESHOLD * outerHeight * Math.SQRT2;
+ if (
+ autoAxisEnabledSetting !== "rotate-90" &&
+ autoAxisEnabledSetting !== "rotate-45"
+ ) {
+ return Infinity;
}
- return Infinity;
+ const { fontSize, marginX } = renderingContext.theme.cartesian.ticks;
+ const fixedHeight =
+ CHART_STYLE.padding.y * 2 +
+ marginX +
+ getTopLabelsHeight(settings, renderingContext) +
+ getXAxisTitleHeight(input, renderingContext);
+ const maxLabelsHeight = Math.max(
+ Math.min(
+ X_LABEL_HEIGHT_RATIO_THRESHOLD * outerHeight,
+ outerHeight - fixedHeight - MIN_PLOT_HEIGHT_FONT_FACTOR * fontSize,
+ ),
+ 0,
+ );
+ return autoAxisEnabledSetting === "rotate-90"
+ ? maxLabelsHeight
+ : maxLabelsHeight * Math.SQRT2;
};
const X_TICKS_TO_MEASURE_COUNT = 50;
@@ -466,9 +512,11 @@ const getTicksDimensions = (
);
const xTickWidthCap = getXTickWidthCap(
+ input,
settings,
axisEnabledSetting,
outerHeight,
+ renderingContext,
);
ticksDimensions.xTickWidthCap = xTickWidthCap;
@@ -489,11 +537,15 @@ const getTicksDimensions = (
ticksDimensions.firstXTickWidth = firstXTickWidth;
ticksDimensions.lastXTickWidth = lastXTickWidth;
+ // labels the auto setting hides take no room, margin included
+ const labelsMargin = axisEnabledSetting
+ ? renderingContext.theme.cartesian.ticks.marginX
+ : 0;
ticksDimensions.xTicksHeight =
getXAxisTicksHeight(maxXTickWidth, axisEnabledSetting, renderingContext) +
(isTimeSeries && hasTimelineEvents
? CHART_STYLE.timelineEvents.height
- : renderingContext.theme.cartesian.ticks.marginX);
+ : labelsMargin);
ticksDimensions.getXTickWidth = (text: string) => {
if (axisEnabledSetting === "rotate-90") {
@@ -636,14 +688,9 @@ export const getCartesianChartPadding = (
chartWidth: number,
renderingContext: RenderingContext,
): Padding => {
- const { xAxisModel, leftAxisModel, rightAxisModel } = input;
- const { fontSize: seriesLabelFontSize } =
- renderingContext.theme.cartesian.label;
- const {
- fontSize: axisTitleFontSize,
- marginX,
- marginY,
- } = renderingContext.theme.cartesian.axisTitle;
+ const { leftAxisModel, rightAxisModel } = input;
+ const { fontSize: axisTitleFontSize, marginY } =
+ renderingContext.theme.cartesian.axisTitle;
const padding: Padding = {
top: CHART_STYLE.padding.y,
@@ -654,23 +701,12 @@ export const getCartesianChartPadding = (
// 1. Top Padding
- const hasGoalLabel =
- renderingContext.isStatic &&
- settings["graph.show_goal"] &&
- !!settings["graph.goal_label"];
-
- // Prevent data labels from being rendered outside the chart
- if (settings["graph.show_values"] || hasGoalLabel) {
- padding.top += seriesLabelFontSize + CHART_STYLE.seriesLabels.offset;
- }
+ padding.top += getTopLabelsHeight(settings, renderingContext);
// 2. Bottom Padding
- padding.bottom += ticksDimensions.xTicksHeight;
-
- if (xAxisModel.label) {
- padding.bottom += axisTitleFontSize / 2 + marginX;
- }
+ padding.bottom +=
+ ticksDimensions.xTicksHeight + getXAxisTitleHeight(input, renderingContext);
// 3. Side (Left and Right) Padding
@@ -711,6 +747,105 @@ export const getCartesianChartPadding = (
return padding;
};
+/**
+ * How far the outermost drawn x-axis labels reach past the plot's edges. A
+ * time series axis labels its tick grid, so its outermost labels can sit well
+ * inside the plot; other axes label their first and last values.
+ */
+const getDrawnXLabelsOverhang = (
+ input: ChartLayoutInput,
+ ticksDimensions: TicksDimensions,
+ axisEnabledSetting: ComputedVisualizationSettings["graph.x_axis.axis_enabled"],
+ chartWidth: number,
+ padding: Padding,
+): Pick<Padding, "left" | "right"> => {
+ const { xAxisModel } = input;
+ const plotWidth = chartWidth - padding.left - padding.right;
+ if (!axisEnabledSetting || plotWidth <= 0) {
+ return { left: 0, right: 0 };
+ }
+ if (isTimeSeriesAxis(xAxisModel)) {
+ const { customValues, xDomainPadded, formatter } = getTicksOptions(
+ xAxisModel,
+ { outerWidth: chartWidth, padding, ticksDimensions },
+ );
+ if (customValues != null && customValues.length > 0) {
+ const [axisMin, axisMax] = xDomainPadded;
+ const getX = (value: number) =>
+ ((value - axisMin) / (axisMax - axisMin)) * plotWidth;
+ const getHalfWidth = (value: number) => {
+ const label = formatter(
+ xAxisModel
+ .fromEChartsAxisValue(value)
+ .format("YYYY-MM-DDTHH:mm:ss[Z]"),
+ );
+ return ticksDimensions.getXTickWidth(getPaddedAxisLabel(label)) / 2;
+ };
+ const first = customValues[0];
+ const last = customValues[customValues.length - 1];
+ return {
+ left: Math.max(getHalfWidth(first) - getX(first), 0),
+ right: Math.max(getX(last) + getHalfWidth(last) - plotWidth, 0),
+ };
+ }
+ }
+ if (
+ axisEnabledSetting === "rotate-45" ||
+ axisEnabledSetting === "rotate-90"
+ ) {
+ return { left: 0, right: 0 };
+ }
+ const dimensionWidth = getDimensionWidth(input, plotWidth);
+ return {
+ left: Math.max(ticksDimensions.firstXTickWidth / 2 - dimensionWidth / 2, 0),
+ right: Math.max(ticksDimensions.lastXTickWidth / 2 - dimensionWidth / 2, 0),
+ };
+};
+
+export const getInternalInset = (
+ input: ChartLayoutInput,
+ settings: ComputedVisualizationSettings,
+ ticksDimensions: TicksDimensions,
+ axisEnabledSetting: ComputedVisualizationSettings["graph.x_axis.axis_enabled"],
+ chartWidth: number,
+ padding: Padding,
+ renderingContext: RenderingContext,
+): ChartLayout["internalInset"] => {
+ const { leftAxisModel, rightAxisModel } = input;
+ const { fontSize, marginY } = renderingContext.theme.cartesian.axisTitle;
+ const hasTicks = !!settings["graph.y_axis.axis_enabled"];
+ const getAxisWidth = (
+ axisModel: YAxisModel | null | undefined,
+ ticksWidth: number,
+ ) =>
+ (hasTicks ? ticksWidth : 0) + (axisModel?.label ? fontSize + marginY : 0);
+ const overhang = getDrawnXLabelsOverhang(
+ input,
+ ticksDimensions,
+ axisEnabledSetting,
+ chartWidth,
+ padding,
+ );
+ return {
+ left: Math.max(
+ padding.left -
+ Math.max(
+ getAxisWidth(leftAxisModel, ticksDimensions.yTicksWidthLeft),
+ overhang.left,
+ ),
+ 0,
+ ),
+ right: Math.max(
+ padding.right -
+ Math.max(
+ getAxisWidth(rightAxisModel, ticksDimensions.yTicksWidthRight),
+ overhang.right,
+ ),
+ 0,
+ ),
+ };
+};
+
const getDimensionWidth = (
{ xAxisModel }: ChartLayoutInput,
boundaryWidth: number,
@@ -921,6 +1056,15 @@ export const getChartLayout = (
return {
ticksDimensions,
padding,
+ internalInset: getInternalInset(
+ input,
+ settings,
+ ticksDimensions,
+ axisEnabledSetting,
+ width,
+ padding,
+ renderingContext,
+ ),
bounds,
boundaryWidth,
outerHeight: height,
@@ -1011,6 +1155,15 @@ const computeSplitPanelLayout = (
return {
ticksDimensions,
padding,
+ internalInset: getInternalInset(
+ singleAxisInput,
+ settings,
+ ticksDimensions,
+ axisEnabledSetting,
+ width,
+ padding,
+ renderingContext,
+ ),
bounds,
boundaryWidth,
outerHeight: height,
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.unit.spec.ts b/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.unit.spec.ts
index 0cddfa1d572..94e44543fb8 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/layout/index.unit.spec.ts
@@ -2,6 +2,7 @@ import {
createMockCartesianChartModel,
createMockSeriesModel,
} from "__support__/echarts";
+import { dayjs } from "metabase/dayjs";
import { DEFAULT_METABASE_COMPONENT_THEME } from "metabase/ui";
import {
createMockColumn,
@@ -230,6 +231,219 @@ describe("getChartLayout", () => {
);
});
+ it("exposes the internal inset that no axis content occupies", () => {
+ const chartContext = getChartContext();
+ const { fontSize, marginY } = chartContext.theme.cartesian.axisTitle;
+ const basePadding = {
+ left: CHART_STYLE.padding.x,
+ right: CHART_STYLE.padding.x,
+ };
+ const titledAxesInput = {
+ ...input,
+ leftAxisModel: { ...yAxisModel, label: "Price" },
+ rightAxisModel: { ...yAxisModel, label: "Price" },
+ };
+
+ const layout = getChartLayout(
+ input,
+ settings,
+ false,
+ 640,
+ 360,
+ chartContext,
+ );
+ expect(layout.internalInset).toEqual(basePadding);
+
+ const titledAxesLayout = getChartLayout(
+ titledAxesInput,
+ settings,
+ false,
+ 640,
+ 360,
+ chartContext,
+ );
+ expect(titledAxesLayout.padding.right).toBe(
+ CHART_STYLE.padding.x +
+ titledAxesLayout.ticksDimensions.yTicksWidthRight +
+ fontSize +
+ marginY,
+ );
+ expect(titledAxesLayout.internalInset).toEqual(basePadding);
+
+ const hiddenAxesLayout = getChartLayout(
+ titledAxesInput,
+ createMockVisualizationSettings({
+ ...settings,
+ "graph.y_axis.axis_enabled": false,
+ }),
+ false,
+ 640,
+ 360,
+ chartContext,
+ );
+ expect(hiddenAxesLayout.internalInset).toEqual({
+ left: CHART_STYLE.padding.x + CHART_STYLE.hiddenYAxisWidth,
+ right: CHART_STYLE.padding.x + CHART_STYLE.hiddenYAxisWidth,
+ });
+ });
+
+ it("leaves a drawn x-axis label's overhang out of the internal inset", () => {
+ const utc = (value: string) => dayjs.utc(value);
+ const getTimeSeriesInput = (last: string): ChartLayoutInput => ({
+ ...input,
+ xAxisModel: {
+ axisType: "time",
+ interval: { unit: "month", count: 1 },
+ intervalsCount: utc(last).diff(utc("2025-02-01"), "month"),
+ range: [utc("2025-02-01"), utc(last)],
+ formatter: (value) => utc(String(value)).format("MMMM YYYY"),
+ toEChartsAxisValue: (value) =>
+ utc(String(value)).format("YYYY-MM-DDTHH:mm:ss[Z]"),
+ fromEChartsAxisValue: (value) => dayjs.utc(value),
+ },
+ transformedDataset: [
+ { [X_AXIS_DATA_KEY]: "2025-02-01", price: 1200 },
+ { [X_AXIS_DATA_KEY]: last, price: 1800 },
+ ],
+ });
+ const chartContext: RenderingContext = {
+ ...getChartContext(),
+ measureText: (text) => (/\d{4}/.test(text) ? 80 : 20),
+ };
+ const timeSeriesSettings = createMockVisualizationSettings({
+ ...settings,
+ "graph.x_axis.axis_enabled": true,
+ "graph.x_axis.scale": "timeseries",
+ });
+ const getLayout = (last: string) =>
+ getChartLayout(
+ getTimeSeriesInput(last),
+ timeSeriesSettings,
+ false,
+ 480,
+ 300,
+ chartContext,
+ );
+
+ // The data ends on the January 2029 tick, so its label is drawn half a
+ // month from the plot's right edge and reaches into the reserved padding.
+ const drawn = getLayout("2029-01-01");
+ expect(drawn.internalInset.right).toBeGreaterThan(0);
+ expect(drawn.internalInset.right).toBeLessThan(CHART_STYLE.padding.x);
+
+ // The data ends in June, so the January label sits well inside the plot
+ // and the padding stays empty.
+ const inside = getLayout("2029-06-01");
+ expect(inside.internalInset.right).toBe(inside.padding.right);
+ });
+
+ const getSmallestCardLayout = ({
+ showValues = false,
+ xAxisTitle,
+ }: {
+ showValues?: boolean;
+ xAxisTitle?: string;
+ }) => {
+ const chartContext: RenderingContext = {
+ ...getChartContext(),
+ theme: getVisualizationTheme({
+ theme: DEFAULT_METABASE_COMPONENT_THEME,
+ cartesianSize: "small",
+ }),
+ measureText: (text) => text.length * 7,
+ };
+ const categories = ["Doohickey", "Gadget", "Gizmo", "Widget"];
+ const chartLayout = getChartLayout(
+ {
+ ...input,
+ xAxisModel: {
+ ...xAxisModel,
+ valuesCount: categories.length,
+ label: xAxisTitle,
+ },
+ transformedDataset: categories.map((category) => ({
+ [X_AXIS_DATA_KEY]: category,
+ price: 1500,
+ })),
+ },
+ createMockVisualizationSettings({
+ ...settings,
+ "graph.x_axis.axis_enabled": true,
+ "graph.x_axis.scale": "ordinal",
+ "graph.show_values": showValues,
+ }),
+ false,
+ 136,
+ 85,
+ chartContext,
+ );
+ const plotHeight =
+ chartLayout.outerHeight -
+ chartLayout.padding.top -
+ chartLayout.padding.bottom;
+ return { chartLayout, plotHeight, chartContext };
+ };
+
+ it.each([
+ { name: "nothing else", options: {} },
+ { name: "data labels", options: { showValues: true } },
+ { name: "an x-axis title", options: { xAxisTitle: "Category" } },
+ ])(
+ "keeps room for the min and max y-axis labels below rotated x-axis labels on the smallest card with $name",
+ ({ options }) => {
+ const { chartLayout, plotHeight, chartContext } =
+ getSmallestCardLayout(options);
+ const { fontSize } = chartContext.theme.cartesian.ticks;
+
+ expect(chartLayout.axisEnabledSetting).toBe("rotate-90");
+ expect(plotHeight).toBeGreaterThanOrEqual(fontSize * 2);
+ },
+ );
+
+ it("gives rotated x-axis labels no room once data labels and the x-axis title fill the smallest card", () => {
+ const { chartLayout, plotHeight, chartContext } = getSmallestCardLayout({
+ showValues: true,
+ xAxisTitle: "Category",
+ });
+
+ expect(chartLayout.ticksDimensions.xTickWidthCap).toBe(0);
+ expect(chartLayout.ticksDimensions.xTicksHeight).toBe(
+ chartContext.theme.cartesian.ticks.marginX,
+ );
+ expect(plotHeight).toBeGreaterThan(0);
+ });
+
+ it("reserves no room for x-axis labels the auto setting hides", () => {
+ const chartContext: RenderingContext = {
+ ...getChartContext(),
+ measureText: (text) => text.length * 7,
+ };
+ const states = Array.from({ length: 50 }, (_, index) => `State ${index}`);
+ const chartLayout = getChartLayout(
+ {
+ ...input,
+ xAxisModel: { ...xAxisModel, valuesCount: states.length },
+ transformedDataset: states.map((state) => ({
+ [X_AXIS_DATA_KEY]: state,
+ price: 1500,
+ })),
+ },
+ createMockVisualizationSettings({
+ ...settings,
+ "graph.x_axis.axis_enabled": true,
+ "graph.x_axis.scale": "ordinal",
+ }),
+ false,
+ 300,
+ 200,
+ chartContext,
+ );
+
+ expect(chartLayout.axisEnabledSetting).toBe(false);
+ expect(chartLayout.ticksDimensions.xTicksHeight).toBe(0);
+ expect(chartLayout.padding.bottom).toBe(CHART_STYLE.padding.y);
+ });
+
it("does not reserve padding for empty x- or y-axis titles", () => {
const chartContext = getChartContext();
const {
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/layout/row.ts b/frontend/src/metabase/viz-core/echarts/cartesian/layout/row.ts
index 20e7b3a6f24..720fdb37ecd 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/layout/row.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/layout/row.ts
@@ -13,7 +13,6 @@ import { CHART_STYLE } from "../constants/style";
import { getStackTotalValue } from "../model/series";
import type { LabelFormatter } from "../model/types";
import { getPaddedAxisLabel } from "../option/utils";
-import { ROW_CHART_STYLE } from "../row/constants";
import { getRowChartSpacing } from "../row/spacing";
import type { ChartLayout, TicksDimensions } from "./types";
@@ -224,17 +223,8 @@ export const getRowChartLayout = (
renderingContext,
);
- // Shrinks the grid so ECharts' centred bands land where visx's did.
- const bandPadding = ROW_CHART_STYLE.bandOuterPadding;
- const gridHeight = height - basePadding.top - basePadding.bottom;
- const legacyBandStep =
- gridHeight / (Math.max(getDataset(input).length, 1) + bandPadding);
- const outerInset = (bandPadding / 2) * legacyBandStep;
-
const padding = {
...basePadding,
- top: basePadding.top + outerInset,
- bottom: basePadding.bottom + outerInset,
left: basePadding.left + negativeDataLabelsInset,
};
@@ -243,6 +233,11 @@ export const getRowChartLayout = (
return {
ticksDimensions,
padding,
+ // category and value labels are content, so only the base padding is empty
+ internalInset: {
+ left: CHART_STYLE.padding.x,
+ right: CHART_STYLE.padding.x,
+ },
bounds,
negativeDataLabelsWidth: hasFixedMin ? 0 : dataLabelsWidths.negative,
negativeDataLabelsInset,
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/layout/types.ts b/frontend/src/metabase/viz-core/echarts/cartesian/layout/types.ts
index 2cb5a13b720..827e06886ad 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/layout/types.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/layout/types.ts
@@ -23,6 +23,8 @@ export interface ChartLayout {
negativeDataLabelsWidth?: number;
negativeDataLabelsInset?: number;
padding: Padding;
+ /** Empty space at the chart container's left and right edges, not `padding`. */
+ internalInset: Pick<Padding, "left" | "right">;
ticksDimensions: TicksDimensions;
bounds: ChartBoundsCoords;
boundaryWidth: number;
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/option/axis.unit.spec.ts b/frontend/src/metabase/viz-core/echarts/cartesian/option/axis.unit.spec.ts
index d21a23c1d28..3ce9f8401dc 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/option/axis.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/option/axis.unit.spec.ts
@@ -35,7 +35,7 @@ const axisModel: YAxisModel = {
};
function setup({
- height = 199,
+ height = 95,
model = axisModel,
settings = createMockVisualizationSettings({
"graph.y_axis.axis_enabled": true,
@@ -81,13 +81,11 @@ function setup({
describe("responsive Y-axis ticks", () => {
it.each([
- { height: 199, labels: [0, 100], gridlines: [0, 50, 100] },
- { height: 200, labels: [0, 50, 100], gridlines: [0, 50, 100] },
+ { height: 95, labels: [0, 100], gridlines: [0, 50, 100] },
+ { height: 96, labels: [0, 50, 100], gridlines: [0, 50, 100] },
{ height: 299, labels: [0, 50, 100], gridlines: [0, 50, 100] },
- { height: 300, labels: [0, 50, 100], gridlines: [0, 25, 50, 75, 100] },
- { height: 399, labels: [0, 50, 100], gridlines: [0, 25, 50, 75, 100] },
{
- height: 400,
+ height: 300,
labels: [0, 25, 50, 75, 100],
gridlines: [0, 25, 50, 75, 100],
},
@@ -185,7 +183,7 @@ describe("responsive Y-axis ticks", () => {
it("uses the individual panel height for split charts", () => {
const { yAxis } = setup({
height: 800,
- panelHeight: 199,
+ panelHeight: 95,
chartModelOptions: { splitPanelYAxisModels: [axisModel] },
});
expect(yAxis[0].axisLabel?.customValues).toEqual([0, 100]);
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/option/index.unit.spec.ts b/frontend/src/metabase/viz-core/echarts/cartesian/option/index.unit.spec.ts
index 0064e6555ed..5e8723fc970 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/option/index.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/option/index.unit.spec.ts
@@ -368,11 +368,11 @@ describe("row chart bands", () => {
}
});
- it("keeps 20% of a band clear above the first bar, like the legacy renderer", () => {
+ it("keeps half of the category gap clear above the first bar", () => {
const { bars, pitch } = renderRowChartBars();
// With no goal label, the plot starts at the base top padding.
- expect((bars[0].top - CHART_STYLE.padding.y) / pitch).toBeCloseTo(0.2, 2);
+ expect((bars[0].top - CHART_STYLE.padding.y) / pitch).toBeCloseTo(0.1, 2);
});
it("draws near-zero bars at least 1px long", () => {
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/option/ticks.ts b/frontend/src/metabase/viz-core/echarts/cartesian/option/ticks.ts
index a79afdd072e..0de879afc17 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/option/ticks.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/option/ticks.ts
@@ -30,7 +30,7 @@ export const getPadding = (intervalsCount: number) => {
export const getTicksOptions = (
xAxisModel: TimeSeriesXAxisModel & Pick<WaterfallXAxisModel, "totalXValue">,
- chartLayout: ChartLayout,
+ chartLayout: Pick<ChartLayout, "outerWidth" | "padding" | "ticksDimensions">,
) => {
const { range, toEChartsAxisValue, interval, intervalsCount, totalXValue } =
xAxisModel;
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.ts b/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.ts
index 6e6b83dcf8a..e1c66861059 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.ts
@@ -25,12 +25,8 @@ export function getResponsiveYAxisTicks(
const gridlines = Array.from({ length: segments + 1 }, (_, index) =>
index === segments ? max : min + ((max - min) * index) / segments,
);
- const labelInterval =
- height < PLOT_HEIGHT_BREAKPOINTS.small ||
- (height >= PLOT_HEIGHT_BREAKPOINTS.medium &&
- height < PLOT_HEIGHT_BREAKPOINTS.large)
- ? 2
- : 1;
+ // the smallest plots label their min and max gridlines only
+ const labelInterval = height < PLOT_HEIGHT_BREAKPOINTS.small ? 2 : 1;
return {
...axis,
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.unit.spec.ts b/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.unit.spec.ts
index bccba19c0e1..5aa02d3f9f9 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/option/y-axis-ticks.unit.spec.ts
@@ -35,12 +35,10 @@ describe.each(scenarios)(
"responsive Y-axis ticks with $name",
({ extent, axis }) => {
it.each([
- [199, 2, 3],
- [200, 3, 3],
+ [95, 2, 3],
+ [96, 3, 3],
[299, 3, 3],
- [300, 3, 5],
- [399, 3, 5],
- [400, 5, 5],
+ [300, 5, 5],
])("renders %ipx density", (height, labelCount, lineCount) => {
const baseAxis = {
type: "value" as const,
@@ -100,7 +98,7 @@ describe.each(scenarios)(
},
);
-it("uses the specified quarter and midpoint ticks for a zero to 100 range", () => {
+it("labels every quarter tick of a zero to 100 range from the medium plot height", () => {
const axis = getResponsiveYAxisTicks(
[0, 100],
{ type: "value", splitNumber: 5 },
@@ -108,6 +106,17 @@ it("uses the specified quarter and midpoint ticks for a zero to 100 range", () =
);
expect(axis.axisTick?.customValues).toEqual([0, 25, 50, 75, 100]);
- expect(axis.axisLabel?.customValues).toEqual([0, 50, 100]);
+ expect(axis.axisLabel?.customValues).toEqual([0, 25, 50, 75, 100]);
expect(axis.minorSplitLine?.show).toBe(false);
});
+
+it("labels the min and max ticks only below the small plot height", () => {
+ const axis = getResponsiveYAxisTicks(
+ [0, 100],
+ { type: "value", splitNumber: 5 },
+ 95,
+ );
+
+ expect(axis.axisTick?.customValues).toEqual([0, 50, 100]);
+ expect(axis.axisLabel?.customValues).toEqual([0, 100]);
+});
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/row/constants.ts b/frontend/src/metabase/viz-core/echarts/cartesian/row/constants.ts
index 75ea3429eea..e3a364f089c 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/row/constants.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/row/constants.ts
@@ -1,4 +1,3 @@
export const ROW_CHART_STYLE = {
barCategoryGap: "20%",
- bandOuterPadding: 0.2,
} as const;
diff --git a/frontend/src/metabase/viz-core/echarts/cartesian/utils/timeseries.ts b/frontend/src/metabase/viz-core/echarts/cartesian/utils/timeseries.ts
index 20a42cd1816..59b45b620e7 100644
--- a/frontend/src/metabase/viz-core/echarts/cartesian/utils/timeseries.ts
+++ b/frontend/src/metabase/viz-core/echarts/cartesian/utils/timeseries.ts
@@ -326,7 +326,7 @@ export function expectedTickCount(
export function computeTimeseriesTicksInterval(
xDomain: Extent,
xInterval: TimeSeriesInterval,
- chartLayout: ChartLayout,
+ chartLayout: Pick<ChartLayout, "outerWidth" | "padding" | "ticksDimensions">,
formatter: TimeSeriesAxisFormatter,
) {
const minTickCount = 2;
@@ -352,8 +352,7 @@ export function computeTimeseriesTicksInterval(
const interval = TICKS_TIMESERIES_INTERVALS[i];
const maxTickCount = maxTicksForChartWidth(
chartLayout,
- interval.unit,
- getFormatter(formatter, xInterval.unit, interval.unit),
+ getLongestTickLabel(formatter, xInterval.unit, interval.unit),
);
const intervalTicksCount = expectedTickCount(
interval,
@@ -391,25 +390,50 @@ export function getFormatter(
return formatter;
}
-function maxTicksForChartWidth(
- chartLayout: ChartLayout,
- unit: CartesianChartDateTimeAbsoluteUnit,
+// A chart lays out several times (legend candidates, final layout, axis
+// options), so the longest representative label of each unit pair is kept per formatter
+const longestTickLabels = new WeakMap<
+ TimeSeriesAxisFormatter,
+ Map<string, string>
+>();
+
+function getLongestTickLabel(
formatter: TimeSeriesAxisFormatter,
+ dataUnit: CartesianChartDateTimeAbsoluteUnit,
+ chartUnit: CartesianChartDateTimeAbsoluteUnit,
+): string {
+ let labelsByUnit = longestTickLabels.get(formatter);
+ if (labelsByUnit == null) {
+ labelsByUnit = new Map();
+ longestTickLabels.set(formatter, labelsByUnit);
+ }
+ const key = `${dataUnit}/${chartUnit}`;
+ const cachedLabel = labelsByUnit.get(key);
+ if (cachedLabel != null) {
+ return cachedLabel;
+ }
+ const unitFormatter = getFormatter(formatter, dataUnit, chartUnit);
+ const longestLabel = getRepresentativeDates(chartUnit)
+ .map((date) => getPaddedAxisLabel(unitFormatter(date)))
+ .reduce((longest, label) =>
+ label.length > longest.length ? label : longest,
+ );
+ labelsByUnit.set(key, longestLabel);
+ return longestLabel;
+}
+
+function maxTicksForChartWidth(
+ chartLayout: Pick<ChartLayout, "outerWidth" | "padding" | "ticksDimensions">,
+ longestLabel: string,
) {
const availableWidth =
chartLayout.outerWidth -
chartLayout.padding.left -
chartLayout.padding.right;
const TICK_BUFFER_PIXELS = 4;
- const representativeDates = getRepresentativeDates(unit).map((date) =>
- getPaddedAxisLabel(formatter(date)),
- );
- const longestDate = representativeDates.reduce((longest, date) => {
- return date.length > longest.length ? date : longest;
- });
- const longestDateWidth =
- chartLayout.ticksDimensions.getXTickWidth(longestDate);
- return Math.floor(availableWidth / (longestDateWidth + TICK_BUFFER_PIXELS));
+ const longestLabelWidth =
+ chartLayout.ticksDimensions.getXTickWidth(longestLabel);
+ return Math.floor(availableWidth / (longestLabelWidth + TICK_BUFFER_PIXELS));
}
/**
diff --git a/frontend/src/metabase/viz-core/shared/constants/layout.ts b/frontend/src/metabase/viz-core/shared/constants/layout.ts
index ca89243ac10..2bd5b0e95e6 100644
--- a/frontend/src/metabase/viz-core/shared/constants/layout.ts
+++ b/frontend/src/metabase/viz-core/shared/constants/layout.ts
@@ -1,8 +1,7 @@
/** Minimum plot dimensions in pixels, excluding card chrome and axis padding. */
export const PLOT_HEIGHT_BREAKPOINTS = {
- small: 200,
+ small: 96,
medium: 300,
- large: 400,
} as const;
export const CARTESIAN_CHART_BREAKPOINTS = {
diff --git a/frontend/src/metabase/viz-core/shared/settings-adjustments.ts b/frontend/src/metabase/viz-core/shared/settings-adjustments.ts
index 966e4103e3e..3828539fda0 100644
--- a/frontend/src/metabase/viz-core/shared/settings-adjustments.ts
+++ b/frontend/src/metabase/viz-core/shared/settings-adjustments.ts
@@ -16,11 +16,6 @@ interface Threshold {
pixelHeight?: number;
}
-const HIDE_Y_AXIS_THRESHOLD: Threshold = {
- gridHeight: 4,
- pixelHeight: 150,
-};
-
const HIDE_AXIS_LABELS_THRESHOLD: Threshold = {
gridWidth: 12,
gridHeight: 6,
@@ -87,10 +82,6 @@ export const getSizeAdjustedSettings = ({
adjusted["graph.x_axis.labels_enabled"] = !shouldHideAxisLabels;
}
- if (isBelowThreshold(HIDE_Y_AXIS_THRESHOLD, width, height, gridSize)) {
- adjusted["graph.y_axis.axis_enabled"] = false;
- }
-
if (
height <= HIDE_TIMELINE_EVENTS_HEIGHT_THRESHOLD ||
width <= HIDE_TIMELINE_EVENTS_WIDTH_THRESHOLD
diff --git a/frontend/src/metabase/viz-core/shared/settings-adjustments.unit.spec.ts b/frontend/src/metabase/viz-core/shared/settings-adjustments.unit.spec.ts
index 5ff386281a5..771faed039d 100644
--- a/frontend/src/metabase/viz-core/shared/settings-adjustments.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/shared/settings-adjustments.unit.spec.ts
@@ -43,18 +43,20 @@ describe("getSizeAdjustedSettings", () => {
},
);
- it.each([
- { height: 149, expected: false },
- { height: 150, expected: undefined },
- ])("hides the y-axis at height $height", ({ height, expected }) => {
- const settings = getSizeAdjustedSettings({
- settings: createMockVisualizationSettings(),
- width: 800,
- height,
- });
+ it.each([60, 149, 150])(
+ "keeps the y-axis gridlines enabled at height %i",
+ (height) => {
+ const settings = getSizeAdjustedSettings({
+ settings: createMockVisualizationSettings({
+ "graph.y_axis.axis_enabled": true,
+ }),
+ width: 800,
+ height,
+ });
- expect(settings["graph.y_axis.axis_enabled"]).toBe(expected);
- });
+ expect(settings["graph.y_axis.axis_enabled"]).toBe(true);
+ },
+ );
});
describe("gridSize", () => {
@@ -113,23 +115,6 @@ describe("getSizeAdjustedSettings", () => {
expect(settings["line.interpolate"]).toBe(expected);
},
);
-
- it.each([
- { gridSize: { width: 12, height: 3 }, expected: false },
- { gridSize: { width: 12, height: 4 }, expected: undefined },
- ])(
- "hides the y-axis at grid height $gridSize.height",
- ({ gridSize, expected }) => {
- const settings = getSizeAdjustedSettings({
- settings: createMockVisualizationSettings(),
- width: 800,
- height: 400,
- gridSize,
- });
-
- expect(settings["graph.y_axis.axis_enabled"]).toBe(expected);
- },
- );
});
it.each([true, false] as const)(
diff --git a/frontend/src/metabase/viz-core/shared/utils/theme.ts b/frontend/src/metabase/viz-core/shared/utils/theme.ts
index 24cb7513607..5afe270cad5 100644
--- a/frontend/src/metabase/viz-core/shared/utils/theme.ts
+++ b/frontend/src/metabase/viz-core/shared/utils/theme.ts
@@ -39,10 +39,10 @@ const CARTESIAN_AXIS_TITLE: Record<
CartesianChartSize,
VisualizationTheme["cartesian"]["axisTitle"]
> = {
- small: { fontSize: 11, fontWeight: 700, marginX: 8, marginY: 16 },
- medium: { fontSize: 12, fontWeight: 700, marginX: 12, marginY: 16 },
- large: { fontSize: 12, fontWeight: 700, marginX: 24, marginY: 24 },
- fullscreen: { fontSize: 14, fontWeight: 700, marginX: 40, marginY: 40 },
+ small: { fontSize: 11, fontWeight: 700, marginX: 12, marginY: 16 },
+ medium: { fontSize: 12, fontWeight: 700, marginX: 16, marginY: 16 },
+ large: { fontSize: 12, fontWeight: 700, marginX: 20, marginY: 24 },
+ fullscreen: { fontSize: 14, fontWeight: 700, marginX: 30, marginY: 40 },
};
export function getCartesianChartSize(size?: {
diff --git a/frontend/src/metabase/viz-core/shared/utils/theme.unit.spec.ts b/frontend/src/metabase/viz-core/shared/utils/theme.unit.spec.ts
index 654b0d07fba..cb9eb6f7520 100644
--- a/frontend/src/metabase/viz-core/shared/utils/theme.unit.spec.ts
+++ b/frontend/src/metabase/viz-core/shared/utils/theme.unit.spec.ts
@@ -7,22 +7,22 @@ describe("Cartesian tick and axis title styling", () => {
{
cartesianSize: "small",
ticks: { fontSize: 12, marginX: 10, marginY: 12 },
- axisTitle: { fontSize: 11, fontWeight: 700, marginX: 8, marginY: 16 },
+ axisTitle: { fontSize: 11, fontWeight: 700, marginX: 12, marginY: 16 },
},
{
cartesianSize: "medium",
ticks: { fontSize: 12, marginX: 10, marginY: 12 },
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 12, marginY: 16 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 16, marginY: 16 },
},
{
cartesianSize: "large",
ticks: { fontSize: 12, marginX: 10, marginY: 16 },
- axisTitle: { fontSize: 12, fontWeight: 700, marginX: 24, marginY: 24 },
+ axisTitle: { fontSize: 12, fontWeight: 700, marginX: 20, marginY: 24 },
},
{
cartesianSize: "fullscreen",
ticks: { fontSize: 14, marginX: 14, marginY: 24 },
- axisTitle: { fontSize: 14, fontWeight: 700, marginX: 40, marginY: 40 },
+ axisTitle: { fontSize: 14, fontWeight: 700, marginX: 30, marginY: 40 },
},
] as const)(
"uses the specified values for $cartesianSize charts",
@@ -75,7 +75,7 @@ describe("Cartesian tick and axis title styling", () => {
expect(DEFAULT_VISUALIZATION_THEME.cartesian.axisTitle).toEqual({
fontSize: 14,
fontWeight: 700,
- marginX: 40,
+ marginX: 30,
marginY: 40,
});
expect(
diff --git a/frontend/test/__support__/echarts.ts b/frontend/test/__support__/echarts.ts
index 898582ea507..254bfb44221 100644
--- a/frontend/test/__support__/echarts.ts
+++ b/frontend/test/__support__/echarts.ts
@@ -26,6 +26,7 @@ export const createMockChartLayout = (
outerHeight: 0,
outerWidth: 800,
padding: { top: 0, left: 0, bottom: 0, right: 0, ...padding },
+ internalInset: { left: 0, right: 0 },
bounds: { top: 0, left: 0, bottom: 0, right: 0, ...bounds },
ticksDimensions: {
yTicksWidthLeft: 0,