Skip to content

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

update Echarts to 6.1.0 (#75139)

Nick Fitzpatrick6bf214f2c23e
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 581d8df8115..2d6e4b2b409 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_Bar_Auto_Formatting_Compact.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Auto_Formatting_Compact.png
index 21187604f66..d34b92a3778 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 c76011bb15c..e4a2b531b52 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 254118fde40..655af993868 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 6c3a0e7cbae..919592f1a85 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 133dfc38270..70d04229e43 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 c41feddce4a..7ad6c827b28 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_Linear_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Linear_X_Scale.png
index c5c3d536738..fc771663219 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_Max_Categories_Default.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Max_Categories_Default.png
index c2949c9efcf..7dd31a499b0 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 c27ccf76b1e..b6643fc64d9 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 3e3d8831853..69641b41170 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 a26dbe9fa48..97cc84e2c38 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 a01a4de8c46..2600c70162e 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_Stack_Linear_X_Axis.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stack_Linear_X_Axis.png
index 9c35dd9108b..891ec2ffd29 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 6a98cd73381..349149817c7 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_Normalized_Goal_Line_51054.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Normalized_Goal_Line_51054.png
index c932bf39a3c..9bf001323dc 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 f783e6f9706..d9efb4e788c 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_Series_Labels_And_Totals.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_And_Totals.png
index fc74dc3cae1..1440644baac 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_Auto_Compactness.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Bar_Stacked_Series_Labels_Auto_Compactness.png
index e4ab88b410c..03ca3b3d431 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 fa573c704ab..ef026412da5 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 f173a1a249f..cd22707d1b3 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 9b36432a3a5..3eaa7a87e16 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 ce405d5d4a0..a3f83301dfc 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 aeeb33f3909..e6f6b168353 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 00114555a2b..882f8054e99 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 c3424c8b561..c68af212f64 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 82679eb1efc..7645e1f3fa3 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_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 087bff40652..39dabe658a8 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_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 71f256b5fc9..884617cd9e6 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 52b289e909d..8df66b2f666 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 5a8ee186d13..5f0b44eae2c 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_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 6eb4183da30..6c6b21b49ed 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_Image_Cut_Off_37275.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Image_Cut_Off_37275.png
index f1bddbe7346..b91c273af7b 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_Offset_Based_Timezone_47835.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Offset_Based_Timezone_47835.png
index 5fe8949e929..2d534b9304a 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_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 42d7de6df55..1668f194c27 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 b1b4026f304..b6dbd3695a9 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_Trend_Combo.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Combo.png
index 958df622f61..c3e187762e3 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 8d2b21d9373..e78d6ee6ef3 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 d6e9fedc20c..f7f68b4876f 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_Multi_Series_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Bar.png
index 2ab6b370176..a666fb0106e 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_Normalized_Stacked_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Normalized_Stacked_Bar.png
index c057bbb2b0a..3531e30b7ed 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_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Multi_Series_Stacked_Bar.png
index 87b7f55c9f5..f10f264bb09 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_Bar.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Trend_Single_Series_Bar.png
index 671ccc58a64..5d6e9343009 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_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 e1277053fd4..88eb2a1e200 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 208695d1908..1827aae5cb9 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 a4d2d03ea7e..bfcf34a8e9a 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 f803fc67f52..e9705ebb856 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_Watermark.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Watermark.png
index 48c6859f032..5cacead37e8 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_Y_Axis_Compact_Without_Data_Labels.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_ComboChart_Y_Axis_Compact_Without_Data_Labels.png
index 380aca87009..09e73fd85a2 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_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 ea96d4762c0..1befd95d499 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_Timeseries.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Data_Labels_Timeseries.png
index 2d8bb239ab4..9cdb2195acf 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 ea7de7e640a..0203983f1be 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 c50edae3048..1a89b204f93 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 48de17754e1..89847da13ef 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 6bfa2f3991f..e4b538a7cd0 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_Native_Time_Series_Quarter.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Native_Time_Series_Quarter.png
index f7980cae0b3..da2bd5f3167 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 9eb8a07a1ef..5943180d726 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 f0e34a67a80..8d11137afa7 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_Nulls.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Nulls.png
index 02ef0f2ee6a..c99f09408e5 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_Pow_Y_Scale_Negative_Only.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Pow_Y_Scale_Negative_Only.png
index 6bfa2f3991f..e4b538a7cd0 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_Structured_Time_Series_Year.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Structured_Time_Series_Year.png
index f95d8adaeb7..f6617b68638 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_Timeseries_X_Scale.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Timeseries_X_Scale.png
index d8a0aa762c4..67fb6ee33a0 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 d8a0aa762c4..67fb6ee33a0 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 893182046bd..34e13055be9 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 eae5b842f96..a6f8fb8d401 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_Timeseries.png b/.loki/reference/chrome_laptop_Viz_Static_Viz_WaterfallChart_Unaggregated_Timeseries.png
index e5d667165eb..b64a72908ba 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 70ab83cd4a5..8fbc2ecdeec 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 d93b8e5ea94..62847d58797 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 e883511808c..0c15d671b06 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 a23a808e02c..9011296b234 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 09e9680a35c..a6488fa8746 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/bun.lock b/bun.lock
index 8176028e0ef..9e47261a13a 100644
--- a/bun.lock
+++ b/bun.lock
@@ -96,7 +96,7 @@
"detect-package-manager": "^3.0.2",
"diff": "^5.2.2",
"dompurify": "^3.4.11",
- "echarts": "6.0.0",
+ "echarts": "6.1.0",
"events": "^3.3.0",
"fast-text-encoding": "^1.0.6",
"formik": "^2.4.5",
@@ -2924,7 +2924,7 @@
"ecdsa-sig-formatter": ["[email protected]", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ=="],
- "echarts": ["[email protected]", "", { "dependencies": { "tslib": "2.3.0", "zrender": "6.0.0" } }, "sha512-Tte/grDQRiETQP4xz3iZWSvoHrkCQtwqd6hs+mifXcjrCuo2iKWbajFObuLJVBlDIJlOzgQPd1hsaKt/3+OMkQ=="],
+ "echarts": ["[email protected]", "", { "dependencies": { "tslib": "2.3.0", "zrender": "6.1.0" } }, "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA=="],
"ee-first": ["[email protected]", "", {}, "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="],
@@ -6220,6 +6220,8 @@
"echarts/tslib": ["[email protected]", "", {}, "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="],
+ "echarts/zrender": ["[email protected]", "", { "dependencies": { "tslib": "2.3.0" } }, "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ=="],
+
"elliptic/bn.js": ["[email protected]", "", {}, "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="],
"endent/dedent": ["[email protected]", "", {}, "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw="],
diff --git a/frontend/src/metabase/visualizations/echarts/cartesian/option/ticks.ts b/frontend/src/metabase/visualizations/echarts/cartesian/option/ticks.ts
index 24ff51dfa4b..4cd49b0a978 100644
--- a/frontend/src/metabase/visualizations/echarts/cartesian/option/ticks.ts
+++ b/frontend/src/metabase/visualizations/echarts/cartesian/option/ticks.ts
@@ -119,6 +119,15 @@ export const getTicksOptions = (
});
}
+ // HACK: ECharts 6.1.0 emits intermediate (mid-year) ticks within the padded
+ // single-point year domain. Unlike week/month/quarter, the year path had no
+ // boundary guard, so two ticks in the same year both format as that year and
+ // duplicate the label (metabase#63671). Filter to start-of-year ticks only.
+ if (largestInterval.unit === "year") {
+ canRender = (date: Dayjs) =>
+ isWithinRange(date) && date.month() === 0 && date.date() === 1;
+ }
+
if (!maxInterval) {
minInterval = getTimeSeriesIntervalDuration(largestInterval);
}
diff --git a/package.json b/package.json
index 5572d542ad8..044fd3b15b3 100644
--- a/package.json
+++ b/package.json
@@ -105,7 +105,7 @@
"detect-package-manager": "^3.0.2",
"diff": "^5.2.2",
"dompurify": "^3.4.11",
- "echarts": "6.0.0",
+ "echarts": "6.1.0",
"events": "^3.3.0",
"fast-text-encoding": "^1.0.6",
"formik": "^2.4.5",
diff --git a/patches/echarts+6.0.0.patch b/patches/echarts+6.0.0.patch
deleted file mode 100644
index adf53cdb7ee..00000000000
--- a/patches/echarts+6.0.0.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-diff --git a/node_modules/echarts/lib/chart/line/LineView.js b/node_modules/echarts/lib/chart/line/LineView.js
-index 79ac429..4075c93 100644
---- a/node_modules/echarts/lib/chart/line/LineView.js
-+++ b/node_modules/echarts/lib/chart/line/LineView.js
-@@ -156,6 +156,9 @@ function turnPointsIntoStep(points, basePoints, coordSys, stepTurnAt, connectNul
- pt[0] = points[i];
- pt[1] = points[i + 1];
- stepPoints.push(pt[0], pt[1]);
-+ if (isNaN(nextPt[1 - baseIndex])) {
-+ continue;
-+ }
- switch (stepTurnAt) {
- case 'end':
- stepPt[baseIndex] = nextPt[baseIndex];
-diff --git a/node_modules/echarts/lib/chart/line/helper.js b/node_modules/echarts/lib/chart/line/helper.js
-index b9cef72..4729614 100644
---- a/node_modules/echarts/lib/chart/line/helper.js
-+++ b/node_modules/echarts/lib/chart/line/helper.js
-@@ -107,16 +107,20 @@ function getValueStart(valueAxis, valueOrigin) {
- return valueStart;
- }
- export function getStackedOnPoint(dataCoordInfo, coordSys, data, idx) {
-- var value = NaN;
-+ let stackedOverValue = NaN;
-+ let stackResultValue = NaN;
- if (dataCoordInfo.stacked) {
-- value = data.get(data.getCalculationInfo('stackedOverDimension'), idx);
-+ stackedOverValue = data.get(data.getCalculationInfo('stackedOverDimension'), idx);
-+ stackResultValue = data.get(data.getCalculationInfo('stackResultDimension'), idx);
-+ } else {
-+ stackResultValue = data.get(dataCoordInfo.valueDim, idx);
- }
-- if (isNaN(value)) {
-- value = dataCoordInfo.valueStart;
-+ if (isNaN(stackedOverValue) && !isNaN(stackResultValue)) {
-+ stackedOverValue = dataCoordInfo.valueStart;
- }
- var baseDataOffset = dataCoordInfo.baseDataOffset;
- var stackedData = [];
- stackedData[baseDataOffset] = data.get(dataCoordInfo.baseDim, idx);
-- stackedData[1 - baseDataOffset] = value;
-+ stackedData[1 - baseDataOffset] = stackedOverValue;
- return coordSys.dataToPoint(stackedData);
- }
-diff --git a/node_modules/echarts/lib/data/helper/dataStackHelper.js b/node_modules/echarts/lib/data/helper/dataStackHelper.js
-index c25de1b..454a3d3 100644
---- a/node_modules/echarts/lib/data/helper/dataStackHelper.js
-+++ b/node_modules/echarts/lib/data/helper/dataStackHelper.js
-@@ -83,6 +83,12 @@ export function enableDataStack(seriesModel, dimensionsInput, opt) {
- var stackedDimInfo;
- var stackResultDimension;
- var stackedOverDimension;
-+ var yCoordDimension = dimensionDefineList.find(
-+ dimensionInfo => !isString(dimensionInfo) && dimensionInfo.coordDim === 'y'
-+ );
-+ var isYCoordDimensionStackable = yCoordDimension != null
-+ && yCoordDimension.type !== 'ordinal' && yCoordDimension.type !== 'time';
-+
- each(dimensionDefineList, function (dimensionInfo, index) {
- if (isString(dimensionInfo)) {
- dimensionDefineList[index] = dimensionInfo = {
-@@ -95,7 +101,10 @@ export function enableDataStack(seriesModel, dimensionsInput, opt) {
- stackedByDimInfo = dimensionInfo;
- }
- // Find the first stackable dimension as the stackedDimInfo.
-- if (!stackedDimInfo && dimensionInfo.type !== 'ordinal' && dimensionInfo.type !== 'time' && (!stackedCoordDimension || stackedCoordDimension === dimensionInfo.coordDim)) {
-+ if (!stackedDimInfo && dimensionInfo.type !== 'ordinal'
-+ && dimensionInfo.type !== 'time'
-+ && (yCoordDimension == null || (dimensionInfo.coordDim !== 'x' && isYCoordDimensionStackable))
-+ && (!stackedCoordDimension || stackedCoordDimension === dimensionInfo.coordDim)) {
- stackedDimInfo = dimensionInfo;
- }
- }
-@@ -103,7 +112,11 @@ export function enableDataStack(seriesModel, dimensionsInput, opt) {
- if (stackedDimInfo && !byIndex && !stackedByDimInfo) {
- // Compatible with previous design, value axis (time axis) only stack by index.
- // It may make sense if the user provides elaborately constructed data.
-- byIndex = true;
-+ if (stackedDimInfo && !byIndex && !stackedByDimInfo) {
-+ // Compatible with previous design, value axis (time axis) only stack by index.
-+ // It may make sense if the user provides elaborately constructed data.
-+ byIndex = true;
-+ }
- }
- // Add stack dimension, they can be both calculated by coordinate system in `unionExtent`.
- // That put stack logic in List is for using conveniently in echarts extensions, but it
-diff --git a/node_modules/echarts/lib/label/labelLayoutHelper.js b/node_modules/echarts/lib/label/labelLayoutHelper.js
-index 8927284..3ba88fc 100644
---- a/node_modules/echarts/lib/label/labelLayoutHelper.js
-+++ b/node_modules/echarts/lib/label/labelLayoutHelper.js
-@@ -411,6 +411,12 @@ export function hideOverlap(labelList) {
- }
- var label = labelItem.label;
- var labelLine = labelItem.labelLine;
-+ if (label.style.text === "") {
-+ hideEl(label);
-+ labelLine && hideEl(labelLine);
-+ continue;
-+ }
-+
- // NOTICE: even when the with/height of globalRect of a label is 0, the label line should
- // still be displayed, since we should follow the concept of "truncation", meaning that
- // something exists even if it cannot be fully displayed. A visible label line is necessary
diff --git a/patches/echarts+6.1.0.patch b/patches/echarts+6.1.0.patch
new file mode 100644
index 00000000000..8c729c5b8ed
--- /dev/null
+++ b/patches/echarts+6.1.0.patch
@@ -0,0 +1,62 @@
+diff --git a/node_modules/echarts/lib/chart/line/LineView.js b/node_modules/echarts/lib/chart/line/LineView.js
+index 3a5abc1..d976453 100644
+--- a/node_modules/echarts/lib/chart/line/LineView.js
++++ b/node_modules/echarts/lib/chart/line/LineView.js
+@@ -152,6 +152,9 @@ function turnPointsIntoStep(points, basePoints, coordSys, stepTurnAt, connectNul
+ pt[0] = points[i];
+ pt[1] = points[i + 1];
+ stepPoints.push(pt[0], pt[1]);
++ if (isNaN(nextPt[1 - baseIndex])) {
++ continue;
++ }
+ switch (stepTurnAt) {
+ case 'end':
+ stepPt[baseIndex] = nextPt[baseIndex];
+diff --git a/node_modules/echarts/lib/chart/line/helper.js b/node_modules/echarts/lib/chart/line/helper.js
+index 298ce98..198716e 100644
+--- a/node_modules/echarts/lib/chart/line/helper.js
++++ b/node_modules/echarts/lib/chart/line/helper.js
+@@ -107,17 +107,21 @@ function getValueStart(valueAxis, valueOrigin) {
+ return valueStart;
+ }
+ export function getStackedOnPoint(dataCoordInfo, coordSys, data, idx) {
+- var value = NaN;
++ let stackedOverValue = NaN;
++ let stackResultValue = NaN;
+ if (dataCoordInfo.stacked) {
+- value = data.get(data.getCalculationInfo('stackedOverDimension'), idx);
++ stackedOverValue = data.get(data.getCalculationInfo('stackedOverDimension'), idx);
++ stackResultValue = data.get(data.getCalculationInfo('stackResultDimension'), idx);
++ } else {
++ stackResultValue = data.get(dataCoordInfo.valueDim, idx);
+ }
+- if (isNaN(value)) {
+- value = dataCoordInfo.valueStart;
++ if (isNaN(stackedOverValue) && !isNaN(stackResultValue)) {
++ stackedOverValue = dataCoordInfo.valueStart;
+ }
+ var baseDataOffset = dataCoordInfo.baseDataOffset;
+ var stackedData = [];
+ stackedData[baseDataOffset] = data.get(dataCoordInfo.baseDim, idx);
+- stackedData[1 - baseDataOffset] = value;
++ stackedData[1 - baseDataOffset] = stackedOverValue;
+ return coordSys.dataToPoint(stackedData);
+ }
+ export function isPointIllegal(xOrY, yOrX) {
+diff --git a/node_modules/echarts/lib/label/labelLayoutHelper.js b/node_modules/echarts/lib/label/labelLayoutHelper.js
+index 1f2944e..112cc37 100644
+--- a/node_modules/echarts/lib/label/labelLayoutHelper.js
++++ b/node_modules/echarts/lib/label/labelLayoutHelper.js
+@@ -411,6 +411,12 @@ export function hideOverlap(labelList) {
+ }
+ var label = labelItem.label;
+ var labelLine = labelItem.labelLine;
++ if (label.style.text === "") {
++ hideEl(label);
++ labelLine && hideEl(labelLine);
++ continue;
++ }
++
+ // NOTICE: even when the with/height of globalRect of a label is 0, the label line should
+ // still be displayed, since we should follow the concept of "truncation", meaning that
+ // something exists even if it cannot be fully displayed. A visible label line is necessary
diff --git a/test/metabase/channel/render/body_test.clj b/test/metabase/channel/render/body_test.clj
index ef572d4b7ba..1ea6646d5e6 100644
--- a/test/metabase/channel/render/body_test.clj
+++ b/test/metabase/channel/render/body_test.clj
@@ -1225,7 +1225,7 @@
(let [doc (render.tu/render-card-as-hickory! card-id)
first-day-text (->> (hik.s/select (hik.s/tag :text) doc)
(map (fn [el] (-> el :content first)))
- (take-last 6)
+ (take-last 4)
(map str/trim)
first)]
(testing "Renders with correct day of week first"