RAAvenger opened a new issue, #19757:
URL: https://github.com/apache/echarts/issues/19757

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=calendar-lunar&lang=js
   
   ### Steps to Reproduce
   
   1 - use given option
   
   ```js
   option = {
     "visualMap": {
         "show": false,
         "min": 0,
         "max": 10000
     },
     "calendar": {
         "range": [
             "2001-03-22",
             "2001-04-21"
         ],
         "left": "center",
         "top": "middle",
         "orient": "vertical",
         "cellSize": [
             90,
             90
         ],
         "dayLabel": {
             "show": true,
             "firstDay": 6,
         },
         "monthLabel": {
             "show": false
         },
         "yearLabel": {
             "show": false
         },
         "splitLine": {
             "show": false
         }
     },
     "grid": {
         "containLabel": true
     },
     "legend": {
         "top": "bottom",
         "padding": 20
     },
     "series": [
       {
       type: 'scatter',
       coordinateSystem: 'calendar',
       symbolSize: 0,
       label: {
         show: true,
         formatter: function (params) {
           return params.value[0];
         },
         color: '#000'
       },
       data: [
                 [
                     "2001-03-22"
                 ],
                 [
                     "2001-03-23"
                 ],
                 [
                     "2001-03-24"
                 ],
                 [
                     "2001-03-25"
                 ],
                 [
                     "2001-03-26"
                 ],
                 [
                     "2001-03-27"
                 ],
                 [
                     "2001-03-28"
                 ],
                 [
                     "2001-03-29"
                 ],
                 [
                     "2001-03-30"
                 ],
                 [
                     "2001-03-31"
                 ],
                 [
                     "2001-04-01"
                 ],
                 [
                     "2001-04-02"
                 ],
                 [
                     "2001-04-03"
                 ],
                 [
                     "2001-04-04"
                 ],
                 [
                     "2001-04-05"
                 ],
                 [
                     "2001-04-06"
                 ],
                 [
                     "2001-04-07"
                 ],
                 [
                     "2001-04-08"
                 ],
                 [
                     "2001-04-09"
                 ],
                 [
                     "2001-04-10"
                 ],
                 [
                     "2001-04-11"
                 ],
                 [
                     "2001-04-12"
                 ],
                 [
                     "2001-04-13"
                 ],
                 [
                     "2001-04-14"
                 ],
                 [
                     "2001-04-15"
                 ],
                 [
                     "2001-04-16"
                 ],
                 [
                     "2001-04-17"
                 ],
                 [
                     "2001-04-18"
                 ],
                 [
                     "2001-04-19"
                 ],
                 [
                     "2001-04-20"
                 ],
                                 [
                     "2001-04-21"
                 ]
             ],
       silent: true
     },
         {
             "type": "scatter",
             "coordinateSystem": "calendar",
             "symbolSize": 0,
             "silent": true,
             "data": [
                 [
                     "2001-03-22"
                 ],
                 [
                     "2001-03-23"
                 ],
                 [
                     "2001-03-24"
                 ],
                 [
                     "2001-03-25"
                 ],
                 [
                     "2001-03-26"
                 ],
                 [
                     "2001-03-27"
                 ],
                 [
                     "2001-03-28"
                 ],
                 [
                     "2001-03-29"
                 ],
                 [
                     "2001-03-30"
                 ],
                 [
                     "2001-03-31"
                 ],
                 [
                     "2001-04-01"
                 ],
                 [
                     "2001-04-02"
                 ],
                 [
                     "2001-04-03"
                 ],
                 [
                     "2001-04-04"
                 ],
                 [
                     "2001-04-05"
                 ],
                 [
                     "2001-04-06"
                 ],
                 [
                     "2001-04-07"
                 ],
                 [
                     "2001-04-08"
                 ],
                 [
                     "2001-04-09"
                 ],
                 [
                     "2001-04-10"
                 ],
                 [
                     "2001-04-11"
                 ],
                 [
                     "2001-04-12"
                 ],
                 [
                     "2001-04-13"
                 ],
                 [
                     "2001-04-14"
                 ],
                 [
                     "2001-04-15"
                 ],
                 [
                     "2001-04-16"
                 ],
                 [
                     "2001-04-17"
                 ],
                 [
                     "2001-04-18"
                 ],
                 [
                     "2001-04-19"
                 ],
                 [
                     "2001-04-20"
                 ],
                   [
                     "2001-04-21"
                 ]
             ],
             "label": {
                 "show": true,
                 "color": "#000"
             }
         }
     ],
     "textStyle": {
         "fontFamily": "IRANSansX",
         "fontSize": 14
     },
     "tooltip": {
         "trigger": "item"
     },
     "xAxis": {
         "show": false
     },
     "yAxis": {
         "show": false
     }
   };
   ```
   
   ### Current Behavior
   
   you will see last date is out side of a square
   ![Opera Snapshot_2024-03-25_150947_echarts apache 
org](https://github.com/apache/echarts/assets/45473607/7eb7156e-94cd-40c4-accd-c3c1ea0146a1)
   
   
   
   ### Expected Behavior
   
   draw a square around last date
   <img width="394" alt="Opera Snapshot_2024-03-25_150947_echarts apache org - 
Copy" 
src="https://github.com/apache/echarts/assets/45473607/f9d448c7-56e9-458e-bb5e-623473a6cad2";>
   
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to