This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch next-test
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit c6787614d1066e6ae905e5c7bfdf28952220e5db
Author: Ovilia <[email protected]>
AuthorDate: Mon Jun 23 19:03:35 2025 +0800

    fix(calendar): revert calendar.z to be 2
---
 src/coord/calendar/CalendarModel.ts | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/coord/calendar/CalendarModel.ts 
b/src/coord/calendar/CalendarModel.ts
index 82a838191..c1c43a1a3 100644
--- a/src/coord/calendar/CalendarModel.ts
+++ b/src/coord/calendar/CalendarModel.ts
@@ -189,9 +189,12 @@ class CalendarModel extends ComponentModel<CalendarOption> 
implements Coordinate
 
     static defaultOption: CalendarOption = {
         // zlevel: 0,
-        // As a most basic coord sys, `z` should be lower than
-        // other series and coord sys, such as, grid.
-        z: -50,
+        // TODO: theoretically, the z of the calendar should be lower
+        // than series, but we don't want the series to be displayed
+        // on top of the borders like month split line. To align with
+        // the effect of previous versions, we set the z to 2 for now
+        // until better solution is found.
+        z: 2,
         left: 80,
         top: 60,
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to