You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zhangtao0828 (via GitHub)" <gi...@apache.org> on 2023/07/05 06:38:39 UTC

[GitHub] [echarts] zhangtao0828 opened a new issue, #18847: [Bug]

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

   ### Version
   
   5.0.2
   
   ### Link to Minimal Reproduction
   
   let base = +new Date(1968, 9, 3); let oneDay = 24 * 3600 * 1000; let date = []; let data = [Math.random() * 300]; for (let i = 1; i < 20; i++) {   var now = new Date((base += oneDay));   date.push([now.getFullYear(), now.getMonth() + 1, now.getDate()].join('/'));   data.push(Math.round((Math.random() - 0.5) * 20 + data[i - 1])); } option = {   tooltip: {     trigger: 'axis',     position: function (pt) {       return [pt[0], '10%'];     }   },   title: {     left: 'center',     text: 'Large Area Chart'   },   toolbox: {     feature: {       dataZoom: {         yAxisIndex: 'none'       },       restore: {},       saveAsImage: {}     }   },   xAxis: {     type: 'category',     boundaryGap: false,     data: date,     axisLabel:{       interval:0     },     splitArea: {       show: true,       areaStyle: {         color: ['red', 'red','red', 'red','','','','','','','','','','','','','','','','']       }     }   },   yAxis: {     type: 'value',     boundaryGap: [0, '100%']   },   dataZ
 oom: [     {       type: 'inside',       start: 0,       end: 100,      },     {       start: 0,       end: 100,      }   ],   series: [     {       name: 'Fake Data',       type: 'line',       symbol: 'none',       sampling: 'lttb',       itemStyle: {         color: 'rgb(255, 70, 131)'       },       areaStyle: {         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [           {             offset: 0,             color: 'rgb(255, 158, 68)'           },           {             offset: 1,             color: 'rgb(255, 70, 131)'           }         ])       },       data: data     }   ] };
   
   ### Steps to Reproduce
   
   [](url)
   ![20230705-135614](https://github.com/apache/echarts/assets/65215825/a7e79e01-e6aa-4e97-b496-b3bf54a6fc39)
   
   
   ### Current Behavior
   
   The splitArea background color position changed after dragging
   ![20230705-135614](https://github.com/apache/echarts/assets/65215825/a266f0f6-6a10-4e41-9c56-bb484e54535c)
   
   
   ### Expected Behavior
   
   Fix this bug
   
   ### Environment
   
   ```markdown
   Browser: Chrome 96.0.4664.55
   Framework Vue@2
   ```
   
   
   ### 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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] closed issue #18847: [Bug]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #18847: [Bug] 
URL: https://github.com/apache/echarts/issues/18847


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #18847: [Bug]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18847:
URL: https://github.com/apache/echarts/issues/18847#issuecomment-1621119633

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org